First, you should check out the previous tutorial because this one is very concise. You just need to get an idea.
Anyway, after you download the packages, just extract and compile with:
./autogen.sh ./configure make make install
If you get package missing errors. Just install:
yum install cppunit cppunit-devel openssl openssl-devel libsigc++20 libsigc++20-devel ncurses-devel
No need to add EPEL repos because all of the packages we need to compile rtorrent is already in the base repos.
When compiling rTorrent, you'll get an error. It will fail to locate libtorrent, so, just create this environment variable before compiling:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
We now need to copy the configuration file to your home directory. I suggest that you create a user just for rtorrent then change the settings as I mentioned in my other tutorial.
adduser rtorrent passwd rtorrent cp doc/rtorrent.rc /home/rtorrent/ cd /home/rtorrent chown -R rtorrent:rtorrent rtorrent.rc su -l rtorrent vi rtorrent.rc mv rtorrent.rc .rtorrent.rc
You should now be able to use rTorrent. Let me know if this didn't work our for you!
No comments:
Post a Comment