How To Install libcbor on Fedora 36

In this tutorial we learn how to install libcbor in Fedora 36. libcbor is A CBOR parsing library

Introduction

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

What is libcbor

libcbor is a C library for parsing and generating CBOR.

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

Install libcbor 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 libcbor using dnf by running the following command:

sudo dnf -y install libcbor

Install libcbor 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 libcbor using yum by running the following command:

sudo yum -y install libcbor

How To Uninstall libcbor on Fedora 36

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

sudo dnf remove libcbor

libcbor Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/3b1159aa362affaadf4afa8179143f530b0d35
/usr/lib64/libcbor.so.0.7
/usr/lib64/libcbor.so.0.7.0
/usr/share/doc/libcbor
/usr/share/doc/libcbor/README.md
/usr/share/licenses/libcbor
/usr/share/licenses/libcbor/LICENSE.md
/usr/share/man/man1/libcbor.1.gz

References

Summary

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