Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Build Transmission bittorrent client from src.rpm
spoovy
 Posted: Apr 10 2011, 08:53 PM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 281
Member No.: 5
Joined: 8-April 11









As there is no bittorrent client readily available in the SL6 repos I built Transmission from a Fedora 12 src.rpm. Brief instructions below on how to do the same. (Note that helikaon has posted a similar guide for ktorrent elsewhere on the forum).


1. Install gcc, gcc-c++, make, bison, binutils, rpm-build, & mock (available from atrpms I think).

2. Make sure you are non-root user. Add this user to the 'mock' group.

3. Download transmission.src.rpm to ~/Downloads (for this example, but could be anywhere) from http://archive.fedoraproject.org/pub/archi...dates/12/SRPMS/

4. Issue following commands:

CODE
mkdir -p ~/rpmbuild/{BUILD,RPMS,S{OURCE,PEC,RPM}S}
mkdir ~/rpmbuild/RPMS/{i386,i586,i686}


5. Create a new file called ~/.rpmmacros containing the following text:

CODE
%_topdir %(echo $HOME)/rpmbuild
%debug_package %{nil}


6. Issue:
CODE
rpmbuild --rebuild ~/Downloads/transmission.src.rpm


If you don't have the correct software building tools installed or you are missing dependencies you'll be prompted to install the missing items here.

7. Look in ~/rpmbuild/RPMS/ for the newly-built transmission.rpms. They will probably be in ~/rpmbuild/RPMS/i386/.

8. Install them in the proper order using either
CODE
"sudo yum localinstall ~/rpmbuild/RPMS/i386/xxx.rpm" or
  "sudo rpm -Uvh ~/rpmbuild/RPMS/i386/xxx.rpm".



Hopefully that should be it!

This post has been edited by spoovy: Apr 10 2011, 09:05 PM


--------------------
PMIntegrity Messenger IM
^
joutlan
 Posted: Apr 11 2011, 06:34 PM
Quote Post


SLF Founder
********

Group: Admins
Posts: 1185
Member No.: 1
Joined: 8-April 11









Thanks spoovy....I was using a build from rpmforge, but I like yours better!


--------------------
DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games)
Nexus 4 //Android
PMEmail PosterUsers WebsiteIntegrity Messenger IM
^
spoovy
 Posted: Apr 11 2011, 07:15 PM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 281
Member No.: 5
Joined: 8-April 11









I don't think there was one available from rpmforge when I originally built this. Either that or I missed it somehow. Probably the latter. rolleyes.gif


--------------------
PMIntegrity Messenger IM
^
joutlan
 Posted: Apr 11 2011, 07:33 PM
Quote Post


SLF Founder
********

Group: Admins
Posts: 1185
Member No.: 1
Joined: 8-April 11









QUOTE (spoovy @ Apr 11 2011, 03:15 PM)
I don't think there was one available from rpmforge when I originally built this.  Either that or I missed it somehow.  Probably the latter.  rolleyes.gif


I'm using a fc12 build. It's not rpmforge designated. You are right Spoovy. I'm going to remove it and rebuild a copy.


--------------------
DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games)
Nexus 4 //Android
PMEmail PosterUsers WebsiteIntegrity Messenger IM
^
danmaran
 Posted: Jun 7 2011, 03:00 PM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 253
Joined: 7-June 11









Thanks for this thread, just to finish it off below will install all the packages in the correct order.

CODE
sudo yum localinstall ~/rpmbuild/RPMS/x86_64/transmission* --nogpgcheck


Change the x86_64 to your environment though.

/Dan
PM
^
joutlan
 Posted: Jun 7 2011, 04:54 PM
Quote Post


SLF Founder
********

Group: Admins
Posts: 1185
Member No.: 1
Joined: 8-April 11









QUOTE (danmaran @ Jun 7 2011, 11:00 AM)
Thanks for this thread, just to finish it off below will install all the packages in the correct order.

CODE
sudo yum localinstall ~/rpmbuild/RPMS/x86_64/transmission* --nogpgcheck


Change the x86_64 to your environment though.

/Dan


Thanks for tidying up! Welcome to SLF Danmaran! http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif


