mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Update git instructions to 4.3.x with c++17
parent
008e700869
commit
d15fd40d3b
1 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Both are based on Debian. Debian 9.0 ships with a patched version of an older qBittorrent-nox release (3.3.7). qBittorrent 4.x has many improvements to the webUI component which are of particular use for headless operation.
|
Both are based on Debian. Debian 9.0 ships with a patched version of an older qBittorrent-nox release (3.3.7). qBittorrent 4.x has many improvements to the webUI component which are of particular use for headless operation.
|
||||||
|
|
||||||
This guide outlines the steps needed to compile qBittorrent-nox 4.2.x and run it as a service. Both DietPi and Raspbian provide pre-compiled qBittorrent using either `dietpi-software` or `apt`. Use this guide if you want to run the most recent qBittorrent (and libtorrent-rasterbar).
|
This guide outlines the steps needed to compile qBittorrent-nox 4.3.x and run it as a service. Both DietPi and Raspbian provide pre-compiled qBittorrent using either `dietpi-software` or `apt`. Use this guide if you want to run the most recent qBittorrent (and libtorrent-rasterbar).
|
||||||
|
|
||||||
This guide was made possible by the authors of the [Debian/Ubuntu compilation guide](https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu "Debian/Ubuntu compilation guide") and [Guide on running qBittorrent as a service](https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer) "Guide on running qBittorrent as a service"). A few DietPi-specific amendments are included.
|
This guide was made possible by the authors of the [Debian/Ubuntu compilation guide](https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu "Debian/Ubuntu compilation guide") and [Guide on running qBittorrent as a service](https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer) "Guide on running qBittorrent as a service"). A few DietPi-specific amendments are included.
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ If you choose to retrieve source code using `git clone`, then also `sudo apt ins
|
||||||
|
|
||||||
# Compiling Libtorrent
|
# Compiling Libtorrent
|
||||||
|
|
||||||
DietPi's and Raspbian's repositories include older versions of [Libtorrent](https://libtorrent.org/). You will need to compile Libtorrent 1.2.x to get qBittorrent-nox 4.2.x running. Both methods below outline how to install Libtorrent 1.2.x for use with qBittorrent-nox 4.2.x (and likely later versions).
|
DietPi's and Raspbian's repositories include older versions of [Libtorrent](https://libtorrent.org/). You will need to compile Libtorrent 1.2.x to get qBittorrent-nox 4.2.x running. Both methods below outline how to install Libtorrent 1.2.x for use with qBittorrent-nox 4.3.x (and likely later versions).
|
||||||
|
|
||||||
## Get the source code
|
## Get the source code
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ B. `wget ...`
|
||||||
### A. `git clone` from repository
|
### A. `git clone` from repository
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
git clone -b v4_2_x https://github.com/qbittorrent/qBittorrent
|
git clone -b v4_3_x https://github.com/qbittorrent/qBittorrent
|
||||||
cd qBittorrent
|
cd qBittorrent
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ cd qBittorrent-release-4.2.1
|
||||||
## Compile qBittorrent-nox
|
## Compile qBittorrent-nox
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS="-std=c++14"
|
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS="-std=c++17"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
~~~~
|
~~~~
|
||||||
|
@ -243,7 +243,7 @@ Navigate to the qBittorrent directory with the latest release.
|
||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
sudo systemctl stop qbittorrent
|
sudo systemctl stop qbittorrent
|
||||||
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS="-std=c++14"
|
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS="-std=c++17"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
~~~~
|
~~~~
|
||||||
|
|
Loading…
Reference in a new issue