mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-22 21:53:03 +03:00
Update build instructions for Red Hat distros.
parent
ce005e8386
commit
36846d2aa1
@ -1,16 +1,44 @@
|
||||
## Installing dependencies
|
||||
### Fedora
|
||||
```sh
|
||||
sudo yum install qt5-qtbase-devel qt5-qtwebkit-devel qt5-qtx11extras-devel libarchive-devel sqlite-devel xcb-util-keysyms-devel
|
||||
sudo dnf install -y \
|
||||
make cmake extra-cmake-modules gcc-c++ \
|
||||
desktop-file-utils libarchive-devel \
|
||||
qt5-qtbase qt5-qtbase-devel qt5-qtwebkit-devel qt5-qtx11extras-devel \
|
||||
sqlite-devel xcb-util-keysyms-devel \
|
||||
hicolor-icon-theme
|
||||
```
|
||||
|
||||
### Red Hat Enterprise Linux / CentOS
|
||||
Before installing dependencies required for building Zeal, you will have to install/enable the [Extra Packages for Enterprise Linux (EPEL)](https://fedoraproject.org/wiki/EPEL) repository. This is currently required for `cmake3 cmake3-data qt5-qtwebkit-devel`.
|
||||
|
||||
```sh
|
||||
sudo yum install -y epel-release
|
||||
```
|
||||
|
||||
Once the EPEL repository is available, you can install the required dependnecies as shown below.
|
||||
```sh
|
||||
sudo yum install -y \
|
||||
make cmake3 cmake3-data extra-cmake-modules gcc-c++ \
|
||||
desktop-file-utils libarchive-devel \
|
||||
qt5-qtbase qt5-qtbase-devel qt5-qtwebkit-devel qt5-qtx11extras-devel \
|
||||
sqlite-devel xcb-util-keysyms-devel \
|
||||
hicolor-icon-theme
|
||||
```
|
||||
|
||||
## Building Zeal
|
||||
### Fedora
|
||||
```sh
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
cmake3 . && make
|
||||
```
|
||||
|
||||
### Red Hat Enterprise Linux / CentOS
|
||||
```sh
|
||||
cmake . && make
|
||||
```
|
||||
|
||||
## Installation
|
||||
This step is common for both Fedora and Enterprise Linux distros.
|
||||
```sh
|
||||
sudo make install
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user