--------------------
DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games)
Nexus 4 //Android
PMEmail PosterUsers WebsiteIntegrity Messenger IM
^
redman
 Posted: Jun 7 2011, 08:16 PM
Quote Post


SLF Admin
********

Group: Admins
Posts: 2012
Member No.: 2
Joined: 8-April 11









Good work, thanks!


--------------------
What is SL? - Forum Rules - Info on 3rd Party Repos - How to post images - How to post large text / config files

Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.5 x86_64
Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL7.0 x86_64
Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, SL7 BETA x86_64 + MATE
PMEmail PosterUsers Website
^
lemonzest
 Posted: Jun 7 2011, 09:51 PM
Quote Post


SLF Member
***

Group: Members
Posts: 144
Member No.: 109
Joined: 29-April 11









I used to be a heavy Transmission user when I was still back on Mandriva 2010.2, But since moving to SL I've been using rTorrent, its a cli client so i can SSH to it when ever, and it seems to download and seed a hell of a lot faster.


--------------------
Desktop: Phenom II X6 1090T Hex-Core (Socket AM3), 16GB RAM, MSI 870-C45, 5x 1TB HDD, Radeon HD 6770 1GB, Mageia 2 x86_64

Test Box:Intel Pentium E2180 (Socket 775), 4GB DDR3, ASRock G41-VS3 2.0, 4x 1TB, 2x 500GB, Onboard GFX, Mageia 2 x86_64

Connection: Virgin Media XL 60Mb/s Down, 3Mb/s Up
PM
^
spoovy
 Posted: Jun 26 2011, 08:10 AM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 281
Member No.: 5
Joined: 8-April 11









I just built a new kernel from SRPM and used AndrewSerk's howto in preference to this one. This is a link to AndrewSerk's howto - http://scientificlinuxforum.org/index.php?showtopic=128

It's a much more up to date and idiotproof method, and i'd recommend it over the method I set out in this thread.

This post has been edited by spoovy: Jul 3 2011, 04:33 PM


--------------------
PMIntegrity Messenger IM
^
ealeksejev
 Posted: Oct 3 2011, 11:26 AM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 898
Joined: 3-October 11









QUOTE (spoovy @ Apr 10 2011, 10:53 PM)
As there is no bittorrent client readily available in the SL6 repos I built Transmission from a Fedora 12 src.rpm.
PMEmail Poster
^
helikaon
 Posted: Oct 5 2011, 11:44 AM
Quote Post


SLF Moderator
******

Group: Moderators
Posts: 559
Member No.: 4
Joined: 8-April 11









Hi spoovy, thanks for this again.
Just an update and FYI...
Yes, i posted guide how to build ktorrent from source, because when 6.0 came out, it wasn't handy.
Now as time passes, we have more options - e.g. like:

CODE

[root@orionis ~]# yum --enablerepo=elrepo,rpmforge,rpmfusion,epel list all | grep torrent
ctorrent.x86_64                         1.3.4-14.dnh3.3.2.el6       epel
kde-plasma-ktorrent.x86_64              3.3.4-1.el6                 epel
ktorrent.x86_64                         3.3.4-1.el6                 epel
ktorrent-devel.i686                     3.3.4-1.el6                 epel
ktorrent-devel.x86_64                   3.3.4-1.el6                 epel
ktorrent-libs.i686                      3.3.4-1.el6                 epel
ktorrent-libs.x86_64                    3.3.4-1.el6                 epel
libtorrent.i686                         0.12.6-2.el6                epel
libtorrent.x86_64                       0.12.9-1.el6.rf             rpmforge
libtorrent-devel.i686                   0.12.6-2.el6                epel
libtorrent-devel.x86_64                 0.12.9-1.el6.rf             rpmforge
mktorrent.x86_64                        1.0-4.el6                   epel
rtorrent.x86_64                         0.8.9-1.el6.rf              rpmforge
[root@orionis ~]#


so epel and rpmforge ppl have already packaged some usefull stuff for us smile.gif

cheers,

This post has been edited by helikaon: Oct 5 2011, 12:01 PM


--------------------
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll