How to install Keepass 2 on Linux - Ubuntu 9.10
First of all, you need to install mono's framework and libraries:
apt-get install mono-2.0-gac mono-gac libmono-winforms2.0-cil mono-2.0-devel
This is the list of mono libraries/programs/frameworks I have on my system, some of them may not be needed for this explanation, but they are here as a reference:
ii libmono-accessibility2.0-cil 2.4.2.3+dfsg-2 Mono Accessibility library (for CLI 2.0)
ii libmono-addins-gui0.2-cil 0.4-5 GTK# frontend library for Mono.Addins
ii libmono-addins0.2-cil 0.4-5 addin framework for extensible CLI applicati
ii libmono-cairo2.0-cil 2.4.2.3+dfsg-2 Mono Cairo library (for CLI 2.0)
ii libmono-corlib1.0-cil 2.4.2.3+dfsg-2 Mono core library (for CLI 1.0)
ii libmono-corlib2.0-cil 2.4.2.3+dfsg-2 Mono core library (for CLI 2.0)
ii libmono-data-tds2.0-cil 2.4.2.3+dfsg-2 Mono Data Library (for CLI 2.0)
ii libmono-data2.0-cil 2.4.2.3+dfsg-2 Mono.Data.* libraries (for CLI 2.0)
ii libmono-dev 2.4.2.3+dfsg-2 Mono JIT library - Development files
ii libmono-getoptions2.0-cil 2.4.2.3+dfsg-2 Mono.GetOptions library (for CLI 2.0)
ii libmono-i18n-west1.0-cil 2.4.2.3+dfsg-2 Mono I18N.West library (for CLI 1.0)
ii libmono-i18n-west2.0-cil 2.4.2.3+dfsg-2 Mono I18N.West library (for CLI 2.0)
ii libmono-i18n2.0-cil 2.4.2.3+dfsg-2 Mono I18N libraries (for CLI 2.0)
ii libmono-peapi2.0-cil 2.4.2.3+dfsg-2 Mono PEAPI library (for CLI 2.0)
ii libmono-posix2.0-cil 2.4.2.3+dfsg-2 Mono.Posix library (for CLI 2.0)
ii libmono-security2.0-cil 2.4.2.3+dfsg-2 Mono Security library (for CLI 2.0)
ii libmono-sharpzip2.84-cil 2.4.2.3+dfsg-2 Mono SharpZipLib library (for CLI 2.0)
ii libmono-sqlite2.0-cil 2.4.2.3+dfsg-2 Mono Sqlite library (for CLI 2.0)
ii libmono-system-data2.0-cil 2.4.2.3+dfsg-2 Mono System.Data Library (for CLI 2.0)
ii libmono-system-web2.0-cil 2.4.2.3+dfsg-2 Mono System.Web Library (for CLI 2.0)
ii libmono-system1.0-cil 2.4.2.3+dfsg-2 Mono System libraries (for CLI 1.0)
ii libmono-system2.0-cil 2.4.2.3+dfsg-2 Mono System libraries (for CLI 2.0)
ii libmono-webbrowser0.5-cil 2.4.2.3+dfsg-2 Mono Web Browser library
ii libmono-winforms2.0-cil 2.4.2.3+dfsg-2 Mono System.Windows.Forms library (for CLI 2
ii libmono0 2.4.2.3+dfsg-2 Mono JIT library
ii libmono2.0-cil 2.4.2.3+dfsg-2 Mono libraries (for CLI 2.0)
ii mono-2.0-devel 2.4.2.3+dfsg-2 Mono development tools for CLI 2.0
ii mono-2.0-gac 2.4.2.3+dfsg-2 Mono GAC tool (for CLI 2.0)
rc mono-common 2.0.1-4ubuntu0.1 common files for Mono
ii mono-gac 2.4.2.3+dfsg-2 Mono GAC tool
ii mono-gmcs 2.4.2.3+dfsg-2 Mono C# 2.0 and C# 3.0 compiler for CLI 2.0
ii mono-runtime 2.4.2.3+dfsg-2 Mono runtime
To get KeePass 2.x working, you can:
- read the documentation:
You'll need to get the latest portable zip Keepass release from (2.10 at the time of this writting):
http://sourceforge.net/projects/keepass/files/
wget http://downloads.sourceforge.net/project/keepass/KeePass%202.x/2.10/KeePass-2.10.zip?use_mirror=freefr
Instructions to set up keepass from the keepass website
- Or follow this simple steps:
Pay attention to the following commands, where it says userName you will have to type a user name from your own machine.
-Get an compressed copy of the portable Keepass file,
mkdir /home/userName/KeePass
cd /home/userName/KeePass
wget http://downloads.sourceforge.net/project/keepass/KeePass%202.x/2.10/KeePass-2.10.zip?use_mirror=freefr
unzip KeePass-2.10.zip
mv KeePass-2.10.zip /usr/local/src
-Change the permissions to all uncompressed files so that they belong to the user you are going to use it with.
chown -R userName:userName /home/userName/KeePass
-Create a launcher file (I.e. in your desktop) with the following command:
echo "mono /home/userName/KeePass/KeePass.exe" > /home/userName/Desktop/KeePass
chown userName:userName /home/userName/Desktop/KeePass
-Make the file executable:
chmod a+x /home/userName/Desktop/KeePass
-Execute your new KeePass:
/home/userName/Desktop/KeePass
You can also create a launcher from the menu very easily.
If you ever want to get rid of this software, simply delete /home/userName/Desktop/KeePass and /home/userName/KeePass