Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: Howto: Build the BitTorrent client Transmission under Karmic Koala

  1. #1
    Join Date
    Dec 2006
    Beans
    6,979

    Howto: Build the BitTorrent client Transmission under Karmic Koala

    In February 2010 a great new version of Transmission was released. This mini-guide demonstrates how to build this version from source under Karmic Koala. First we need to remove the repository version, which has been split into a few different components (we will be building instead a single package that has the gtk frontend, the cli client, the remote utility and the daemon):

    Code:
    sudo apt-get remove transmission transmission-daemon \
    transmission-common transmission-gtk transmission-cli transmission-qt
    Don't worry if you don't actually have all of the above packages installed. Next download some compiling tools and dependencies:

    Code:
    sudo apt-get install build-essential automake autoconf checkinstall \
    libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev \
    libnotify-dev libglib2.0-dev libgconf2-dev libcanberra-gtk-dev
    Next download the source code, open the tarball and compile and install it:

    Code:
    $ cd $HOME
    $ wget http://mirrors.m0k.org/transmission/files/transmission-1.92.tar.bz2
    $ tar xjvf transmission-1.92.tar.bz2
    $ cd transmission-1.92
    $ ./configure
    $ make
    $ sudo checkinstall --pakdir "$HOME/Desktop" --backup=no --deldoc=yes \
      --deldesc=yes --delspec=yes --default --pkgversion "1.92"
    $ make distclean
    And that is it! This gives you the newest version of a great BitTorrent program, perfect for downloading and sharing the latest versions of Ubuntu. Remember: Have Fun!!

    Recent Updates to this Guide:

    • Mar 24th 2010: Updated to Transmission 1.92
    • Feb 27th 2010: Updated to Transmission 1.91
    • Feb 20th 2010: Updated to Transmission 1.90
    • Jan 30th 2010: Updated to Transmission 1.83
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	transmission.png 
Views:	92 
Size:	190.0 KB 
ID:	148371  
    Last edited by andrew.46; March 24th, 2010 at 03:40 AM.
    You think that's air you're breathing now?

  2. #2
    Join Date
    Mar 2009
    Beans
    113

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Will this also work on the server version without GUI? And if so, what is different?

  3. #3
    Join Date
    Dec 2006
    Beans
    6,979

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Hi smeerbartje,

    Quote Originally Posted by smeerbartje View Post
    Will this also work on the server version without GUI? And if so, what is different?
    The command to start the cli version is transmissioncli and its options are well documented in its own man page or by running the following:

    Code:
    andrew@skamandros:~$ transmissioncli --help
    Transmission 1.83 (10040) - http://www.transmissionbt.com/
    A fast and easy BitTorrent client
    
    Usage: transmission-cli [options] <file|url|magnet>
    
    Options:
      -h  --help                            Display this help page and exit
      -a  --announce             <url>      Set the new torrent's announce URL
      -b  --blocklist                       Enable peer blocklists
      -B  --no-blocklist                    Disable peer blocklists
      -c  --comment              <comment>  Set the new torrent's comment
      -d  --downlimit            <speed>    Set max download speed in KB/s
      -D  --no-downlimit                    Don't limit the download speed
      -er --encryption-required             Encrypt all peer connections
      -ep --encryption-preferred            Prefer encrypted peer connections
      -et --encryption-tolerated            Prefer unencrypted peer connections
      -f  --finish               <script>   Run a script when the torrent finishes
      -g  --config-dir           <path>     Where to find configuration files
      -i  --info                            Show torrent details and exit
      -m  --portmap                         Enable portmapping via NAT-PMP or UPnP
      -M  --no-portmap                      Disable portmapping
      -n  --new                  <source>   Create a new torrent
      -p  --port                 <port>     Port for incoming peers (Default: 51413)
      -r  --private                         Set the new torrent's 'private' flag
      -s  --scrape                          Scrape the torrent and exit
      -t  --tos                  <tos>      Peer socket TOS (0 to 255, default=0)
      -u  --uplimit              <speed>    Set max upload speed in KB/s
      -U  --no-uplimit                      Don't limit the upload speed
      -v  --verify                          Verify the specified torrent
      -w  --download-dir         <path>     Where to save downloaded data
    Bear in mind the transmission-cli is not the command, the correct command is transmissioncli. I have submitted a patch to correct this.

    If you actually mean what is different in this version this can be seen in the changelogs.

    All the best,

    Andrew
    Last edited by andrew.46; January 29th, 2010 at 11:50 PM.
    You think that's air you're breathing now?

  4. #4
    Join Date
    Dec 2006
    Beans
    6,979

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Updated the guide to Transmission 1.83 which compiles cleanly. Changes in this version noted here.

    Andrew
    You think that's air you're breathing now?

  5. #5
    Join Date
    May 2009
    Location
    USA
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Followed your instructions and it worked like a charm. Thanks for posting clear instructions for a beginner like me.

  6. #6
    Join Date
    Dec 2006
    Beans
    6,979

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Hi Yingy,

    Quote Originally Posted by Yingy View Post
    Followed your instructions and it worked like a charm. Thanks for posting clear instructions for a beginner like me.
    Excellent news .

    Andrew
    You think that's air you're breathing now?

  7. #7
    Join Date
    Mar 2009
    Beans
    113

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Well, I'm almost there. I have compiled the latest version and modified the settings.json file. Now I start transmission as a daemon by typing: 'transmission-daemon' on the console. However, How do I stop the daemon? Not by typing /etc/init.d/transmission-daemon stop... (that's not available)

    EDIT 1
    An additional question: when I make some changes to the config-file, it get's overwritten the next time I restart the server, why is that?

    EDIT 2
    Problem solved. It seems that Transmission always saves the logfile on exit. Therefore I had to change the logfile before running Transmission. Cool, I'm happy now!
    Last edited by smeerbartje; January 30th, 2010 at 03:52 PM.

  8. #8
    Join Date
    Jul 2009
    Beans
    17
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Thanks! Works perfectly! ^_^

  9. #9
    Join Date
    Dec 2006
    Beans
    6,979

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Hi smeerbartje,

    Quote Originally Posted by smeerbartje View Post
    Now I start transmission as a daemon by typing: 'transmission-daemon' on the console. However, How do I stop the daemon? Not by typing /etc/init.d/transmission-daemon stop... (that's not available
    I have little experience with running the transmission daemon but I believe the information you are after is on this page:

    Scripts/init.d - Transmission
    http://trac.transmissionbt.com/wiki/Scripts/initd

    Hopefully this will help?

    Andrew
    You think that's air you're breathing now?

  10. #10
    Join Date
    Mar 2009
    Beans
    113

    Re: Howto: Build the BitTorrent client Transmission under Karmic Koala

    Quote Originally Posted by andrew.46 View Post
    Hi smeerbartje,



    I have little experience with running the transmission daemon but I believe the information you are after is on this page:

    Scripts/init.d - Transmission
    http://trac.transmissionbt.com/wiki/Scripts/initd

    Hopefully this will help?

    Andrew
    Thanks, exactly what I was looking for!

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •