How to Install KeePassXC on Debian 11 Bullseye


KeePassXC is an application that can be used by anyone who wants a high level of security for their data. The cross-platform feature can be used on any computer, and the light interface makes it easy to use. Additionally, the application is published under the GNU General Public License terms, which means that it is open source and free to download and use. KeePassXC uses a database format compatible with KeePass, making it easy to transfer data between the two applications. KeePassXC also offers many features, including creating multiple databases, encrypting databases with a master key, and generating strong passwords. In addition, KeePassXC provides support for plugin development, allowing users to extend the application’s functionality. As a result, KeePassXC is an ideal choice for anyone who wants a robust and secure password manager.

In the following tutorial, you will learn how to install KeePassXC on Debian 11 Bullseye using a third-party repository for the latest version, along with tips on how to maintain the software in the future using the command line terminal.

Update Debian

The first step is ensuring your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.

sudo apt update && sudo apt upgrade

Install KeePassXC Password Manager – APT Default Method

By default, KeePassXC Password Manager is available on the Debian 11 Bullseye repository; the advised version is for users who are happy with the stable version and do not require the latest advancements or constant updates. For those that prefer the newest version, see the next method.

In your terminal, use the following command to begin the installation.


sudo apt install keepassxc -y

Install KeePassXC Password Manager – APT PPA Method

The best APT package manager method is to import and install the third-party repository maintained by Alexander Pozdnyakov.

First, install the following packages.

sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https curl -y

The next task is to import the GPG key to verify the authenticity of the repositories packages.

curl -fsSL | gpg --dearmor | sudo tee /usr/share/keyrings/alexp_key.gpg > /dev/null

Run the following command to import the repository.

echo 'deb [signed-by=/usr/share/keyrings/alexp_key.gpg] bullseye main' | sudo tee -a /etc/apt/sources.list.d/alexp.list

Before you continue, run an APT update to reflect the newly imported PPA.

sudo apt update

Now, install KeePassXC Password Manager as follows.


sudo apt install keepassxc -y

How to Launch KeePassXC Password Manager

Now that you have the application installed, launching can be done in a few ways.

First, the software can be launched directly from your terminal using the following command.


However, this isn’t practical, and you would use the following path on your desktop to open the course.

Activities > Show Applications > KeePassXC



The first time you launch KeePassXC, you will see a one-time prompt about checking for updates on the application startup. Given that you have installed SMPlayer from an APT repository, future updates will come from it.


Next, you will arrive at the main window where you can proceed with using the secure personal data management application.


Better examples of screenshots can be found on the KeePassXC official screenshot section on their website to get an idea of the software.

How to Update/Upgrade KeePassXC Password Manager

Depending on the method of installation used, the following commands can be used to update.

sudo apt upgrade && sudo apt upgrade

How to Remove (Uninstall) KeePassXC Password Manager

Use one of the following commands to suit the original installation method for users who no longer require the application.

sudo apt autoremove keepassxc -y

Next, you should remove the imported repository for users who will not use the software again.


sudo rm /etc/apt/sources.list.d/alexp.list

Do not remove the repository if you have installed other applications from this repository. If you accidentally do, re-import it using the command and the start of the tutorial.

Comments and Conclusion

KeePassXC is a great application that can be used by anyone who wants to keep their data safe. The cross-platform feature can be used on any computer, and the light interface makes it easy to use. Additionally, the application is open source and free to download and use, making it a great option for people looking for a high level of security.

Share on: