« Uninstalling a source installed PHP environment Checking if an option exists in an MySQL enum column »

Installing transmission-daemon from source in debian Squeeze.

2012
15
March

I had problems with transmission-daemon not downloading properly, especially when fed magnet links.
Since the version installed through apt was an older version (2.03?) I decided to install from source.
It's not at all difficult but I did run in to a small snag so I thought I'd write about it here.

Transmission 2.50 requires libevent 2.10, my system had a much older version so I downloaded the latest source release from github and then installed it into /usr/local/lib (default location). I later realized that Transmission expected it to be in /usr/lib so I symlinked it in. You can specify the path during configure or install.


# apt-get install build-essential automake autoconf libtool pkg-config intltool libcurl4-openssl-dev libglib2.0-dev
# wget https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz
# tar -zxf libevent-2.0.17-stable.tar.gz
# cd libevent-2.0.17-stable/
# ./configure
# make
# make install
# ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5

We then compile transmission and install it in to /usr/bin.


# wget http://download.transmissionbt.com/files/transmission-2.50.tar.bz2
# bzip2 -d transmission-2.50.tar.bz2
# tar -xf transmission-2.50.tar
# cd transmission-2.50
# ./configure --disable-gtk --disable-cli --disable-mac
# make
# cd daemon
# cp transmission-daemon /usr/bin/transmission-daemon
# cp transmission-remote /usr/bin/transmission-remote

Done :)


5 Responses to Installing transmission-daemon from source in debian Squeeze.

Feed for this Entry

5 Comments

  • Oh my goodness! Awesome article dude! Thanks, However I am encountering difficulties with your RSS. I don’t understand why I am unable to join it. Is there anybody else having the same RSS problems? Anyone who knows the answer will you kindly respond? Thanx!!

    #308 | Comment by Elma on Apr 14, 2012 03:41pm
  • Its Works. Tranks transmission 2.51

    #315 | Comment by Marcos on Apr 17, 2012 03:12am
  • You can also use the libevent2.0-5 and libevent-dev packages from squeeze-backports. Personally I find that easier and generally preferable.

    Transmission's configure script no longer accepts some of the arguments listed on the wiki. Basically, the auto-detection logic built into the script makes many of them unnecessary. For example, if you don't have GTK+, it will not install the GTK client. If you don't have Mac, it will not install the Mac client, etc.

    Thanks for posting blog entries like this, by the way. Some of your other posts have really saved me time. Keep up the good information work!

  • Pardon me, I made a small typo. The package's name is actually libevent-2.0-5.

  • make: *** No targets specified and no makefile found. Stop.

    I get this. :( Any ideas?

    #320 | Comment by Myaz on Apr 22, 2012 01:54am

About You

Email address is not published

Add to the Discussion