diff --git a/Compilation:-DietPi-and-Raspbian-(Debian-9.0).md b/Compilation:-DietPi-and-Raspbian-(Debian-9.0).md index b26027f..fb55a69 100644 --- a/Compilation:-DietPi-and-Raspbian-(Debian-9.0).md +++ b/Compilation:-DietPi-and-Raspbian-(Debian-9.0).md @@ -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. -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. @@ -46,7 +46,7 @@ If you choose to retrieve source code using `git clone`, then also `sudo apt ins # 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 @@ -138,7 +138,7 @@ B. `wget ...` ### 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 ~~~~ @@ -155,7 +155,7 @@ cd qBittorrent-release-4.2.1 ## 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) sudo make install ~~~~ @@ -243,7 +243,7 @@ Navigate to the qBittorrent directory with the latest release. ~~~~ 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) sudo make install ~~~~