For marketers
who love technology
Home » » How to install keepass2 in debian squeeze

How to install keepass2 in debian squeeze

If you want to install Keepass2 under Debian Squeeze, you will have a problem: keepass2 is not in the official repositories. Only keepassX is available.

In this blog post I explain how to install Keepass2 nevertheless.

The KeePass Password Safe icon.
At first glance, I see two potential solutions:
  1. We can find the keepass2 package on the web, download it, and install it. That's the solution I chose.
  2. Otherwise, a perhaps cleaner solution would be to download the source package and compile it. That's cumbersome because Keepass is windows oriented.

The installation of a .deb package, is usually simpler. I cleaned a bit the packages on my machine, installed the main dependencies, and gave a try to the installation of the ubuntu Natty package.

sudo apt-get autoremove
sudo apt-get install -f
sudo apt-get install mono-devel xdotool
wget http://launchpadlibrarian.net/71859414/keepass2_2.15%2Bdfsg-2%7Enatty1_all.deb
dpkg -i keepass2_2.15+dfsg-2~natty1_all.deb 
keepass2

It worked !
If you have liked this article, please put a link to it on your Google+ profile are any other kind of web site: it will help others find it in the search engines. Thanks!


A screencapture from Keepass2
SHARE

About Gilles

7 comments :

  1. nice one! Thanks saved me

    ReplyDelete
  2. Wget fails with a 404 error. Is this a broken link ?

    ReplyDelete
  3. Thanks Eric for pointing this out. I've updated the post accordingly. Does it work on your side with the new instructions?

    ReplyDelete
  4. I downloaded the package "keepass2_2.25+dfsg-1_all.deb" from https://packages.debian.org/sid/all/keepass2/download but could not install using dpkg or even aptitude.

    Dependency is not satisfiable: mono-runtime (>= 3.0~)

    The apt-add-repository is not available on my system.

    Suggestions ?

    ReplyDelete
  5. I've added the ppa repo. Unfortunately, I get an error when I run "apt-get update":

    Err http://ppa.launchpad.net lucid/main i386 Packages
    404 Not Found
    W: Impossible de récupérer http://ppa.launchpad.net/jtaylor/keepass/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found

    I haven't found the updated info in your post. Was that the broken hyperlink ?

    Does it has to do with the fact that I'm running Debian Squeeze 32 bits ?

    ReplyDelete
    Replies
    1. Hello Eric,

      I have updated the post with a method that works on my side. Please tell me if it works for you too (it should!). Thanks

      Delete
    2. Works like a charm ! Many thanks.

      Delete