For those who are sticking to KeePass2 password manager, here’s an Ubuntu PPA contains most recent .deb package for Ubuntu 24.04, Ubuntu 23.10, Ubuntu 22.04, Ubuntu 20.04, and Ubuntu 18.04.
Linux has a native KeepassXC password manager, though KeePass2 is still available for choice, which runs in Linux through Microsoft’s mono software framework.
Ubuntu includes KeePass2 package in system repository, but always old!
For the most recent versions, 3rd PPAs so far are the only choices besides building from the source tarball.
KeePassXC password manager announced the new 2.7.7 release this Sunday! Here are the new features and how to install instruction for Ubuntu.
The new KeePassXC 2.7.7 features official support for Passkeys. It’s a type of login credential, that provides a faster, easier, and more secure ways to login to websites and services without having to enter a password.
KeePassXC, the popular free open-source password manager, released version 2.7.6 today!
This is a new maintenance release with bug-fixes and minor improvements. According to the release note, the release improve the drag’n’drop behavior. Just like drag’n’drop files in your OS, dragging entries in KeePassXC now shows the thumbnail that following mouse cursor until you drop it/them.
KeePassXC 2.7.6 also improved the Quick Unlock function. It’s now automatically activated when unlocking for Auto-Type or Browser access, and the Auto-Type button and shortcut key will be disabled when Auto-Type is turned off for the entry or group.
Other change in the release include:
Add challenge-response support for Nitrokey 3
Search by entry UUID
Warn duplicate URLs in Additional URLs list.
Fix warning message about allow screencapture
Fix system tray icon color.
Several UI and stability fixes.
How to Install KeePassXC 2.7.6 via PPA in Ubuntu/Linux Mint
For all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.04, and Linux Mint 20/21, and their based systems, KeePassXC 2.7.6 is available to install via its Official PPA repository.
1. First, press Ctrl+Alt+T on keyboard to open terminal and run command to add the PPA:
sudo add-apt-repository ppa:phoerious/keepassxc
Type user password when it asks (no asterisk feedback) and hit Enter to continue.
2. If you have an old version of KeePassXC installed as .deb package, simply launch “Software Updater” or Update Manager to update it to the latest.
Or, run the apt command below in terminal to install the password manager:
sudo apt install keepassxc
NOTE: Linux Mint has to run sudo apt update first to update cache.
After installation, search for and open the tool either from ‘Activities’ overview or system start menu depends on your desktop environment.
Uninstall KeePassXC
To uninstall the password manager installed as native .deb package, either use Ubuntu Software app or open terminal and run command:
sudo apt remove --autoremove keepassxc
And remove the PPA repository either via ‘Software & Updates‘ tool under ‘Other Software‘ tab,
The popular KeePassXC password manager got its 3rd update for the 2.7 release series with new features and various bug-fixes.
The new release now has a graphical way to export XML via menu ‘Database -> Export -> XML file‘, via the same logic as the corresponding CLI export option.
When searching in KeePassXC 2.7.3, a little save icon will appear in the right end of the search-box, allowing to save searches and access easily from the bottom-left panel.
The release also enhanced tabs support, improved the entry preview panel, and added CLI changes including:
db-edit command to change/remove key file or password.
Add option to display all attributes with show command
Ctrl+Tab shortcut to cycle databases in unlock dialog
Allow built without X11.
Config variable to specify default database name.
Fix dark mode detection in Linux.
How to Install KeePassXC 2.7.3 in Ubuntu Linux
Ubuntu user can directly search for and install the latest version of KeePassXC from Ubuntu Software app, though it’s Snap package run in sandbox.
KeePassXC Snap package in Ubuntu Software
For those prefer the native .deb package format, it has an official PPA contains the latest packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 22.10.
1. First, press Ctrl+Alt+T on keyboard to open terminal and run command to add the PPA:
sudo add-apt-repository ppa:phoerious/keepassxc
Type user password when it asks (no asterisk feedback) and hit Enter to continue.
2. If you have an old version of KeePassXC installed as .deb package, simply launch “Software Updater” or Update Manager to update it to the latest.
Or, run the apt command below in terminal to install the password manager:
sudo apt install keepassxc
NOTE: Linux Mint has to run sudo apt update first to update cache.
After installation, search for and open the tool either from ‘Activities’ overview or system start menu depends on your desktop environment.
Uninstall KeePassXC
To uninstall the password manager installed as native .deb package, either use Ubuntu Software app or open terminal and run command:
sudo apt remove --autoremove keepassxc
And remove the PPA repository either via ‘Software & Updates‘ tool under ‘Other Software‘ tab, or command below in terminal:
KeePass2 password manager released version 2.52 a day ago. Here’s how to install it in Ubuntu 22.04, Ubuntu 20.04, & Ubuntu 18.04 via PPA.
The new release now allows importing 1Password 8.7 1PUX, and Key Folder 1.22 XML files, as well as groups and expiry dates when importing Sticky Password XML.
There are also other password manager files compatibility, such as support for the new encoding of double quotes when importing Steganos Password Manager CSV, and automatically convert time-based one-time password generator settings on Bitwarden JSON import.
KeePass2 2.52 also has some UI improvements, including ‘Copy Initial Password’ option in the tool menu of entry dialog; ‘Alt. item background color’ option that combines the previous ‘Use alternating item background colors’ and ‘Custom alt. item color’.
It now checks the ‘KeePass.exe.config’ file and shows a warning message when finding a problem. Which, causes the following pop-up on every start in my case. Though, it seems working without any issue.
I’m not user of KeePass, and don’t know what’s wrong with the default config file build from source tarball. If you know how to correct it, please leave comment below so I can fix it in the PPA package.
UPDATE for the “/usr/lib/keepass2/KeePass.exe.config”:
Thanks to Ivan K and gilles, you may manually correct the version number to workaround the issue:
1. Open terminal (Ctrl+Alt+T) and run command to get the version number:
monodis --assembly /usr/lib/keepass2/KeePass.exe
2. Next, edit the config file via command:
sudo gedit /usr/lib/keepass2/KeePass.exe.config
Finally, change the “NewVersion” number to match the one you got in last command.
Install KeePass2 2.52 via PPA:
Though there are good native password managers such as KeePassXC for Linux, you can use KeePass2 for your choice. And, I uploaded the package into this unofficial PPA for easy installation.
1. First, press Ctrl+Alt+T on keyboard to open terminal. Then run the command below to add the PPA:
The 1Password password manager now adds officially Linux support. Here’s how to install it in Ubuntu 20.04 via its apt repository.
1Password is a password manager developed by AgileBits Inc. It provides a place for users to store various passwords, software licenses, and other sensitive information in a virtual vault that is locked with a PBKDF2-guarded master password. By default, this encrypted vault is stored on the company’s servers for a monthly fee.
Download & install DEB package:
1Password for Linux was available for test last year. Now it’s finally goes stable. The .deb binary is available to download at the link below:
KeePass password manager released version 2.48 a few days ago. Here’s how to install it in Ubuntu 21.04, Ubuntu 20.04, Ubuntu 18.04 via PPA.
KeePass 2.48 introduces version 4.1 of the KDBX file format, which supports various new features, including:
group tags support,
ability to disable password quality estimation
remember the previous parent group when moving an entry/group into a different group
custom icons now have names and last modification or deletion times
save last modification time for custom date items.
Other changes include:
Add command ‘Move to Previous Parent Group’
Add support for loading images with Exif orientation tags.
Enhanced the LastPass import module to support CSV files created by the latest versions.
Enhanced the nPassword import module to import group tags.
Various user interface improvements.
How to Install KeePass 2.48 in Ubuntu via PPA:
KeePass2 is still available to install via an Ubuntu PPA. So far, the PPA supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, Ubuntu 20.10, and Ubuntu 21.04.
KeePassXC, cross-platform community fork of KeePass password manager, release version 2.6.3 a few days ago with new features and improvements.
KeePassXC 2.6.3 features Argon2id KDF and version 2 XML key files support. Other changes include:
Improve CSV Import/Export
Support empty area dragging of app window.
Display default Auto-Type sequence in preview pane.
Remove strict length limit on generated passwords
Hide key file path by default when unlocking database
Document support for managed Microsoft Edge
Prevent clipboard history and cloud sync.
Various bug-fixes.
How to Install KeePassXC 2.6.3 in Ubuntu:
The Latest KeePassXC is available in Ubuntu Software via Snap package. The official download page also offers non-install Appimage package.
For those prefer the classic apt method, the official upstream PPA has made the new release packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10.
1.) Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application launcher.
When terminal opens, run command to add the PPA:
sudo add-apt-repository ppa:phoerious/keepassxc
Type your password (no asterisk feedback) when it prompts and hit Enter to continue.
2.) Then either update the software package using Software Updater
or run command to install the software:
sudo apt update && sudo apt install keepassxc
Uninstall:
You can run the PPA repository simply by running command in terminal:
KeePassXC, KeePass cross-platform community edition, released version 2.5.2 a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 19.10 via PPA.
KeePassXC 2.5.2 features significant stability and usability improvements. Changes in the release include:
Show UI warning when entering invalid URLs
Option to use an entry only for HTTP auth
Disable the user interface when merging or saving the database
Ability to hide protected attribute after reveal
Improve GUI tests reliability on Hi-DPI displays
Fix crashes when saving a database to cloud storage
How to Install KeePassXC 2.5.2 in Ubuntu:
For Ubuntu 18.04 and higher, KeePassXC Snap package (runs in sandbox) can be easily installed via Ubuntu Software.
For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:
1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.
sudo add-apt-repository ppa:phoerious/keepassxc
Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.
2. Then upgrade KeePassXC from previous release via Software Updater:
or run commands one by one in terminal to install the password manager:
sudo apt update
sudo apt install keepassxc
Uninstall:
To remove the PPA, open Software & Updates and navigate to Other Software tab.
To remove KeePassXC .deb package, run command in terminal:
KeePassXC, KeePass cross-platform community edition, released version 2.5.0 today with a large number of new features and improvements.
KeePassXC 2.5.0 release highlights:
Add paper backup support (Export to HTML).
Add database statistics panel
Offline user manual.
Import 1Password OpVault files
Add support for OnlyKey as an alternative to YubiKeys
The new release also brings a redesigned unlock dialog, a reworked entry panel, a function to download favicons for all your entries at once, and many CLI improvements. See the release note for more details.
How to Install KeePassXC 2.5.0 in Ubuntu:
For Ubuntu 18.04 and higher, the easiest way is to install the Snap package (runs in sandbox) via Ubuntu Software:
For those prefer native Ubuntu .deb package, open terminal from application menu or press Ctrl+Alt+T on keyboard, and run following commands one by one:
1.) Run command to add the official PPA, which so far supports for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.
sudo add-apt-repository ppa:phoerious/keepassxc
Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.
2. Then upgrade KeePassXC from previous release via Software Updater:
or run commands one by one in terminal to install the password manager:
sudo apt update
sudo apt install keepassxc
Uninstall:
To remove the PPA, open Software & Updates and navigate to Other Software tab.
To remove KeePassXC .deb package, run command in terminal: