Comments on Setting Up KeePass For Centos 6

Setting Up KeePass For Centos 6 This mini-howto describes how to set up KeePass on Centos 6. It requires building mono from source and installing the "portable" version of KeePass. Finally there are a few tweaks that need to be done so that it can execute properly.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: JohnP

Why not just load KeePassX instead?

Don't know about CentOS, but KeePassX is part of the Ubuntu repos.

$ sudo apt-get install keepassx

done.

By:

Centos does not have KeePass or KeePassX available via yum repos. That's the reason I wrote this article. This is, after all, the Centos section. Anyone who wants to run Ubuntu won't need this article.

By: Anonymous

Keepassx is in epel. Also, it does not require mono.

By: Anonymous

Keepassx does not support Keepass v2 databases.

By: alexnogard

To go further, you can sync Keepass with Google drive :)

 

Regards

By: alexnogard

Nice article :)

To go further, I wrotte an article about Keepass add-on :

Sync Keepass Database on Google Drive

By:

Instead of building mono (link in the article is no longer reachable) do the following:

yum install mono-core mono-winforms

This was enough to allow keepass to run for me. (Centos 6.5)

Also since you are not building mono, you don't need to add symlink for the libraries.  It just works.

Adding /usr/local/lib directory to ld.conf is also simplier

ldconfig /usr/local/libq

 

 

By: Raj

This worked for me on Centos 7. Along with mono-core and mono-winforms, it offered to install 8 other dependency packages, in which libgdiplus was also included. Once you are done installing, you just need cd into the unzipped files directory and run it by using the command:

mono KeePass.exe

By: GJSmith3rd

I tried both methods - compiling, and installing mono-core and mono-winforms from epel repo.  The latter did not work for me on CentOS 6.6 with KeePass 2.28 Pro portable. I encountered a incompatible version with KeePassHttp.plgx. 

I went back to the compile method and all works fine.

I read some reports that solving the version incompatibility problem could be accomplished by using the Newtonsoft.json.dll and KeePassHttp.dll instead of the KeePassHttp.pglx file.  That didn't work for me.

Thanks for this post and comments all.  I really needed to get KP2 running on a little sandbox running OpenShift Origin. I didn't want to run headless and KP2 was the deal breaker.