Free, open source, lightweight, and cross-platform, KeePass is one of the best-regarded password managers - and also one of the safest, since it stores the database locally, not on a cloud service. Let's install KeePass in Linux Mint or Ubuntu, and keep all our passwords safe.
We have prepared this guide on Ubuntu 15.10 and Linux Mint 17.3. It should work on earlier and later versions of those distributions, as well as on most distributions based on Ubuntu/Debian.
How to install KeePass in Linux Mint or Ubuntu
Technically, we can install KeePass through the Ubuntu Software Center...
...or the Linux Mint Software Manager.
However, if we install KeePass through these channels, we won't be getting the very latest version. And where's the fun in that?
Add the KeePass repository
For the latest and greatest KeePass, we must add a repository. We just need to fire up a terminal, with Ctrl+Alt+T, and type:
sudo apt-add-repository ppa:jtaylor/keepass -y
Just a reminder for Linux newcomers, when we use the "sudo" command, and we enter our password, nothing will show as we type, no stars or dots or anything. We just enter the password and hit Enter.
After adding the repository, we need to do an update with:
sudo apt-get update
Once the update is done, and we had no error messages, we type the following command to install KeePass:
sudo apt-get install keepass2 -y
Once the installation is done, in Linux Mint we will find KeePass at the menu, in the Accessories section.
In Ubuntu, we just need to search for it on the Dash.
How to change language in KeePass for Linux
There are multiple translations for KeePass, from Arabic to Vietnamese.
In Windows it is easy to change the program language, just by saving the relevant translation in the same folder as the KeePass.exe. In Linux, however, it is a bit trickier.
The first part is the same like Windows. We visit http://keepass.info/translations.html and download the relevant translation. In the example, we will download the Spanish file, by clicking on the [2.29+] link.
The translation is a .zip file of a few kilobytes.
We open the .zip file, and extract the .lngx file inside our /home folder. It is important to select the /home folder, because it will make the following commands easier.
After that, we fire up a terminal and type:
sudo cp (language).lngx /usr/lib/keepass2
Remember, Linux command line is case-sensitive, so writing cp Spanish.lngx isn't the same as typing cp spanish.lngx. Make sure you use the correct case.
The successful run of this command will produce no confirmation message.
After that, we open KeePass, go to View -> Change Language...
...and select the newly installed language of our choice.
After we restart KeePass, as prompted...
...we will have the language of our choice.
Simple as that.
Did you have any trouble to install KeePass, or change language?
If you had any trouble trying to install KeePass or change the language, leave us a comment.