How To Install numactl on CentOS 8
Introduction
In this tutorial we learn how to install numactl
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install numactl.
Install numactl on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the numactl
package we can use the following command:
sudo dnf remove numactl
numactl Package Contents on CentOS 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/52
/usr/lib/.build-id/52/b7431770ab0fa6a16c66342aca586b68de1f90
/usr/lib/.build-id/58
/usr/lib/.build-id/58/71d977e779cf151114058c9845adb0cffe5df3
/usr/lib/.build-id/67
/usr/lib/.build-id/67/bc5f5db5736313081e967942b54f4829e7e9a0
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/c074768ef3beb9b6addc2983a05a1555755939
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/b18bfa4e7f027dfde81669d75789b34fffd4d0
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/6cc1489bc9f955674eeea779fb050c8ef6bfe1
/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 CentOS 8 using yum and dnf.