How to Install KeePassXC on Ubuntu 22.04 LTS

KeePassXC is an application that can be used by anyone who wants to have 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.

In the following tutorial, you will learn how to install KeePassXC on Ubuntu 22.04 LTS Jammy Jellyfish using three installations method of APT, Flatpak, and Snap using the command line terminal, along with some tips on maintaining the software into the future.

Update Ubuntu

The first step is to make sure 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 -y

Install KeePassXC Password Manager – APT Method with Ubuntu

By default, KeePassXC Password Manager is available on the Ubuntu 22.04 repository, the advised version for users who are happy with the stable version for minor use and do not require the latest advancements of constant updates; see newer features as Ubuntu LTS is slower to release these builds.

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

sudo apt install keepassxc -y

Install KeePassXC Password Manager – APT Method with PPA

The second option is to install KeePassXC Password Manager using the PPA from the launchpad. This is probably the most desired for Ubuntu users to keep the installation using the APT package manager while having the latest up-to-date version.

sudo add-apt-repository ppa:phoerious/keepassxc -y

Once you have imported the option you prefer, run a quick APT update to reflect the newly imported PPA.

sudo apt-get update

Now, install KeePassXC Password Manager as follows.

sudo apt install keepassxc -y

Users that have already installed KeePassXC with APT may have seen updates available. The best option is to use the installation command still to make sure any new dependencies are installed from the PPA.

Install KeePassXC Password Manager – Flatpak Method

The third option is to use the Flatpak package manager, which is not installed on Ubuntu distributions, given Snap, which is Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.

The extra benefit of using Flatpak installations is that you will always have the most up-to-date version compared to Ubuntu which focuses on stability with older versions that only see updates for security issues or serve bugs.

First, install the Flatpak manager; this can be skipped if you already have it installed.

sudo apt install flatpak -y

For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.



Next, you need to enable Flatpack using the following command in your terminal:

sudo flatpak remote-add --if-not-exists flathub

Now install the video editor using the following flatpak command.

flatpak install flathub org.keepassxc.KeePassXC -y

Install KeePassXC Password Manager – Snap Method

The fourth method will be installing the software with snapd. The Snapcraft package manager should be installed on Ubuntu-installed systems unless removed previously.

Currently, all three methods are up-to-date and are separated by a matter of a day or so when it comes to updates, so it is a choice of which package manager you prefer to use.

First, re-install Snapd if you have removed it previously.

sudo snap install snapd -y

Ideally, it is worth rebooting when installing third-party managers; if you experience issues, please do this.

Next, install the snap core to avoid any conflicts.

sudo snap install core

Next, some packages come in classic, so you need to create a symlink to enable classic snap support.

sudo ln -s /var/lib/snapd/snap /snap

Now install the software snapd package with the following command.

sudo snap install keepassxc

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.


If you would like to launch and use the terminal simultaneously, launch the application by adding the & flag to the command.

keepassxc &

Alternatively, Flatpak users will need to launch using the command below from a terminal instance.

flatpak run org.keepassxc.KeePassXC

Lastly, snap users can launch from the terminal using the following command.

sudo snap run keepassxc

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

Activities > Show Applications > KeePassXC


How to Install KeePassXC on Ubuntu 22.04 LTS

The first time you launch KeePassXC, you will see a one-time prompt about checking for updates on the application startup. This is optional, select yes or no to proceed.


How to Install KeePassXC on Ubuntu 22.04 LTS

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


How to Install KeePassXC on Ubuntu 22.04 LTS

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.

APT Update Method

sudo apt upgrade && sudo apt upgrade

Flatpak Update Method

flatpak update

Snap Update Method

sudo snap update

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.

APT Remove Method

sudo apt autoremove keepassxc -y

Next, remove the imported PPA if you have no desire to re-install the software; the command will see the same as importing but with the –remove syntax added to the command.

sudo add-apt-repository --remove ppa:phoerious/keepassxc -y

Flatpak Remove Method

flatpak uninstall --delete-data flathub org.keepassxc.KeePassXC

Next, run the following command for any leftover clean-up.

flatpak remove --unused

Snap Remove Method

sudo snap remove keepassxc

Comments and Conclusion

In the guide, you have learned to install the KeePassXC on Ubuntu 22.04 LTS using APT, Flatpak, or Snap with Ubuntu 22.04 LTS Jammy Jellyfish.

KeePassXC is an excellent solution for people who need to keep their data safe. It has a light interface and can be used on multiple platforms. Additionally, it is published under the GNU General Public License, which means that the code is open source and can be modified by anyone.


Like to get automatic updates? Follow us on one of our social media accounts!