{"id":47448,"date":"2024-10-29T16:12:08","date_gmt":"2024-10-29T16:12:08","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47448"},"modified":"2026-04-03T12:27:53","modified_gmt":"2026-04-03T12:27:53","slug":"howdy-ubuntu-2404","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/10\/howdy-ubuntu-2404\/","title":{"rendered":"Install Howdy in Ubuntu 26.04, 24.04 for Windows Hello Style Facial Authentication"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-47449\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows how to install and setup howdy to get Windows Hello\u2122 style authentication in Ubuntu 24.04, Ubuntu 25.10, and Ubuntu 26.04.<\/p>\n<p><a href=\"https:\/\/github.com\/boltgolt\/howdy\" target=\"_blank\" rel=\"noopener\">Howdy<\/a> is a free open-source Python program, that can use your built-in IR emitters and camera in combination with facial recognition to prove who you are.<\/p>\n<p>With it, you will no longer need to type password anymore for login, un-lock screen, sudo commands, or launching apps that need root permission (e.g., Grub Customizer and Synaptic).<\/p>\n<p><!--more--><\/p>\n<p><b>NOTE: Howdy is NOT as secure as a password and will never be! It&#8217;s just a quick and convenient way of logging in, not a more secure one.<\/b><\/p>\n<h3>Step 1: Install Howdy<\/h3>\n<p>The software has <a href=\"https:\/\/launchpad.net\/~boltgolt\/+archive\/ubuntu\/howdy\" target=\"_blank\" rel=\"noopener\">official PPA<\/a> that contains the .deb packages for all current Ubuntu releases.<\/p>\n<p>The official PPA package however does NOT work for Ubuntu 24.04, due to outdated post-install script. It will try the old <code>pip install<\/code> method to get numpy and dlib modules, which no long works due to upstream <a href=\"https:\/\/peps.python.org\/pep-0668\/\" target=\"_blank\" rel=\"noopener\">Python policy change<\/a>.<\/p>\n<p>Thankfully, Slimbook, a Spanish laptop manufacturer, rebuilt the package along with dlib module into <a href=\"https:\/\/launchpad.net\/~slimbook\/+archive\/ubuntu\/slimbook\" target=\"_blank\" rel=\"noopener\">this PPA<\/a> for Ubuntu 24.04. As the PPA contains lots of other slimbook specific packages, I rebuilt them into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/howdy\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> with Ubuntu 24.04 and Ubuntu 24.10 support.<\/p>\n<p><b>1. Add PPA<\/b><\/p>\n<p><b>For Ubuntu 22.04 and earlier<\/b>, open terminal (Ctrl+Alt+T) and run command to add the official PPA:<\/p>\n<pre>sudo add-apt-repository ppa:boltgolt\/howdy<\/pre>\n<p><b>For Ubuntu 24.04, 25.10, and Ubuntu 26.04,<\/b> add the unofficial PPA instead:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/howdy<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50879\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604-768x590.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604-1320x1014.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-ppa2604.webp 1404w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2. Install Howdy package<\/b><\/p>\n<p>Ubuntu now automatically refresh package cache while adding PPA, but if you&#8217;re following this tutorial in <b>Linux Mint 22<\/b>, then you need to run command to do the update manually:<\/p>\n<pre>sudo apt update<\/pre>\n<p>Next, run command to install the howdy package:<\/p>\n<pre>sudo apt install howdy<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50880\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-howdy2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-howdy2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-howdy2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-howdy2604.webp 702w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>The official PPA package will automatically run post-install script, that will ask you to select between &#8220;Fast&#8221;, &#8220;Balanced&#8221;, and &#8220;Secure&#8221; modes, then update pip, numpy, dlib modules automatically.<\/p>\n<p><b>For Ubuntu 24.04, 25.10, 26.04<\/b>, you also need to manually install the modules by running the commands below:<\/p>\n<pre>sudo apt install python3-numpy python3-opencv python3-dlib libpam-python dlib-models libinireader0<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-dlib-models.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47452\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-dlib-models-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-dlib-models-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-dlib-models-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/apt-dlib-models.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Step 2: Configure Howdy<\/h3>\n<p>After installed howdy, you need to edit the config file and tell path to your webcam device.<\/p>\n<p><b>1. To find out the device path<\/b>, open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>v4l2-ctl --list-devices<\/pre>\n<p>Run <code>sudo apt install v4l-utils<\/code> if the command above not found. And, run <code>sudo apt install ffmpeg<\/code> if ffplay command below not found.<\/p>\n<p>Then, try ffplay command (e.g., <code>ffplay \/dev\/video0<\/code>, <code>ffplay \/dev\/video1<\/code>) to open each device one by one. If it successfully opens an app window with your camera screen, then that&#8217;s the device path for next step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50881\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604-768x590.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604-1320x1014.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/v4l-list2604.webp 1404w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2. Next, edit the config file<\/b> by running the command below in terminal:<\/p>\n<pre>sudo howdy config<\/pre>\n<p>When file opens, scroll down and set &#8220;device_path&#8221; value according to last step. For laptops&#8217; builtin webcam, it&#8217;s usually <b>\/dev\/video0<\/b>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50882\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604-768x590.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604-1320x1014.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-config2604.webp 1404w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Optionally, you may configure more options via the file. They include:<\/p>\n<ul>\n<li><code>detection_notice = true<\/code> &#8211; print text to notify when it attempts face detection.<\/li>\n<li><code>disable-login = true<\/code> &#8211; does not use facial authentication for login.<\/li>\n<li><code>use_cnn = true<\/code> &#8211; use the more accurate CNN model, but takes more time (a few seconds) and more power to run.<\/li>\n<li>and more.<\/li>\n<\/ul>\n<p>After editing the config file, press <b>Ctrl+S<\/b> to save, then <b>Ctrl+X<\/b> to exit.<\/p>\n<h3>Step 3: Add your Face ID<\/h3>\n<p><b>To add face ID<\/b> for current user, use command:<\/p>\n<pre>sudo howdy add<\/pre>\n<p>Then type a name for the ID you&#8217;re going to add. Next, your webcam light should turn on and scan your face. Just look straight into the camera, and wait the scan process done.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50883\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604-768x590.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604-1320x1014.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdyadd2604.webp 1404w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>As the screenshot above shows, you can add face ID for another user, by adding <code>--user USER_NAME<\/code> command option. So, the command will be <code>sudo howdy --user USER_NAME add<\/code>.<\/p>\n<p><b>After added a face ID, you can now run anything that needs authentication to see if it works!<\/b>.<\/p>\n<h3>Step 4: Manage face IDs<\/h3>\n<p>You can run <code>sudo howdy add<\/code> command again and again to add more IDs\/models.<\/p>\n<p><b>To list all the face IDs\/Models<\/b>, use command:<\/p>\n<pre>sudo howdy list<\/pre>\n<p>Then, you may either remove certain ID through its ID number (e.g., 0, 1, 2, &#8230;):<\/p>\n<pre>sudo howdy remove 1<\/pre>\n<p>Or, remove all IDs at once via command:<\/p>\n<pre>sudo howdy clear<\/pre>\n<p>And, to disable facial authentication, use command:<\/p>\n<pre>sudo howdy disable 1<\/pre>\n<p>While replace number 1 in the command with 0 will re-enable it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-commands.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47456\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-commands-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-commands-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-commands-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/10\/howdy-commands.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Uninstall Howdy:<\/h3>\n<p>If you want to remove the Howdy facial authentication tool, open terminal and run command:<\/p>\n<pre>sudo apt remove --autoremove howdy python3-dlib<\/pre>\n<p>Also remove the PPA with either command below depends on which one you added:<\/p>\n<pre>sudo add-apt-repository --remove ppa:boltgolt\/howdy<\/pre>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/howdy<\/pre>\n<p>For Linux Mint users don&#8217;t forget to run <code>sudo apt update<\/code> to manually refresh cache afterward.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install and setup howdy to get Windows Hello\u2122 style authentication in Ubuntu 24.04, Ubuntu 25.10, and Ubuntu 26.04. Howdy is a free open-source Python program, that can use your built-in IR emitters and camera in combination with facial recognition to prove who you are. With it, you will no longer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":47449,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[322],"class_list":["post-47448","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\/47448","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=47448"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47448\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/47449"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}