{"id":38054,"date":"2022-03-23T14:28:47","date_gmt":"2022-03-23T14:28:47","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=38054"},"modified":"2025-03-07T06:55:18","modified_gmt":"2025-03-07T06:55:18","slug":"install-latest-keepassxc-ubuntu-2204-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/03\/install-latest-keepassxc-ubuntu-2204-ppa\/","title":{"rendered":"How to Install KeePassXC 2.7.10 in Ubuntu 24.04 | 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-37680\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows how to install the latest version of KeePassXC password manager (v2.7.10 so far) and keep it up-to-date in Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04<\/p>\n<p>The popular KeePassXC password manager now is at 2.7.0 release series with many exciting new features. Here&#8217;s are some of them according to the <a href=\"https:\/\/keepassxc.org\/blog\/2022-03-21-2.7.0-released\/\" target=\"_blank\" rel=\"noopener\">release note<\/a>:<\/p>\n<ul>\n<li><b>Entry tagging<\/b><\/li>\n<li><b>Unlock via Windows Hello and macOS Touch ID<\/b><\/li>\n<li><b>Auto-Type overhaul.<\/b><\/li>\n<li>Improvements to Secret Service integration (Linux)<\/li>\n<li><b>Change the crypto backend from libgcrypt to Botan<\/b><\/li>\n<\/ul>\n<div id=\"attachment_38055\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38055\" class=\"size-large wp-image-38055\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags-600x452.webp\" alt=\"\" width=\"600\" height=\"452\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags-600x452.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags-768x578.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-tags.webp 1201w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-38055\" class=\"wp-caption-text\">KeePass 2.7 Entry tags<\/p><\/div>\n<p>To get the most recent KeePass in Ubuntu, you have <b>4 choices<\/b>:<\/p>\n<ul>\n<li><b>Snap package<\/b> &#8211; runs in sandbox environment.<\/li>\n<li><b>AppImage<\/b> &#8211; no installation required. Just run to launch the app.<\/li>\n<li><b>Ubuntu PPA<\/b> &#8211; contains native <code>.deb<\/code> package.<\/li>\n<li><b>Flatpak package<\/b> &#8211; runs in sandbox environment.<\/li>\n<\/ul>\n<p>All of them are official! Choose one that you prefer.<\/p>\n<h3>Option 1: KeePassXC Snap package<\/h3>\n<p>Snap is the easiest way to install the app in Ubuntu, however, it runs in sandbox and so far it&#8217;s a bit lag behind. The snap is at v2.7.8 while the latest has reached v2.7.9.<\/p>\n<p>To install it, just launch <b>App Center<\/b> (or Ubuntu Software), then search and click install KeePassXC filtered by Snap package.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47436\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap-700x416.webp\" alt=\"\" width=\"610\" height=\"363\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap-700x416.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap-768x456.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-snap.webp 1102w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Or, press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, and run command to install the package:<\/p>\n<pre>sudo snap install keepassxc<\/pre>\n<p>Snap package installs updates automatically, though you may run the command below to check updates manually:<\/p>\n<pre>sudo snap refresh keepassxc<\/pre>\n<h3>Option 2: KeePassXC AppImage package<\/h3>\n<p>The software website provides Linux package via AppImage. It&#8217;s available to download via the link button below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/keepassxc.org\/download\/#linux\" target=\"_blank\" rel=\"noreferrer noopener\">Download KeePassXC AppImage<\/a><\/div>\n<\/div>\n<p>No installation required, after downloaded the AppImage, just go to its &#8216;Properties&#8217; dialog, enable &#8220;Executable as Program&#8221; permission. Finally, click Run will launch the password manager.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47437\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279-700x498.webp\" alt=\"\" width=\"610\" height=\"434\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279-700x498.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279-768x547.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-appimage279.webp 1058w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>NOTE: Ubuntu 22.04 and higher does NOT support AppImage out-of-the-box, due to miss <code>libfuse2<\/code> library. Open terminal (Ctrl+Alt+T) and run command to get it:<\/p>\n<pre>sudo apt install libfuse2<\/pre>\n<h3>Option 3: Install KeePassXC via Ubuntu PPA<\/h3>\n<p>For native <code>.deb<\/code> package, the <a href=\"https:\/\/launchpad.net\/~phoerious\/+archive\/ubuntu\/keepassxc\" target=\"_blank\" rel=\"noopener\">official PPA<\/a> contains the package for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04. So far, it supports <code>amd64<\/code>, <code>arm64<\/code>, <code>armhf<\/code>, and <code>riscv64<\/code> CPU architecture types.<\/p>\n<h4>1. Add the PPA<\/h4>\n<p>Firstly, press <i><b>Ctrl+Alt+T<\/b><\/i> on keyboard to open terminal window. When it opens, paste the command below and hit Enter to add PPA:<\/p>\n<pre>sudo add-apt-repository ppa:phoerious\/keepassxc<\/pre>\n<p><i>Type user password (no asterisk feedback) and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-38056\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-ppa-jammy-600x239.webp\" alt=\"\" width=\"600\" height=\"239\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-ppa-jammy-600x239.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-ppa-jammy-300x119.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-ppa-jammy-768x306.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/keepassxc-ppa-jammy.webp 774w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>2. Update package cache.<\/h4>\n<p>Ubuntu now automatically refresh package cache while adding PPA, but some Ubuntu based systems (e.g., Linux Mint) does NOT.<\/p>\n<p>To manually refresh system package cache, run command:<\/p>\n<pre>sudo apt update<\/pre>\n<h4>3. Install \/ upgrade KeePassXC<\/h4>\n<p>Finally, install the password manager by running command in terminal:<\/p>\n<pre>sudo apt install keepassxc<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-38057\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy-600x261.webp\" alt=\"\" width=\"600\" height=\"261\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy-600x261.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy-300x131.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy-768x334.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/apt-keepassxc-jammy.webp 774w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>If you already have an old version of the package installed, then just launch &#8220;<b>Software Updater<\/b>&#8221; to check and install updates.<\/p>\n<h3>Option 4: Install KeePassXC via Flatpak package<\/h3>\n<p>Flatpak is another universal Linux package format that runs in sandbox. KeePassXC is available to install as Flatpak package through the <a href=\"https:\/\/flathub.org\/apps\/org.keepassxc.KeePassXC\" target=\"_blank\" rel=\"noopener\">Flathub repository<\/a>. So far, it supports code&gt;amd64, <code>arm64<\/code> CPU architecture types.<\/p>\n<p>For <b>Linux Mint 21\/22<\/b>, and <b>Fedora<\/b> Workstation (with 3rd party repository enabled), simply search for and install the package from either Software Manager or GNOME Software.<\/p>\n<p>While Ubuntu and other Linux can install the package by following steps below one by one:<\/p>\n<ul>\n<li>First, open terminal (Ctrl+Alt+T) and run command to enable Flatpak support:\n<pre>sudo apt install flatpak<\/pre>\n<p>Old Ubuntu 18.04 user may need to add <a href=\"https:\/\/launchpad.net\/~flatpak\/+archive\/ubuntu\/stable\" target=\"_blank\" rel=\"noopener\">this PPA<\/a> first for most recent daemon package.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Then, add the Flathub repository which hosts the software package:\n<pre>flatpak remote-add --if-not-exists flathub https:\/\/dl.flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<p>For other Linux, follow the official <a href=\"https:\/\/flatpak.org\/setup\/\" target=\"_blank\" rel=\"noopener\">setup guide<\/a> to enable Flatpak support.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47289\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-700x257.webp\" alt=\"\" width=\"610\" height=\"224\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-700x257.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-300x110.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Finally, run command to install the password manager as Flatpak package:\n<pre>flatpak install flathub org.keepassxc.KeePassXC<\/pre>\n<p>As it runs in sandbox, it also needs lots of downloads for run-time libraries as the screenshot below shows you.<br \/>\n<a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47439\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc-700x596.webp\" alt=\"\" width=\"610\" height=\"519\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc-700x596.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc-300x255.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc-768x653.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/flatpak-keepassxc.webp 818w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ul>\n<p>After installed the package, search for and launch the app from either start menu or GNOME overview depends on your desktop.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/launch-keepassxc.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47438\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/launch-keepassxc.webp\" alt=\"\" width=\"535\" height=\"281\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/launch-keepassxc.webp 535w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/03\/launch-keepassxc-300x158.webp 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><br \/>\nIf app icon not visible, try either log out and back in, or run the command below instead to launch it:<\/p>\n<pre>flatpak run org.keepassxc.KeePassXC<\/pre>\n<p>And, to check updates for the Flatpak package, use command:<\/p>\n<pre>flatpak update org.keepassxc.KeePassXC<\/pre>\n<h3>Uninstall KeePassXC:<\/h3>\n<p>For any reason, you may remove the password manager by running one of the commands below in terminal:<\/p>\n<ul>\n<li>To remove the snap package, either use App Center (or Ubuntu Software) or run command in terminal:\n<pre>sudo snap remove --purge keepassxc<\/pre>\n<\/li>\n<li>To remove the native .deb package, use command:\n<pre>sudo apt remove --autoremove keepassxc<\/pre>\n<p>And, remove the Ubuntu PPA by using command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:phoerious\/keepassxc<\/pre>\n<\/li>\n<li>For the Flatpak package, use the command below instead to uninstall:\n<pre>flatpak uninstall --delete-data org.keepassxc.KeePassXC<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to clear useless runtime libraries.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install the latest version of KeePassXC password manager (v2.7.10 so far) and keep it up-to-date in Ubuntu 24.04, Ubuntu 22.04, and Ubuntu 20.04 The popular KeePassXC password manager now is at 2.7.0 release series with many exciting new features. Here&#8217;s are some of them according to the release note: Entry [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":37680,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[322],"class_list":["post-38054","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-password"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38054","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=38054"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/38054\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/37680"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=38054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=38054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=38054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}