Author: Steven Neiland

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

So this year I have started to pay more attention to security. In particular I have started to work on securing my online accounts. Some of the steps I have taken to do this include:

  1. Enabling 2 factor authentication where available.
  2. Generating strong and unique passwords for each account.
  3. Storing these passwords in a secure password vault.

For this third step there are a lot of different options, but I eventually narrowed these down to either the online password vault LastPass or the standalone KeePass application. While they both have good and bad points I eventually opted for KeePass simply because I believe that LastPass is a more tempting target for hackers than my own insignificant personal keepass file on my local machine.

This however presents a problem since the latest version of KeePass does not come with a linux installer. Fortunately we can get KeePass running on slackware with the help of some slackbuilds.

Order of install

In order to install KeePass we need to install Mono which in turn requires libgdiplus. So we end up with the following install order.

  1. libgdiplus
  2. Mono
  3. KeePass

Install libgdiplus

To install libgdiplus run the following commands.

cd /[your downloads folder]
tar xzf libgdiplus.tar.gz
cd libgdiplus
cd /tmp
installpkg libgdiplus-2.10.9-i486-2_SBo.tgz

Install Mono

With libgdiplus installed we can now install mono. This part takes a long time so be prepared to go watch a movie or something.

cd /[your downloads folder]
tar xzf mono.tar.gz
cd mono
cd /tmp
installpkg mono-3.2.3-i486-1_SBo.tgz

Install KeePass

We can now finally install KeePass.

cd /[your downloads folder]
tar xzf KeePass.tar.gz
cd KeePass
cd /tmp
installpkg KeePass-2.15-i486-1_SBo.tgz

Good to go

At this stage you should now be able to run keepass from your x desktop. In KDE just type KeePass into the search box and it should find the shortcut for you.

I must admit that while SlackBuild made it "relatively" easy to get everything running, I was disappointed that KeePass required so much work to get working. Linux is only going to gain in popularity in my opinion and it behooves an open source product to have a native linux installer that does not require jumping through so many hoops.

What Do You Think?

Reader Comments

steren's Gravatar
Tuesday, April 1, 2014 at 1:09:41 AM EDT

in "Install KeePass" is a small mistake.
You also must download the file
otherwise a very nice guide. it works.
thank you.

Steven Neiland's Gravatar
Steven Neiland
Tuesday, April 1, 2014 at 11:40:40 AM EDT

Thanks Steren. Updated

joaquin's Gravatar
Friday, January 23, 2015 at 9:13:48 AM EST

Learned a lot from this as a first taste of slackware. Buut opted later to KeepassX because of its simplicity. Anyways, many thanks Steven!

Murdok's Gravatar
Sunday, June 28, 2015 at 12:10:14 AM EDT

Great guide, thanks. I just wanted to point out that you now need libgdiplus-3.12.tar.gz / mono-3.10.0.tar.bz2 / / They can all be downloaded from the same location as in the guide by changing the filename in the url.

Post a Comment

Comment Etiquette:

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.


Archives Blog Listing

Tag Listing

Learn CF In A Week


Fork me on GitHub