-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Set up Build Environment on Linux
louib edited this page Oct 23, 2017
·
49 revisions
Note: This is only a one-time setup guide. For actually building KeePassXC, please refer to our build guide.
You can skip this step if you have a working C++ toolchain (g++, cmake and make)
On Debian/Ubuntu:
sudo apt install build-essential cmake g++
On Fedora/RHEL/CentOS:
sudo dnf install make automake gcc-c++ cmake
On Arch Linux:
sudo pacman -S cmake make gcc
or
sudo pacman -S cmake make gcc-multilib
On Debian/Ubuntu:
sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools \
libgcrypt20-dev zlib1g-dev
On Fedora/RHEL/CentOS:
Note: CentOS may require more up-to-date packages, provided here: https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/
sudo dnf install qt5-qtbase-devel qt5-linguist qt5-qttools \
libgcrypt-devel zlib-devel
On Arch Linux:
sudo pacman -S qt5-base qt5-tools libgcrypt zlib
These are required to build Auto-Type and Yubikey support.
On Debian/Ubuntu:
sudo apt install libxi-dev libxtst-dev libqt5x11extras5-dev \
libyubikey-dev libykpers-1-dev
On Fedora/RHEL/CentOS:
Note: CentOS may require more up-to-date packages, provided here: https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/
sudo dnf install libXi-devel libXtst-devel qt5-qtx11extras \
qt5-qtx11extras-devel libyubikey-devel ykpers-devel
On Arch Linux:
sudo pacman -S libxi libxtst qt5-x11extras qt5-tools \
yubico-c yubikey-personalization
On Debian/Ubuntu:
sudo apt-get update && sudo apt-get upgrade
On Fedora/RHEL/CentOS:
sudo dnf update && sudo dnf upgrade
On Arch Linux
sudo pacman -Syyuu
Copyright (C) 2016-2023 KeePassXC Team