安装rtorrent linux命令行bt下载软件

just posted @ 2008年12月20日 20:22 in linux , 3042 阅读

linux命令行下的bt下载软件
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: <--注释这个

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

執行:# rtorrent <-執行rtorrent
如果要丟在背景執行則可以使用screen
# screen
# rtorrent
如果要返回前景時,在rtorrent畫面裡按下 ctrl+a 之後 ctrl+d,
則跳回前景, 之後回到rtorrent畫面則輸入
# screen -r
參數設定:
安裝完成後我們需要作一些配置工作,配置文件是安裝用戶家目錄下的.rtorrent.rc。
這個文件默認是沒有的,請到這頁面,將示例的配置文件內容拷貝粘貼到.rtorrent.rc中,
然後我們來編輯它。
將前面的#刪除則是取消註解。
# cp rtorrent.rc ~/.rtorrent.rc
# vi ~/.rtorrent.rc
最大和最小的種子連接數
# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
#max_peers = 100

最大上傳數
# Maximum number of simultanious uploads per torrent.
#max_uploads = 15
上傳和下載速度限制 0:無限制
# Global upload and download rate in KiB. "0" for unlimited.
#download_rate = 0
#upload_rate = 0
下載檔案存放目錄
# Default directory to save the downloaded torrents.
#directory = ./
下載快取目錄
#session = ./session
torrent 檔存放目錄
#schedule = watch_directory,5,5,load_start=./watch/*.torrent

機port 範圍
#port_range = 6890-6999

下載檔案名使用 UTF-8 編碼
encoding_list = UTF-8

常用熱鍵:
1. 方向鍵 : ↑,↓,←,→
2. Torrent 開始下載 : Ctrl + S (Screen下用法為: Ctrl+ a + s)
3. Torrent 暫停下載 : Ctrl + D
4. Torrent 停止下載 : Ctrl + K
5. 清除Torrent下載列表 : [法1] 在停止狀態使用Ctrl + D, [法2] 在下載完成連續執行 Ctrl+D 二次6. 限定最大上傳速度 : [增加]a / s / d [減少] z / x /c
7. check file hash : Ctrl + R
8. 離開rtorrent程式 : Ctrl+ q (Screen下用法為 : Ctrl+ a + q)

  • 无匹配
  • 无匹配

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter