By default, CentOS 6 (and other RHEL clones) only provides transmission 2.13. There’s alternative repository from transmission official site but it isn’t really all that “latest” either (and I don’t fancy adding random repositories).
First, compile libevent2:
- install gcc and make
- download and extract the source
./configure --prefix=/opt/libevent2 && make && make install
And then compile transmission (hopefully you don’t need the gtk interface):
- install gcc-c++
- configure with
PKG_CONFIG_PATH=/opt/libevent2/lib/pkgconfig ./configure --prefix=/opt/transmission --disable-nls --enable-daemon
- finally,
make && make install
- if there’re missing dependencies, just install them (they’re all in repository apart of libevent2)
Don’t forget to add path to transmission in bash default profile (in /etc/profile.d/custom.sh):
PATH="/opt/transmission/bin:${PATH}"
And done! Enjoy the latest transmission.
Thank you! Quite useful, since I was stuck on the whole libevent part…
Clean instruction … Thanks. Helped me get transmission working on CentOS 6.4.