How To Install libfido2 on Fedora 36

In this tutorial we learn how to install libfido2 in Fedora 36. libfido2 is FIDO2 library

Introduction

In this tutorial we learn how to install libfido2 on Fedora 36.

What is libfido2

libfido2 is an open source library to support the FIDO2 protocol. FIDO2 is an open authentication standard that consists of the W3C Web Authentication specification (WebAuthn API), and the Client to Authentication Protocol (CTAP). CTAP is an application layer protocol used for communication between a client (browser) or a platform (operating system) with an external authentication device (for example the Yubico Security Key).

We can use yum or dnf to install libfido2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libfido2.

Install libfido2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libfido2 using dnf by running the following command:

sudo dnf -y install libfido2

Install libfido2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libfido2 using yum by running the following command:

sudo yum -y install libfido2

How To Uninstall libfido2 on Fedora 36

To uninstall only the libfido2 package we can use the following command:

sudo dnf remove libfido2

libfido2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/07d1a8d79819495bfe8aa4482440cfb782bb1a
/usr/lib64/libfido2.so.1
/usr/lib64/libfido2.so.1.10.0
/usr/share/doc/libfido2
/usr/share/doc/libfido2/NEWS
/usr/share/doc/libfido2/README.adoc
/usr/share/licenses/libfido2
/usr/share/licenses/libfido2/LICENSE

References

Summary

In this tutorial we learn how to install libfido2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).