Skip to content

Instantly share code, notes, and snippets.

@Fast-Hunter
Forked from cloverstd/install.sh
Last active October 15, 2016 13:35
Show Gist options
  • Select an option

  • Save Fast-Hunter/a643d671e1055295cfabff6f7e47fee3 to your computer and use it in GitHub Desktop.

Select an option

Save Fast-Hunter/a643d671e1055295cfabff6f7e47fee3 to your computer and use it in GitHub Desktop.
install libtorrent and python binds on centos 7
cd /tmp
yum install -y boost boost-devel
yum install -y make gcc gcc-c++ kernel-devel python-devel
wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_10/libtorrent-rasterbar-1.0.10.tar.gz
tar zxvf libtorrent-rasterbar-1.0.10.tar.gz
cd libtorrent-rasterbar*
./configure --disable-debug --with-boost-libdir=/usr/lib64 --disable-encryption --enable-python-binding
make && make install
export LD_LIBRARY_PATH=/usr/local/lib/
cd bindings/python
python setup.py build
python setup.py install
# https://coderwall.com/p/muvnow/installing-libtorrent-on-linux
# http://www.zedt.eu/tech/linux/compiling-libtorrent-rasterbar-and-qbittorrent-on-centos-6-5-x64/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment