I'm using the excellent password manager KeePass version 2.x on Windows to manage all my accounts and information. When I checked the Linux download page, I noticed that only KeePass 1.x was available for Linux which was a problem as the key file that I used could not be loaded in that version.
The developer of KeePass suggested to use Mono to run KeePass 2.x and so my journey began to install Mono on Linux Mint.
My first stop was the installation instructions page on the Mono website. It displays information for various Linux flavors including Ubuntu, Debian and derivatives.
First thing to do was get the Mono Project GPG signing key and the package repository which has to be done from the Terminal interface.
You can launch a Terminal window from the quick launch area or by opening menu first and selecting Terminal from it.
Run the following commands one after the other:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
The next thing you need to do after running the commands above is to install the mono-complete package.
Here is how you do that:
Since I wanted to run the Windows program KeePass 2.x on Linux Mint, I used it to test if Mono was working properly on the system.
I downloaded and extracted the latest portable KeePass 2.x version from the official website and opened the folder afterwards on the system. A right-click inside the folder allowed me to open a terminal there.
All that was left to do was run mono KeePass.exe to see if it works. What can I say, it did.
Tip: One issue that I ran into when executing the command was that I typed only lower case characters which resulted in a not found error. I remembered that case was important on Linux and used uppercase characters where needed.
Now that KeePass is running, I can try and get other Windows programs to run on Linux as well. I'm not sure how well that will work if at all, but I'll report my findings here on this site.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.