Personal Blog

Installing KeePass on Slackware Linux

Due to the recent data breach incident at LastPass, I immediately look for alternative offline password managers. KeePass seems to be a good alternative. With Slackware 14.1_64, I installed it with some minor issues that are resolved with just few tweaks.

Installation

According to SlackBuilds.org, there are two dependencies for KeePass. One is Mono and the other is LibDGIPlus. Using sbopkg I easily created a queue to install Mono, LibDGIPlus and KeePass in exact order (or at least KeePass should be installed last). After installation, I tried running KeePass but I get this error message:

System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Syscall ---> System.DllNotFoundException: /usr/lib/libMonoPosixHelper.so

By the way, you can get the error message if you run the keepass command at the command line.

Config Tweak

According to this post, we need to edit /etc/mono/config and remove the line that defines the path to libMonoPosixHelper.so. I just edit it like HTML, commenting the specific line out. After re-running the application, it now works.

Migrate from LastPass

Although I didn’t plan to migrate completely, I needed KeePass as fallback option when LastPass suddenly becomes unavailable. LastPass has so-called “LastPass pocket” application for Windows (does Mac has?) that allows you to export your password database as CSV. KeePass fortunately supports imported this LastPass CSV therefore, I was able to import my LastPass to KeePass easily.

Let’s see. We are watching you LastPass.

No Comments

Leave a reply

Your email address will not be published. Required fields are marked *