How To Install hwloc-libs on Rocky Linux 8

In this tutorial we learn how to install hwloc-libs on Rocky Linux 8. hwloc-libs is Run time libraries for the hwloc

Introduction

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

What is hwloc-libs

Run time libraries for the hwloc

We can use yum or dnf to install hwloc-libs on Rocky Linux 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 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-libs using dnf by running the following command:

sudo dnf -y install hwloc-libs

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

sudo yum -y install hwloc-libs

How To Uninstall hwloc-libs on Rocky Linux 8

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

sudo dnf remove hwloc-libs

hwloc-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/19/c9a99fc91982ca6574f784a060845bb31f285a
/usr/lib64/libhwloc.so.15
/usr/lib64/libhwloc.so.15.2.0
/usr/share/doc/hwloc
/usr/share/doc/hwloc/AUTHORS
/usr/share/doc/hwloc/COPYING
/usr/share/doc/hwloc/NEWS
/usr/share/doc/hwloc/README
/usr/share/doc/hwloc/VERSION
/usr/share/doc/hwloc/dynamic_SVG_example.html
/usr/share/doc/hwloc/examples
/usr/share/doc/hwloc/examples/Makefile.am
/usr/share/doc/hwloc/examples/Makefile.in
/usr/share/doc/hwloc/examples/Makefile_x86_64
/usr/share/doc/hwloc/examples/cpuset+bitmap+cpubind.c
/usr/share/doc/hwloc/examples/get-knl-modes.c
/usr/share/doc/hwloc/examples/gpu.c
/usr/share/doc/hwloc/examples/hwloc-hello-cpp.cpp
/usr/share/doc/hwloc/examples/hwloc-hello.c
/usr/share/doc/hwloc/examples/nodeset+membind+policy.c
/usr/share/doc/hwloc/examples/sharedcaches.c
/usr/share/doc/hwloc/hwloc-a4.pdf
/usr/share/doc/hwloc/hwloc-letter.pdf
/usr/share/hwloc
/usr/share/hwloc/hwloc-valgrind.supp
/usr/share/hwloc/hwloc.dtd
/usr/share/hwloc/hwloc2-diff.dtd
/usr/share/hwloc/hwloc2.dtd
/usr/share/man/man7/hwloc.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/a16f4396e0ffc2c44f020bed26376c099b9830
/usr/lib/libhwloc.so.15
/usr/lib/libhwloc.so.15.2.0
/usr/share/doc/hwloc
/usr/share/doc/hwloc/AUTHORS
/usr/share/doc/hwloc/COPYING
/usr/share/doc/hwloc/NEWS
/usr/share/doc/hwloc/README
/usr/share/doc/hwloc/VERSION
/usr/share/doc/hwloc/dynamic_SVG_example.html
/usr/share/doc/hwloc/examples
/usr/share/doc/hwloc/examples/Makefile.am
/usr/share/doc/hwloc/examples/Makefile.in
/usr/share/doc/hwloc/examples/Makefile_i386
/usr/share/doc/hwloc/examples/cpuset+bitmap+cpubind.c
/usr/share/doc/hwloc/examples/get-knl-modes.c
/usr/share/doc/hwloc/examples/gpu.c
/usr/share/doc/hwloc/examples/hwloc-hello-cpp.cpp
/usr/share/doc/hwloc/examples/hwloc-hello.c
/usr/share/doc/hwloc/examples/nodeset+membind+policy.c
/usr/share/doc/hwloc/examples/sharedcaches.c
/usr/share/doc/hwloc/hwloc-a4.pdf
/usr/share/doc/hwloc/hwloc-letter.pdf
/usr/share/hwloc
/usr/share/hwloc/hwloc-valgrind.supp
/usr/share/hwloc/hwloc.dtd
/usr/share/hwloc/hwloc2-diff.dtd
/usr/share/hwloc/hwloc2.dtd
/usr/share/man/man7/hwloc.7.gz

References

Summary

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