How To Install hwloc-plugins on Rocky Linux 8

In this tutorial we learn how to install hwloc-plugins on Rocky Linux 8. hwloc-plugins is Plugins for hwloc

Introduction

In this tutorial we learn how to install hwloc-plugins on Rocky Linux 8.

What is hwloc-plugins

This package contains plugins for hwloc. This includes - PCI support - GL support - libxml support

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

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

sudo dnf -y install hwloc-plugins

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

sudo yum -y install hwloc-plugins

How To Uninstall hwloc-plugins on Rocky Linux 8

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

sudo dnf remove hwloc-plugins

hwloc-plugins Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/72e7057ce358665ed11a4464d7094ea3406fda
/usr/lib/.build-id/76
/usr/lib/.build-id/76/c0fd3dcbd45b6d7c61a2c437527b0836383c66
/usr/lib/.build-id/83
/usr/lib/.build-id/83/45c80586e03662342559aa6dc0185b2a32c9f3
/usr/lib64/hwloc
/usr/lib64/hwloc/hwloc_gl.so
/usr/lib64/hwloc/hwloc_pci.so
/usr/lib64/hwloc/hwloc_xml_libxml.so

References

Summary

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