How To Install libtalloc on Rocky Linux 8

In this tutorial we learn how to install libtalloc on Rocky Linux 8. libtalloc is The talloc library

Introduction

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

What is libtalloc

A library that implements a hierarchical allocator with destructors.

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

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

sudo dnf -y install libtalloc

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

sudo yum -y install libtalloc

How To Uninstall libtalloc on Rocky Linux 8

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

sudo dnf remove libtalloc

libtalloc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/16aebc3718eacb964fdacd52e95197cd1f96a1
/usr/lib64/libtalloc.so.2
/usr/lib64/libtalloc.so.2.3.1
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/b278248f18dd52320fc8f90c08ff44681e3af9
/usr/lib/libtalloc.so.2
/usr/lib/libtalloc.so.2.3.1

References

Summary

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