{"id":46763,"date":"2024-06-17T16:24:48","date_gmt":"2024-06-17T16:24:48","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46763"},"modified":"2025-09-19T11:07:46","modified_gmt":"2025-09-19T11:07:46","slug":"ppa-updated-for-installing-keepass2-2-57-in-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/06\/ppa-updated-for-installing-keepass2-2-57-in-ubuntu-24-04\/","title":{"rendered":"PPA Updated for Installing KeePass2 2.59 in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43100\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/09\/keepass2-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>For those who are sticking to KeePass2 password manager, here&#8217;s an Ubuntu PPA contains most recent <code>.deb<\/code> package for Ubuntu 24.04, Ubuntu 25.04, Ubuntu 22.04, Ubuntu 20.04, and Ubuntu 18.04.<\/b><\/p>\n<p>Linux has a native <a href=\"https:\/\/keepassxc.org\/\" target=\"_blank\" rel=\"noopener\">KeepassXC<\/a> password manager, though KeePass2 is still available for choice, which runs in Linux through Microsoft&#8217;s mono software framework.<\/p>\n<p>Ubuntu includes KeePass2 package in system repository, but always old!<\/p>\n<p>For the most recent versions, 3rd PPAs so far are the only choices besides building from the <a href=\"https:\/\/keepass.info\/download.html\" target=\"_blank\" rel=\"noopener\">source tarball<\/a>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46764\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-700x545.webp\" alt=\"\" width=\"610\" height=\"475\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-700x545.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-300x234.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-768x598.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-1536x1196.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager-1320x1028.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/keepass2-passwd-manager.webp 1800w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>The most recent is KeePass2 2.57, features more secure options including <code>Prevent certain screen captures<\/code> option in &#8220;Tools -&gt; Options&#8221;, and ability to create key files on secure desktop.<\/p>\n<p>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).<\/p>\n<p>Other changes in KeePass2 2.57 include:<\/p>\n<ul>\n<li>New keyboard shorcuts for for the &#8216;Copy Group (Encrypted)&#8217; commands.<\/li>\n<li>Support for long paths when running on .NET 4.6.2 or higher.<\/li>\n<li>Automatically adjust weak key transformation settings to the current default values<\/li>\n<li>Save default to the KDBX 4\/4.1 file format, use Export for old format.<\/li>\n<li>Supports all TLS\/SSL protocol versions when running on .NET 4.7 or higher.<\/li>\n<li>See <a href=\"https:\/\/keepass.info\/news\/n240601_2.57.html\" target=\"_blank\" rel=\"noopener\">release note<\/a> for details.<\/li>\n<\/ul>\n<h3>Install KeePass2 (2.59 updated) from Ubuntu PPA<\/h3>\n<p><b>NOTE 1: The PPA packages seem working good, but without well testing! Go <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/keepass2\/+packages\" target=\"_blank\" rel=\"noopener\">check package details here<\/a>.<\/b><br \/>\n<b>NOTE 2: I&#8217;ll try to update this post as long as possible! Please report missing package and compile issues here.<\/b><br \/>\n<b>NOTE 3: For choice, there&#8217;s <a href=\"https:\/\/launchpad.net\/~savoury1\/+archive\/ubuntu\/encryption\" target=\"_blank\" rel=\"noopener\">another PPA<\/a> for KeePass2, along with many more other updated packages.<\/b><\/p>\n<p><b>1.<\/b> First, press <b>Ctrl+Alt+T<\/b> on keyboard to open up a terminal window. When it opens, run the command below to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/keepass2<\/pre>\n<p><i>Type user password (no visual feedback, just type in mind) when it asks for authentication and hit Enter to continue.<\/i><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33222\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal.png\" alt=\"\" width=\"600\" height=\"140\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/keepass2-ppa-focal-450x105.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> For old Ubuntu 18.04 &amp; Linux Mint, you need to manually refresh package cache though it&#8217;s done automatically in Ubuntu 20.04 and higher:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3.<\/b> Finally, either run the apt command below to install the package:<\/p>\n<pre>sudo apt install keepass2<\/pre>\n<p>Or use Software Updater (Update Manager) to update the package if an old version was installed on your system.<\/p>\n<p><b>NOTE: for Ubuntu 22.04 with app launch issue, try command below to install missing dependencies:<\/b><\/p>\n<pre>sudo apt install libmono-system-windows-forms4.0-cil<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-33223\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2.png\" alt=\"\" width=\"600\" height=\"251\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/01\/apt-keepass2-450x188.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>After installation, search for and launch the password manager either from GNOME overview or start menu depends on your desktop environment and enjoy!<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/launch-keepass2.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-46765\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/launch-keepass2-300x158.webp\" alt=\"\" width=\"300\" height=\"158\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/launch-keepass2-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/06\/launch-keepass2.webp 677w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>Uninstall:<\/h3>\n<p>To remove the software package, also open terminal (Ctrl+Alt+T) window and run command:<\/p>\n<pre>sudo apt remove --autoremove keepass2<\/pre>\n<p>And, remove the PPA, either by going to &#8220;Software &amp; Updates -&gt; Other Software&#8221; and remove the source line, or run the command below instead in terminal:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/keepass2<\/pre>","protected":false},"excerpt":{"rendered":"<p>For those who are sticking to KeePass2 password manager, here&#8217;s an Ubuntu PPA contains most recent .deb package for Ubuntu 24.04, Ubuntu 25.04, 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&#8217;s mono software framework. Ubuntu includes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43100,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1322],"class_list":["post-46763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-password-manager"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46763"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46763\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43100"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}