BT下载工具qbittorrent(当然这里也有其他类似的工具可选如transmission等)
首先安装EPEL源:
yum -y install epel-release
安装开发工具包:
yum -y groupinstall "Development Tools"
安装编译所需的依赖和组件:
yum -y install wget git gcc gcc-c++ qt-devel boost-devel openssl-devel qt5-qtbase-devel qt5-linguist
先编译安装libtorrent:(一行一行复制回车即可)
下载地址:https://github.com/arvidn/libtorrent
tar -zxf /usr/src/bt/libtorrent-libtorrent-1_1_6.tar.gz
cd /usr/src/bt/libtorrent-libtorrent-1_1_6
autoconf
sh autotool.sh
./configure --prefix=/usr CXXFLAGS=-std=c++11
make
make install
ln -s /usr/lib/pkgconfig/libtorrent-rasterbar.pc /usr/lib64/pkgconfig/libtorrent-rasterbar.pc
ln -s /usr/lib/libtorrent-rasterbar.so.9 /usr/lib64/libtorrent-rasterbar.so.9