How To Install numactl on Fedora 34

numactl is Library for tuning for Non Uniform Memory Access machines

Introduction

In this tutorial we learn how to install numactl on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install numactl.

Install numactl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install numactl

Install numactl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove numactl

numactl Package Contents on Fedora 34

/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/2a
/usr/lib/.build-id/2a/c3849ca61435e7589bd10a2021e06b9efa93a0
/usr/lib/.build-id/37
/usr/lib/.build-id/37/8f24f4e3796782306e4c7e7c99ed4af7a4734b
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/2ac818aff606ef62fa60cca5e70c9fcc41bcfa
/usr/lib/.build-id/69
/usr/lib/.build-id/69/6c22b8eaae6f36f94cf455e0e3aeddc50a30da
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/c84c5a94d64d8a214a02921a284318029a749b
/usr/lib/.build-id/de
/usr/lib/.build-id/de/d7e7beb63d3780eae9cf4213d8368ced92b005
/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 Fedora 34 using yum and dnf.