How to install KeePass2 in Debian 8.3

To install KeePass2 in Debian 8.3

KeePass2 is multi-platform password manager which lets the users to protect their passwords. Installing KeePass2 is an easy task, and this article sheds light on the installation of KeepPass2 in Debian.

Install KeePass2

First, make sure you add the repository in the sources.list file. Use the following command for the same purpose.

root@linuxhelp:~# nano /etc/apt/sources.list

Now add following lines at end of the file.

deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian jessie main

After adding the line, save and exit the file.



Once it is done, update the apt sources-list as follows.

root@linuxhelp:~# apt-get update
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://ftp.de.debian.org jessie InRelease           
Get:2 http://ftp.de.debian.org jessie Release.gpg [2,373 B]
Get:3 http://ftp.de.debian.org jessie Release [148 kB]                  
Ign http://ftp.debian.org stable InRelease                                        
Get:4 http://ftp.debian.org jessie-updates/main Sources [15.4 kB]
Get:5 http://ftp.debian.org jessie-updates/contrib Sources [32 B]         
Get:6 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]
Get:7 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
Get:8 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]   
Get:9 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:10 http://ftp.de.debian.org jessie/main amd64 Packages [6,776 kB]
Get:11 http://ftp.debian.org stable Release.gpg [2,373 B] 
Get:12 http://ftp.debian.org stable Release [148 kB]                     
Get:13 http://ftp.debian.org stable/main amd64 Packages [6,776 kB]                               
Get:14 http://ftp.debian.org stable/contrib amd64 Packages [50.2 kB]                             
Get:15 http://ftp.debian.org stable/non-free amd64 Packages [83.6 kB]                            
Get:16 http://ftp.debian.org stable/contrib Translation-en [38.5 kB]                             
Get:17 http://ftp.debian.org stable/main Translation-en [4,582 kB]                               
Get:18 http://ftp.de.debian.org jessie/main Translation-en [4,582 kB]                            
Get:19 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]                            
Fetched 23.4 MB in 3min 24s (114 kB/s)                                                           
Reading package lists... Done

Now is the time to install the KeePass2 package. Use the following command for the same purpose.

root@linuxhelp:~# apt-get install keepass2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binfmt-support cli-common libgdiplus libmono-accessibility4.0-cil libmono-corlib4.5-cil
  libmono-data-tds4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil
  libmono-security4.0-cil libmono-system-configuration4.0-cil libmono-system-data4.0-cil
  libmono-system-drawing4.0-cil libmono-system-enterpriseservices4.0-cil
  libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-security4.0-cil
  libmono-system-transactions4.0-cil libmono-system-windows-forms4.0-cil
  libmono-system-xml4.0-cil libmono-system4.0-cil libmono-webbrowser4.0-cil mono-4.0-gac
  mono-gac mono-runtime mono-runtime-common mono-runtime-sgen xsel
Suggested packages:.
.
.
Processing triggers for systemd (215-17+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...

KeePass2 has been installed, Use the activities search bar to find and launch the application.

It was a simple installation, wasn' t it? It is simple to protect and manage your password with KeePass2 and its password protected masterkey. It saves many different information such as user names, passwords, URLs, attachments and comments in one single database.

FAQ
Q
Why doesn't the CHM help file work?
A
When trying to open the KeePass CHM help file from a remote computer or shared network drive, it's not displayed correctly (navigation aborted, ...).
Q
Why does KeePass 2.x show a FIPS compliance error at startup?
A
KeePass uses the AES/Rijndael encryption and SHA-256 hashing algorithms so
Configure the local security policy of the system to allow FIPS non-compliant algorithm implementations. To do this, go to Control Panel → Administrative Tools → Local Security Policy, open Local Policies → Security Options, and change the option 'System cryptography:
Q
Why does KeePass 2.x crash when starting it from a network drive/share?
A
The strict default security policy by the Microsoft .NET Framework disallows running so
Copy/install KeePass 2.x onto a local hard disk, and run the copy.
Q
What password database formats are compatible with KeePassx?
A
KeePassX currently uses the KeePass 2 (.kdbx) password database format as the native format.
It can also import KeePass 1 (.kdb) databases.
Q
Are there any plugins for KeePassX?
A
There is no interface build in to support plugins. Therefore, no plugins available.