How To Install hwloc-libs on AlmaLinux 8

In this tutorial we learn how to install hwloc-libs in AlmaLinux 8. hwloc-libs is Run time libraries for the hwloc

Introduction

In this tutorial we learn how to install hwloc-libs on AlmaLinux 8.

What is hwloc-libs

Run time libraries for the hwloc

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

Install hwloc-libs on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install hwloc-libs

Install hwloc-libs on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install hwloc-libs using yum by running the following command:

sudo yum -y install hwloc-libs

How To Uninstall hwloc-libs on AlmaLinux 8

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

sudo dnf remove hwloc-libs

References

Summary

In this tutorial we learn how to install hwloc-libs on AlmaLinux 8 using yum and dnf.