KeePass is a “password safe”, allowing you to securely store passwords for websites, computer user accounts, and any other type of system you need to store a password for. The important thing is to remember your master password, the one that is used to encrypt the KeePass database, so you can access the rest of your passwords stored using KeePass.
To install KeePass on Fedora 20 you can install the version included in the default fedora repository (sudo yum install keepassx). Unfortunately, this is an old version and doesn’t support the newest KeePass database types, nor does it support some of the newer features. To install newest version there’s a bit more work to be done.
UPDATE (2014/07/29): As of 2014/05/23, the newest version of KeePass, 2.x, is now in the Fedora repository. To install it, just run ‘sudo yum install keepass’ or ‘sudo dnf install keepass’. This method makes it easier to keep KeePass up to date as anytime it is updated in the repository you can use yum or dnf to update it. However, it might take a bit more time for the updated version to be added to the repository compared to when the updated version is available for download on the KeePass website.
CONTENTS
DIRECTIONS
Note: These directions are based on the directions provided in this thread. I making this post for my own records and due to the fact that I varied slightly from the directions in the thread.
- Install Mono
$ sudo yum install -y mono-core mono-devel
- Download KeePass Professional Edition, portable (ZIP package)
- KeePass Downloads Page
- At the time of this writing, this link is to the most up-to-date version (2.25)
- Create KeePass Application Directory
$ sudo mkdir /usr/bin/KeePass
- Unzip (extract) Downloaded KeePass Package
$ sudo unzip /path/to/keepass.zip -d /usr/bin/KeePass/
- Download KeePass Source Code for the Version of KeePass you Previously Downloaded
- Look towards bottom of the downloads page, under “Other Downloads and Resources”
- At time of this writing, this link is the most up to date source code (version 2.25)
- Unzip (extract) Downloaded KeePass Source Code Package
- Change to directory where you downloaded the source code
$ cd ~/Downloads/
- Create directory to hold the unzipped source code
$ mkdir KeePass-Source
- Unzip the source code
$ unzip KeePass-2.25-Source.zip -d KeePass-Source
- Change to directory where you downloaded the source code
- Copy KeePass icon to your KeePass application directory (/usr/bin/KeePass)
$ sudo cp KeePass-Source/Ext/Icons/Finals/plock-blu.png /usr/bin/KeePass/KeePass_icon.png
- Create the File “/usr/share/applications/KeePass.desktop” and Add the Following Content:
[Desktop Entry] Name=KeePass GenericName=Password Database Comment=Store you passwords in an encrypted database Exec=mono /usr/bin/KeePass/KeePass.exe Icon=/usr/bin/KeePass/KeePass_icon.png Type=Application Categories=Other
Wrapping Up
At this point you should be able to find KeePass in the list of applications installed on your system. If you would like to use a different icon for KeePass, then at step number 7 copy that icon to /usr/bin/KeePass/KeePass_icon.png (or whatever extension the icon is). You can find more official KeePass icons in the “KeePass-Source/Ext/Icons/Finals/” directory in step number 7.
References
- http://forums.fedoraforum.org/showthread.php?t=278932
- http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html