How To Install keepassx2 on CentOS 7

In this tutorial we learn how to install keepassx2 on CentOS 7. keepassx2 is Cross-platform password manager

Introduction

In this tutorial we learn how to install keepassx2 on CentOS 7.

What is keepassx2

KeePassX is an application for people with extremly high demands on secure personal data management. KeePassX saves many different information e.g. user names, passwords, urls, attachemts and comments in one single database. For a better management user-defined titles and icons can be specified for each single entry. Furthermore the entries are sorted in groups, which are customizable as well. The integrated search function allows to search in a single group or the complete database. KeePassX offers a little utility for secure password generation. The password generator is very customizable, fast and easy to use. Especially someone who generates passwords frequently will appreciate this feature. The complete database is always encrypted either with AES (alias Rijndael) or Twofish encryption algorithm using a 256 bit key. Therefore the saved information can be considered as quite safe. KeePassX uses a database format that is compatible with KeePass Password Safe for MS Windows.

We can use yum or dnf to install keepassx2 on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install keepassx2.

Install keepassx2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install keepassx2 using yum by running the following command:

sudo yum -y install keepassx2

Install keepassx2 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install keepassx2 using dnf by running the following command:

sudo dnf -y install keepassx2

How To Uninstall keepassx2 on CentOS 7

To uninstall only the keepassx2 package we can use the following command:

sudo dnf remove keepassx2

References

Summary

In this tutorial we learn how to install keepassx2 on CentOS 7 using yum and dnf.