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 it is open source and free to download and use.
In the following tutorial, you will learn how to install KeePassXC on Fedora 36 Linux using one of the following installation methods with DNF or Flatpak utilizing the command line terminal, along with some tips on maintaining the software in the future.
Table of Contents
Update Fedora Linux
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 dnf upgrade --refresh
Install KeePassXC Password Manager – DNF Method
For most users, the easiest way to install the software is to utilize the Fedora repository using the DNF package manager; given that Fedora focuses on the latest releases every six months and often, during that time, releases even more updates, you are generally on the latest if not one version behind in most cases making it desirable instead of using alternative package managers.
Install the software using the following DNF install command.
sudo dnf install keepassxc -y
Install KeePassXC Password Manager – Flatpak Method
The second option is to use the Flatpak package manager installed on Fedora-based systems. The extra benefit of using Flatpak installations is that you will always have the most up-to-date version. However, with distributions such as Fedora or similar types that focus on the latest packages, the significant advantage is often not as substantial or not present. However, still, this is the user’s discretion in choosing.
First, re-install the Flatpak manager if it was removed previously.
sudo dnf install flatpak -y
For users re-installing Flatpak, 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.
reboot
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal.
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Ideally, you should reboot at this stage; if you skip this and notice icons not appearing, the reboot will generate the paths required for the future.
reboot
Now install the video editor using the following flatpak command.
flatpak install flathub org.keepassxc.KeePassXC -y
If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’‘ use the following command.
flatpak remote-modify --enable flathub
This will fix the issue.
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.
keepassxc
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
However, this isn’t practical, and you would use the following path on your desktop to open the course.
Activities > Show Applications > KeePassXC
Example:
Once open, you will arrive at the default landing page where you can create, open or import a database.
Example:
The tutorial will quickly create a database; click on the Create new database. Then you will be prompted to give the database a name and description.
Example:
Next, select the encryption settings to suit your security requirements; the default settings should be enough for the standard user.
Example:
Next, you will be taken to a password setting page. Once done, you will be taken to the root of your created database.
Example:
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.
DNF Update Method
sudo dnf update --refresh
Flatpak Update Method
flatpak 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.
DNF Remove Method
sudo dnf autoremove 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
Comments and Conclusion
In the tutorial, you have learned to install the KeePassXC on Fedora 36 Linux.
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.