Updated Set up Build Environment on Linux (markdown)

Janek Bevendorff
2018-10-19 22:43:00 +02:00
parent 1dd3e3c4e6
commit d95f736769

@@ -31,7 +31,7 @@ On **Debian/Ubuntu**:
```bash ```bash
sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools \ sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools \
libgcrypt20-dev libargon2-0-dev zlib1g-dev libgcrypt20-dev libargon2-0-dev libqrencode-dev zlib1g-dev
``` ```
**Ubuntu 14.04** and **16.04** require newer versions of `libgcrypt20-dev`, which can be installed from [our Ubuntu PPA](https://launchpad.net/~phoerious/+archive/ubuntu/keepassxc). To avoid clashes with the upstream `libgcrypt20-dev` package, our package is named `libgcrypt20-18-dev` and installs to `/opt/keepassxc-libs/`. You therefore need to set the following environment variables for CMake to find the required libraries: **Ubuntu 14.04** and **16.04** require newer versions of `libgcrypt20-dev`, which can be installed from [our Ubuntu PPA](https://launchpad.net/~phoerious/+archive/ubuntu/keepassxc). To avoid clashes with the upstream `libgcrypt20-dev` package, our package is named `libgcrypt20-18-dev` and installs to `/opt/keepassxc-libs/`. You therefore need to set the following environment variables for CMake to find the required libraries:
@@ -49,14 +49,14 @@ On **Fedora/RHEL/CentOS**:
```bash ```bash
sudo dnf install qt5-qtbase-devel qt5-linguist qt5-qttools \ sudo dnf install qt5-qtbase-devel qt5-linguist qt5-qttools \
libgcrypt-devel libargon2-devel zlib-devel libgcrypt-devel libargon2-devel qrencode-devel zlib-devel
``` ```
**CentOS** requires more up-to-date packages, provided here: https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/ **CentOS** requires more up-to-date packages, provided here: https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/
On **Arch Linux**: On **Arch Linux**:
```bash ```bash
sudo pacman -S qt5-base qt5-tools libgcrypt argon2 zlib sudo pacman -S qt5-base qt5-tools libgcrypt argon2 qrencode zlib
``` ```
### Install the optional dependencies ### Install the optional dependencies