Note: This is only a one-time setup guide. For actually building KeePassXC, please refer to our build guide.
Install the build toolchain
You can skip this step if you have a working C++ toolchain (g++, cmake and make)
On Debian/Ubuntu:
On Fedora/RHEL/CentOS:
On Arch Linux:
or
Install the required dependencies
On Debian/Ubuntu:
Ubuntu 18.04 and below replace libargon2-dev with libargon2-0-dev
On Fedora/RHEL/CentOS:
CentOS requires more up-to-date packages, provided here: https://copr.fedorainfracloud.org/coprs/bugzy/keepassxc/
On Arch Linux:
Update your environment regularly
On Debian/Ubuntu:
On Fedora/RHEL/CentOS:
On Arch Linux: