Updated Compiling qBittorrent nox on CentOS 8.x (markdown)

施宇 2020-02-15 22:35:08 +08:00
parent 1e0210ebde
commit 842a6beb12

@ -1,15 +1,43 @@
### yum install "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
This how-to will guide you though the compilation of qBittorrent and libtorrent-rasterbar.<br />
This guide is written for CentOS 8.x, but the process should be similar for other RHEL distributions.
## just run need
First of all, you need install
```
github https://github.com/arvidn/libtorrent/ compile
yum install -y boost-devel boost-system glib2 glibc gmp gnutls libblkid libcap libffi libgcc libgcrypt libgpg-error libicu libidn2 libmount libselinux libstdc++ libtasn1 libunistring libuuid lz4-libs nettle openssl-devel openssl-libs p11-kit pcre pcre2 pcre2 qt5-qtbase systemd-libs xz-libs zlib
yum install "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
```
## compile need
```
yum install -y autoconf automake libtool make wget tar qt5-linguist qt5-qttools-devel qt5-qtsvg-devel
```
***
./configure -xxxx
## General required dependencies
* ## if you just run binary
1.
```
yum install -y autoconf automake boost-devel boost-system git glib2 glibc gmp gnutls libblkid libcap libffi libgcc libgcrypt libgpg-error libicu libidn2 libmount libselinux libstdc++ libtasn1 libtool libunistring libuuid lz4-libs make nettle openssl-devel openssl-libs p11-kit pcre pcre2 pcre2 qt5-qtbase systemd-libs tar wget xz-libs zlib
```
2. install libtorrent
```
git clone -b RC_1_XXXXXXXXXXX https://github.com/arvidn/libtorrent/
cd libtorrent
./autotool.sh
./configure
make -j
make install
```
3. run it
* ## compile need
4.
```
yum install -y qt5-linguist qt5-qttools-devel qt5-qtsvg-devel
```
5.
```
git clone -b v4_2_XXXXXXXXXXX https://github.com/qbittorrent/qBittorrent
cd qBittorrent
./configure --prefix=/usr --disable-gui
make -j
make install
```