Skip to content

Instantly share code, notes, and snippets.

@oiolong
Forked from cloverstd/install.sh
Created October 17, 2016 05:58
Show Gist options
  • Select an option

  • Save oiolong/f70f0e24d3a8fb16205ea37e5f3e5eef to your computer and use it in GitHub Desktop.

Select an option

Save oiolong/f70f0e24d3a8fb16205ea37e5f3e5eef to your computer and use it in GitHub Desktop.

Revisions

  1. @cloverstd cloverstd revised this gist Sep 9, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    yum install -y boost boost-devel
    yum install -y make gcc gcc-c++ kernel-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-1.0.10.tar.gz
  2. @cloverstd cloverstd created this gist Sep 8, 2016.
    14 changes: 14 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    yum install -y boost boost-devel
    yum install -y make gcc gcc-c++ kernel-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-1.0.10.tar.gz
    ./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/