Skip to content

Instantly share code, notes, and snippets.

@jDmacD
Last active November 28, 2024 13:07
Show Gist options
  • Select an option

  • Save jDmacD/9e38542901b9672728f088abd353a0a1 to your computer and use it in GitHub Desktop.

Select an option

Save jDmacD/9e38542901b9672728f088abd353a0a1 to your computer and use it in GitHub Desktop.

Revisions

  1. jDmacD revised this gist May 22, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ sudo make install-strip

    cd ..

    git clone https://github.com/qbittorrent/qBittorrent
    git clone https://github.com/qbittorrent/qBittorrent --branch v3_3_x --single-branch
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    make
  2. jDmacD revised this gist May 12, 2016. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -23,12 +23,10 @@ cd ..
    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    # see https://github.com/qbittorrent/qBittorrent/issues/5247#issuecomment-218815641
    sed -i -e '/-msse4.2 /d' src/Makefile
    make
    sudo make install

    cd ..
    rm libtorrent-rasterbar-1.0.6.tar.gz
    rm -R libtorrent-rasterbar-1.0.6
    rm -R qBittorrent
    sudo rm -R qBittorrent
  3. jDmacD revised this gist May 12, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,7 @@ cd ..
    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    # see https://github.com/qbittorrent/qBittorrent/issues/5247#issuecomment-218815641
    sed -i -e '/-msse4.2 /d' src/Makefile
    make
    sudo make install
  4. jDmacD revised this gist May 12, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,7 @@ cd ..
    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    sed -i -e '/-msse4.2 /d' src/Makefile
    make
    sudo make install

  5. jDmacD revised this gist May 12, 2016. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -11,9 +11,9 @@ sudo apt-get install qtbase5-dev qttools5-dev-tools -y
    sudo apt-get install geoip-database -y
    sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev pkg-config -y

    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-1.0.6.tar.gz -O libtorrent-rasterbar.tar.gz
    tar -zxvf libtorrent-rasterbar.tar.gz
    cd libtorrent-rasterbar
    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-1.0.6.tar.gz
    tar -zxvf libtorrent-rasterbar-1.0.6.tar.gz
    cd libtorrent-rasterbar-1.0.6
    ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
    sudo make uninstall
    sudo make install-strip
    @@ -27,6 +27,6 @@ make
    sudo make install

    cd ..
    rm libtorrent-rasterbar.tar.gz
    rm -R libtorrent-rasterbar
    rm libtorrent-rasterbar-1.0.6.tar.gz
    rm -R libtorrent-rasterbar-1.0.6
    rm -R qBittorrent
  6. jDmacD revised this gist May 12, 2016. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -11,9 +11,9 @@ sudo apt-get install qtbase5-dev qttools5-dev-tools -y
    sudo apt-get install geoip-database -y
    sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev pkg-config -y

    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/libtorrent-rasterbar-1.1.0.tar.gz
    tar -zxvf libtorrent-rasterbar-1.1.0.tar.gz
    cd libtorrent-rasterbar-1.1.0
    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-1.0.6.tar.gz -O libtorrent-rasterbar.tar.gz
    tar -zxvf libtorrent-rasterbar.tar.gz
    cd libtorrent-rasterbar
    ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
    sudo make uninstall
    sudo make install-strip
    @@ -27,6 +27,6 @@ make
    sudo make install

    cd ..
    rm libtorrent-rasterbar-1.1.0.tar.gz
    rm -R libtorrent-rasterbar-1.1.0
    rm libtorrent-rasterbar.tar.gz
    rm -R libtorrent-rasterbar
    rm -R qBittorrent
  7. jDmacD revised this gist May 12, 2016. 1 changed file with 3 additions and 5 deletions.
    8 changes: 3 additions & 5 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -20,15 +20,13 @@ sudo make install-strip

    cd ..

    wget https://github.com/arvidn/libtorrent/archive/libtorrent-1_0.tar.gz
    tar -zxvf libtorrent-1_0.tar.gz
    cd libtorrent-1_0
    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    make
    sudo make install

    cd ..
    rm libtorrent-rasterbar-1.1.0.tar.gz
    rm -R libtorrent-rasterbar-1.1.0
    rm libtorrent-1_0.tar.gz
    rm -R libtorrent-1_0
    rm -R qBittorrent
  8. jDmacD revised this gist May 12, 2016. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -20,13 +20,15 @@ sudo make install-strip

    cd ..

    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    wget https://github.com/arvidn/libtorrent/archive/libtorrent-1_0.tar.gz
    tar -zxvf libtorrent-1_0.tar.gz
    cd libtorrent-1_0
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    make
    sudo make install

    cd ..
    rm libtorrent-rasterbar-1.1.0.tar.gz
    rm -R libtorrent-rasterbar-1.1.0
    rm -R qBittorrent
    rm libtorrent-1_0.tar.gz
    rm -R libtorrent-1_0
  9. jDmacD revised this gist May 12, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ cd ..

    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui
    ./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    make
    sudo make install

  10. jDmacD revised this gist May 12, 2016. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,8 @@
    #!/bin/bash

    # https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)
    # https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Required_dependencies

    cd ~/

    sudo apt-get install libboost-dev libboost-system-dev build-essential -y
  11. jDmacD revised this gist May 12, 2016. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    #!/bin/bash

    cd ~/

    sudo apt-get install libboost-dev libboost-system-dev build-essential -y
    sudo apt-get install libqt4-dev -y
    sudo apt-get install qtbase5-dev qttools5-dev-tools -y
    @@ -19,4 +21,9 @@ git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui
    make
    sudo make install
    sudo make install

    cd ..
    rm libtorrent-rasterbar-1.1.0.tar.gz
    rm -R libtorrent-rasterbar-1.1.0
    rm -R qBittorrent
  12. jDmacD revised this gist May 11, 2016. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,14 @@ sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev
    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/libtorrent-rasterbar-1.1.0.tar.gz
    tar -zxvf libtorrent-rasterbar-1.1.0.tar.gz
    cd libtorrent-rasterbar-1.1.0
    ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
    ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
    sudo make uninstall
    sudo make install-strip

    cd ..

    git clone https://github.com/qbittorrent/qBittorrent
    cd qBittorrent
    ./configure --prefix=/usr --disable-gui
    make
    sudo make install
  13. jDmacD revised this gist May 11, 2016. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,10 @@
    sudo apt-get install libboost-dev libboost-system-dev build-essential -y
    sudo apt-get install libqt4-dev -y
    sudo apt-get install qtbase5-dev qttools5-dev-tools -y
    sudo apt-get install geoip-database -y
    sudo apt-get install geoip-database -y
    sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev pkg-config -y

    wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/libtorrent-rasterbar-1.1.0.tar.gz
    tar -zxvf libtorrent-rasterbar-1.1.0.tar.gz
    cd libtorrent-rasterbar-1.1.0
    ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
  14. jDmacD created this gist May 11, 2016.
    6 changes: 6 additions & 0 deletions qbBuild.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash

    sudo apt-get install libboost-dev libboost-system-dev build-essential -y
    sudo apt-get install libqt4-dev -y
    sudo apt-get install qtbase5-dev qttools5-dev-tools -y
    sudo apt-get install geoip-database -y