mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Updated Set up Build Environment on Linux (markdown)
@@ -31,7 +31,7 @@ On **Debian/Ubuntu**:
|
||||
|
||||
```bash
|
||||
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:
|
||||
@@ -49,14 +49,14 @@ On **Fedora/RHEL/CentOS**:
|
||||
|
||||
```bash
|
||||
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/
|
||||
|
||||
On **Arch Linux**:
|
||||
```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
|
||||
|
||||
Reference in New Issue
Block a user