Installation of KeePassX Password Manager on Fedora Linux

KeePassX is a cross platform password manager to allow users to store and organize passwords by keeping them safe using advanced encryption techniques. It allows you to create a database in which your passwords will be stored and protected by one master password. This database can then be backed up or trasferred to a new system as necessary. You can also import that databsae into another instance of KeePassX.

In this tutorial, we will cover the step by step instructions on how to install KeePassX on Fedora Linux. You will also see how to open the application and get started with storing some of your passwords in it.

In this tutorial you will learn:

  • How to install KeePassX password manager on Fedora
  • How to launch KeePassX application
  • How to create a new KeePassX database and enter passwords
Installation of KeePassX Password Manager on Fedora Linux
Installation of KeePassX Password Manager on Fedora Linux
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Fedora Linux
Software KeePassX
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

Installation of KeePassX Password Manager on Fedora Linux step by step instructions



  1. Get started by opening a command line and using the dnf package manager to install KeePassX.
    $ sudo dnf install keepassx
    

    Answer with Y when prompted about whether or not you want to proceed with the installation.

  2. Once the KeePassX application finishes installing, you can launch it from within the Activities menu or by executing the command below:
    $ keepassx
    
    Searching for and opening KeePassX from Fedora's Activities menu
    Searching for and opening KeePassX from Fedora’s Activities menu
  3. If you have used KeePassX in the past, then you will need to import your database in order to have access to your passwords. Otherwise, use the Database > New Database menu option to create a new database to store all of your passwords.
    Creating a new database in KeePassX on Fedora
    Creating a new database in KeePassX on Fedora
  4. In the next menu that shows up, enter and confirm your new master key. You will want to pick something secure, but also memorable. If you lose this password, you will not be able to recover the contents of your database file (all of your stored passwords). Click OK when done.



    Create a master password that will be used to unlock the database
    Create a master password that will be used to unlock the database

  5. Next, click the “Add new entry” button to add your first password to the database.
    Click the indicated button to add a new entry (password) to the database
    Click the indicated button to add a new entry (password) to the database
  6. For your entry, you can fill out the Title (probably website name in most cases), username, password, and URL (if applicable). If you need to append even more information, KeePassX has more fields available, like a notes section and advanced section for custom fields. Click OK when finished.
    Entering the pertinent details for our password entry into KeePassX
    Entering the pertinent details for our password entry into KeePassX
  7. Now that our new entry has been added, be sure to press the save button before exiting KeePassX.
    Hit the save button to save the changes made to your database
    Hit the save button to save the changes made to your database

That’s all there is to it.

Closing Thoughts




In this tutorial, we saw how to install the KeePassX password manager application on a Linux system. Since this program is in the official repository, it is a simple install with the dnf package manager. We also learned how to launch KeePassX, create a new database, and store a new password entry into the database. Be sure to keep your database and master password extra safe – if either is lost, the contents of the database file will also be gone.