diff --git a/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki b/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki
index 1ef90c6..c60f3ba 100644
--- a/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki
+++ b/Compiling-qBittorrent-on-Debian-and-Ubuntu.mediawiki
@@ -41,29 +41,46 @@ Clone from the repo
git clone https://github.com/arvidn/libtorrent.git
cd libtorrent
-If you want to use libtorrent 1.2.* (only qBittorrent 4.2.0 and later supports libtorrent 1.2)
- git checkout RC_1_2
- ./autotool.sh
- ./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"
+Choose the appropriate git and compile command according to the version of libtorrent you need:
-If you want to use libtorrent 1.1.*
- git checkout RC_1_1
- ./autotool.sh
- ./configure --disable-debug --enable-encryption
+{| class="wikitable"
+! style="text-align: center;" | libtorrent version
+! style="text-align: center;" | qBittorrent version support
+! style="text-align: center;" | git command
+! colspan="2" style="text-align: center;" | Compile commands (after running the git command, choose between using autotools or CMake)
+|-
+| colspan="3" style="text-align: center;" | ----
+| style="text-align: center;" | autotools(*)
+| style="text-align: center;" | CMake
+|-
+| 1.2.*
+| >= 4.2.0
+| git checkout RC_1_2
+| ./autotool.sh
+./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14"
+| mkdir -p cmake-build-dir/release && cd cmake-build-dir/release
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G "Unix Makefiles" ../..
+|-
+| 1.1.*
+| >= 3.3.8
+| git checkout RC_1_1
+| ./autotool.sh
+./configure --disable-debug --enable-encryption
+| mkdir -p cmake-build-dir/release && cd cmake-build-dir/release
+cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../..
+|-
+| 1.0.*
+| <= 4.1.5
+| git checkout RC_1_0
+| ./autotool.sh
+./configure --disable-debug --enable-encryption
+| mkdir -p cmake-build-dir/release && cd cmake-build-dir/release
+cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../..
+|}
-If you want to use libtorrent 1.0.* (support of libtorrent 1.0 has been dropped after qBittorrent 4.1.5)
- git checkout RC_1_0
- ./autotool.sh
- ./configure --disable-debug --enable-encryption
-
-If you get a configure: error: Boost.System library not found, check if you installed all the above dependencies.
+(*)If you get a configure: error: Boost.System library not found, check if you installed all the above dependencies.
If yes, add --with-boost-libdir=/usr/lib/i386-linux-gnu
-CMake can now also be used to compile libtorrent
-
- mkdir -p cmake-build-dir/release && cd cmake-build-dir/release
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G "Unix Makefiles" ../..
-
Now you're ready to compile:
make clean && make -j$(nproc)
sudo make install