How To Install KeePassXC on Ubuntu 20.04 | 22.04 LTS

In this guide, we will show you how to install KeePassXC on Ubuntu systems.

KeePassXC is a free and open-source password manager. It started as a community fork of KeePassX (itself a cross-platform port of KeePass).

It is built using Qt5 libraries, making it a multi-platform application which can be run on Linux, Windows, macOS and BSD.

KeePassXC uses the KeePass 2.x (.kdbx) password database format as the native format. It can also import (and convert) version 2 and the older KeePass 1 (.kdb) databases. KeePassXC supports having key files and YubiKey challenge-response for additional security.

Install KeePassXC on Ubuntu-APT method

Follow the steps below to get started with KeePassXC :

  • Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
  • KeePassXC package is available on Ubuntu base repository. So You can install it directly as follows:
sudo apt install keepassxc -y

Install KeePassXC on Ubuntu- Snap method

Follow the steps below to get started with KeePassXC:

  • Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
  • you can install KeePassXC with snapd manager:

Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system.

So, Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

  • Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions, So install snap then install KeePassXC via snap manager as shown below
sudo apt update -y
sudo apt install snapd -y
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install core
sudo snap install keepassxc

Access KeePassXC

  • You can search on the system search bar by typing KeePassXC as follows
  • Also snap users can open it with
sudo snap run keepassxc
  • KeePassXC will be launched as shown below

How to Remove (Uninstall) KeePassXC

  • Remove KeePassXC APT Method
sudo apt autoremove keepassxc --purge -y
  • Remove KeePassXC with Snap Remove Method:
sudo snap remove --purge keepassxc

Install KeePassXC -Conclusion

That’s it


unixcop Admin


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook