In February Transmission 2.50 was released. This mini-guide demonstrates how to build this version from source under for the latest Ubuntu release: Oneiric Ocelot. I will update this guide periodically for newer versions of both Transmission and Ubuntu .
Remove the repository version...
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). The following is a single command:
Code:
sudo apt-get remove transmission transmission-daemon \
transmission-common transmission-gtk transmission-cli transmission-qt
Dependencies and compilers...
Next download some compiling tools and dependencies with the following single command:
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 libappindicator-dev
The newest Transmission requires an external copy of libevent so we will download and compile this, then install it locally. The following is a single command:
Code:
mkdir -v $HOME/transmission_build && cd $HOME/transmission_build && \
wget https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz && \
tar xvf libevent-2.0.17-stable.tar.gz && \
cd libevent-2.0.17-stable && \
./configure --prefix=$HOME/transmission_build/libevent && \
make && make install
Download and compile Transmission...
Next download the Transmission source code, open the tarball and compile and install it with the following single command:
Code:
cd $HOME/transmission_build && \
wget http://download.transmissionbt.com/files/transmission-2.50.tar.bz2 && \
tar xjvf transmission-2.50.tar.bz2 && cd transmission-2.50 && \
export PKG_CONFIG_PATH="$HOME/transmission_build/libevent/lib/pkgconfig" && \
./configure && make && \
sudo checkinstall --pakdir "$HOME/transmission_build" --backup=no --deldoc=yes \
--fstrans=no --deldesc=yes --delspec=yes --default --pkgversion "2.50" && \
make clean
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 18 2012: Updated for Transmission 2.50 and libevent 2.0.17
- Oct 24 2011: Updated for Transmission 2.42
- Oct 09 2011: Updated for Transmission 2.41
- Sep 30 2011: Updated for Oneiric Ocelot, Transmission 2.33 and libevent 2.0.14
- Jul 16 2011: Updated for Transmission 2.32
Bookmarks