{"id":256402,"date":"2023-06-13T15:57:14","date_gmt":"2023-06-13T12:57:14","guid":{"rendered":"https:\/\/shop.thekernel.ua\/5-ways-to-install-yubico-software-on-linux"},"modified":"2023-06-13T16:18:49","modified_gmt":"2023-06-13T13:18:49","slug":"5-ways-to-install-yubico-software-on-linux","status":"publish","type":"post","link":"https:\/\/shop.thekernel.ua\/en\/5-ways-to-install-yubico-software-on-linux","title":{"rendered":"5 ways to install Yubico software on Linux"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; text_font_size=&#8221;16px&#8221; global_colors_info=&#8221;{}&#8221;]<span style=\"font-weight: 400;\">To use YubiKeys on a Linux system, you will need to install the appropriate Yubico software:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Yubico authenticator;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">YubiKey Manager;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Built-in repositories;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Yubico PPA packages;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Compilation from the source code.<\/span><\/li>\n<\/ul>\n<h2><b>Installing the Yubico Authenticator<\/b><\/h2>\n<hr>\n<p><span style=\"font-weight: 400;\">There are several ways to install a Yubico authenticator:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Choose the distribution that best suits your version of Linux from <\/span><a href=\"https:\/\/snapcraft.io\/yubioath-desktop\"><span style=\"font-weight: 400;\">the page here<\/span><\/a><span style=\"font-weight: 400;\">. <\/span> <\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Download <\/span><a href=\"https:\/\/developers.yubico.com\/yubioath-desktop\/Releases\/yubioath-desktop-latest-linux.AppImage\"><span style=\"font-weight: 400;\">AppImage<\/span><\/a><span style=\"font-weight: 400;\">, on <\/span><a href=\"https:\/\/appimage.org\/\"><span style=\"font-weight: 400;\">this site<\/span><\/a><span style=\"font-weight: 400;\"> you will find instructions on how to use it. Before running the program, make sure you have the <strong>pcscd<\/strong> package installed. To check if it is installed, type the command in the terminal: <\/span><code>systemctl status pcscd<\/code>. And to check if it&#8217;s on: <code>systemctl is-enabled pcscd<\/code>. To enable and run the package, type: <code>sudo systemctl enable --now pcscd<\/code>.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Install the authenticator through the distribution&#8217;s repository if your Linux version allows it. Since the options may differ from OS to OS, you will need to refer to the documentation that came with the respective version to perform this step. Or you can try to find it on the Internet.<\/li>\n<\/ol>\n<h2><b>Installing the YubiKey Manager<\/b><\/h2>\n<hr>\n<p>You can download YubiKey Manager via AppImage <a href=\"https:\/\/developers.yubico.com\/yubikey-manager-qt\/Releases\/yubikey-manager-qt-latest-linux.AppImage\"><span style=\"font-weight: 400;\">at this link<\/span><\/a>. Just like in the previous case, the AppImages program will work with the <b>pcscd<\/b> package installed.<\/p>\n<p><span style=\"font-weight: 400;\">You can also try to install the Manager through the repository by referring to the documentation of your distribution.<\/span><\/p>\n<h2><b>Install software using built-in repositories<\/b><\/h2>\n<hr>\n<p>If you have built-in distribution repositories, we recommend using them. The settings will depend on your OS. For example, for the Fedora version, to install the Yubico PAM module, you will need to enter a command: <code>sudo dnf install pam_yubico<\/code><\/p>\n<h2><b>Using Yubico PPA packages <\/b><\/h2>\n<hr>\n<p><span style=\"font-weight: 400;\">If your distribution repository does not contain Yubico packages, you can download <\/span><a href=\"https:\/\/launchpad.net\/~yubico\/+archive\/ubuntu\/stable\"><span style=\"font-weight: 400;\">Yubico PPA<\/span><\/a><span style=\"font-weight: 400;\">. To add a repository to your local directory, follow these steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Open a terminal and run the command: <code>sudo add-apt-repository ppa:yubico\/stable &amp;&amp; sudo apt-get update<\/code>.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">When the package is finished downloading, press <\/span><b>Enter,<\/b><span style=\"font-weight: 400;\"> to confirm that the PPA has been added to your server.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">If you see that <\/span><strong>sudo add-apt-repository ppa:yubico\/stable<\/strong><span style=\"font-weight: 400;\"> cannot get the signing key, try adding it manually with the command: <\/span><span style=\"font-weight: 400;\"><code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 32CBA1A9<\/code><\/span><span style=\"font-weight: 400;\">. <\/span> <\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">After successfully completing all the steps, you can install the latest version of the software using the command in the terminal: <\/span><span style=\"font-weight: 400;\"><code>apt install<\/code><\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Below are common commands for installation (which may differ slightly depending on the OS).<\/span><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Program<\/b><\/td>\n<td><b>\u0421ommand<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">YubiKey Manager<\/span><\/td>\n<td><span style=\"font-weight: 400;\"><code>sudo apt install yubikey-manager<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Yubico package<\/span><\/td>\n<td><span style=\"font-weight: 400;\"><code>sudo apt install libpam-yubico<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">U2F package<\/span><\/td>\n<td><span style=\"font-weight: 400;\"><code>sudo apt install libpam-u2f<\/code><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2><b>Compiling using the source code<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">This method is designed for those with relevant development and programming experience. To install the Yubico software on Linux by compiling source code snippets, you will need the Yubico software source code, which can be found at <\/span><a href=\"https:\/\/github.com\/Yubico\"><span style=\"font-weight: 400;\">GitHub<\/span><\/a><span style=\"font-weight: 400;\">. If you don&#8217;t have the relevant experience, we recommend using the other methods described above. <\/span><\/p>\n<p><b>If you&#8217;re interested in setting up a YubiKey on Linux, please refer to our Knowledge Base for instructions.<\/b>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;RGBA(255,255,255,0)&#8221; use_background_color_gradient=&#8221;on&#8221; background_enable_mask_style=&#8221;on&#8221; background_mask_style=&#8221;honeycomb&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2 style=\"text-align: center;\">Similar materials in the Knowledge Base<\/h2>\n<p>[\/et_pb_text][et_pb_blog fullwidth=&#8221;off&#8221; posts_number=&#8221;3&#8243; include_categories=&#8221;402,439&#8243; _builder_version=&#8221;4.21.0&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;][\/et_pb_blog][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use YubiKeys on a Linux system, you will need to install the appropriate Yubico software: Yubico authenticator; YubiKey Manager; Built-in repositories; Yubico PPA packages; Compilation from the source code. Installing the Yubico Authenticator There are several ways to install a Yubico authenticator: Choose the distribution that best suits your version of Linux from the [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":256416,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"5 ways to install Yubico software on Linux","_seopress_titles_desc":"In order to use YubiKeys on a Linux system, you will need to install the appropriate Yubico software. We will tell you which one and how to install it.","_seopress_robots_index":"","_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[402,439],"tags":[],"class_list":["post-256402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-settings","category-settings-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/posts\/256402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/comments?post=256402"}],"version-history":[{"count":4,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/posts\/256402\/revisions"}],"predecessor-version":[{"id":256425,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/posts\/256402\/revisions\/256425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/media\/256416"}],"wp:attachment":[{"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/media?parent=256402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/categories?post=256402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shop.thekernel.ua\/en\/wp-json\/wp\/v2\/tags?post=256402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}