How To Install numactl-libs on Rocky Linux 8

In this tutorial we learn how to install numactl-libs on Rocky Linux 8. numactl-libs is libnuma libraries

Introduction

In this tutorial we learn how to install numactl-libs on Rocky Linux 8.

What is numactl-libs

numactl-libs provides libnuma, a library to do allocations with NUMA policy in applications.

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

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

sudo dnf -y install numactl-libs

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

sudo yum -y install numactl-libs

How To Uninstall numactl-libs on Rocky Linux 8

To uninstall only the numactl-libs package we can use the following command:

sudo dnf remove numactl-libs

numactl-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/391e88f26be03a68adf0d6c11a75628a11049c
/usr/lib64/libnuma.so.1
/usr/lib64/libnuma.so.1.0.0
/usr/lib/.build-id
/usr/lib/.build-id/98
/usr/lib/.build-id/98/cae46a6d1baaf106268a859dedf6e647d96d9a
/usr/lib/libnuma.so.1
/usr/lib/libnuma.so.1.0.0

References

Summary

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