安装rTorrent

也可以这里下载稳定版本:https://github.com/rakshasa/rtorrent/wiki#users-manual

首先安装rTorrent的依赖:libtorrent

  1. sudo apt-get build-dep python-libtorrent
    1. 如果出现 E: You must put some 'source' URIs in your sources.list
    2. 打开ubuntu的Software & Updates界面,勾选第一个选项卡中的Source code选项。
    3. 点击Close按钮后,会开始更新远。结束后就可以正常使用了
    4. 这一步是为了安装编译libtorrent的众多依赖库
  2. 下载最新libtorrent源码:https://github.com/rakshasa/libtorrent/tree/master
    1. 一定要在这里下载,如果出现其他各种奇怪的问题就是因为下载的版本不对
  3. 解压下载的压缩包后,进入文件夹
    1. ./autogen.sh
    2. ./configure
    3. make
    4. sudo make install

安装rTorrent

  1. sudo apt-get install libncursesw5-dev
  2. 下载源码:https://github.com/rakshasa/rtorrent
  3. export LD_LIBRARY_PATH=/usr/local/lib/
  4. export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
  5. ./autogen.sh
  6. ./configure
  7. make
  8. sudo make install

验证安装是否成功

  1. export LD_LIBRARY_PATH=/usr/local/lib/
  2. rtorrent

猜你喜欢

转载自blog.csdn.net/ziliwangmoe/article/details/87178854
今日推荐