How To Install numactl on Rocky Linux 8

In this tutorial we learn how to install numactl on Rocky Linux 8. numactl is Library for tuning for Non Uniform Memory Access machines

Introduction

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

What is numactl

Simple NUMA policy support. It consists of a numactl program to run other programs with a specific NUMA policy.

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

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

sudo dnf -y install numactl

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

sudo yum -y install numactl

How To Uninstall numactl on Rocky Linux 8

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

sudo dnf remove numactl

numactl Package Contents on Rocky Linux 8

/usr/bin/memhog
/usr/bin/migratepages
/usr/bin/migspeed
/usr/bin/numactl
/usr/bin/numademo
/usr/bin/numastat
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/56f1abc4320f43361fea73cb5fb8aae9b62e0d
/usr/lib/.build-id/39
/usr/lib/.build-id/39/28c35c30c9d86b3568e851efd9860ca8f24b56
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/9ed073f7673fa8e04c42bd76fb5c62a33dc43c
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/19c663f4690c664bb6e2e660d260af199352e7
/usr/lib/.build-id/74
/usr/lib/.build-id/74/e173f1763e0ac1bf639a56d933185896aef8e8
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/88b668bb9d0c5c90f209daf76c5454b6e07de4
/usr/share/doc/numactl
/usr/share/doc/numactl/README.md
/usr/share/man/man8/memhog.8.gz
/usr/share/man/man8/migratepages.8.gz
/usr/share/man/man8/migspeed.8.gz
/usr/share/man/man8/numactl.8.gz
/usr/share/man/man8/numastat.8.gz

References

Summary

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