Daily Archives: 2011年02月22日

linux命令行下的bt下载软件 rtorrent

1 准备:
1.curl http://curl.haxx.se/ rtorrent 依赖这个
2.sigc++-2.0 http://libsigc.sourceforge.net/ libtorrent 依赖这个
3.libtorrent http://libtorrent.rakshasa.no/ 这个是rtorrent到库
4.rtorrent http://libtorrent.rakshasa.no/ 这个是我们要装的

安裝:
a.安裝 curl
# tar -zxvf curlxxxxxxx
# cd /curlxxx
# ./configure –prefix=/usr
# make
# make install
b.安裝sigc++-2.0
# tar -zxvf libsigc++20-xxx
# cd libsigc++-2.0.17
# ./configure –prefix=/usr
# make
# make install

c.安裝libtorrent 和rtorrent可参考官方网站帮助
libtorrent :
./autogen.sh.
/configure –prefix=/usr
make
make install

rtorrent:
./autogen.sh
./configure –prefix=/usr
make
make install
注意 在安裝 utorrent ./configure时,可能出现URL错误
解决方法:
# cd /usr/lib/pkgconfig
# vi /libcurl.pc
# #URL: <–注释这个

好 装好了
===================================

Continue reading