Categories: Ubuntu

PPA Updated for Installing KeePass2 2.57 in Ubuntu 24.04

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.

The most recent is KeePass2 2.57, features more secure options including Prevent

Sponsored
certain screen captures option in “Tools -> Options”, and ability to create key files on secure desktop.

The release also includes some improvements, such as DPI detection, method for custom error handling/reporting, and auto-type compatibility with Remote Desktop Client (WSL).

Other changes in KeePass2 2.57 include:

  • New keyboard shorcuts for for the ‘Copy Group (Encrypted)’ commands.
  • Support for long paths when running on .NET 4.6.2 or higher.
  • Automatically adjust weak key transformation settings to the current default values
  • Save default to the KDBX 4/4.1 file format, use Export for old format.
  • Supports all TLS/SSL protocol versions when running on .NET 4.7 or higher.
  • See release note for details.

Install KeePass2 from Ubuntu PPA

NOTE 1: The PPA packages seem working good, but without well testing! Go check package details here.
NOTE 2: I’ll try to update this post as long as possible! Please report missing package and compile issues only here.
NOTE 3: For choice, there’s another PPA for KeePass2, with many more other updated packages.

1. First, press Ctrl+Alt+T on keyboard to open up a terminal window. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/keepass2

Type user password (no visual feedback, just type in mind) when it asks for authentication and hit Enter to continue.

2. For old Ubuntu 18.04 & Linux Mint, you need to manually refresh package cache though it’s done automatically in Ubuntu 20.04 and higher:

Sponsored
sudo apt update

3. Finally, either run the apt command below to install the package:

sudo apt install keepass2

Or use Software Updater (Update Manager) to update the package if an old version was installed on your system.

After installation, search for and launch the password manager either from GNOME overview or start menu depends on your desktop environment and enjoy!

Uninstall:

To remove the software package, also open terminal (Ctrl+Alt+T) window and run command:

sudo apt remove --autoremove keepass2

And, remove the PPA, either by going to “Software & Updates -> Other Software” and remove the source line, or run the command below instead in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/keepass2

The post PPA Updated for Installing KeePass2 2.57 in Ubuntu 24.04 appeared first on Osgrove.

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

2 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

5 days ago