How To Install libmacaroons on Rocky Linux 8

In this tutorial we learn how to install libmacaroons on Rocky Linux 8. libmacaroons is C library supporting generation and use of macaroons

Introduction

In this tutorial we learn how to install libmacaroons on Rocky Linux 8.

What is libmacaroons

C library supporting generation and use of macaroons

We can use yum or dnf to install libmacaroons on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmacaroons.

Install libmacaroons on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libmacaroons

Install libmacaroons on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libmacaroons

How To Uninstall libmacaroons on Rocky Linux 8

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

sudo dnf remove libmacaroons

libmacaroons Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/a8eb8968f01a45d7e2bf3f8cf4433b8d8811cf
/usr/lib64/libmacaroons.so.0
/usr/lib64/libmacaroons.so.0.0.1
/usr/share/doc/libmacaroons
/usr/share/doc/libmacaroons/README
/usr/share/licenses/libmacaroons
/usr/share/licenses/libmacaroons/LICENSE

References

Summary

In this tutorial we learn how to install libmacaroons on Rocky Linux 8 using yum and dnf.