How To Install libhbaapi on Rocky Linux 8

In this tutorial we learn how to install libhbaapi on Rocky Linux 8. libhbaapi is SNIA HBAAPI library

Introduction

In this tutorial we learn how to install libhbaapi on Rocky Linux 8.

What is libhbaapi

The SNIA HBA API library. C-level project to manage Fibre Channel Host Bus Adapters.

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

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

sudo dnf -y install libhbaapi

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

sudo yum -y install libhbaapi

How To Uninstall libhbaapi on Rocky Linux 8

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

sudo dnf remove libhbaapi

libhbaapi Package Contents on Rocky Linux 8

/etc/hba.conf
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/f09f996b14ff7b824fa7e5bca5b640a906da85
/usr/lib64/libHBAAPI.so.2
/usr/lib64/libHBAAPI.so.2.0.2
/usr/share/doc/libhbaapi
/usr/share/doc/libhbaapi/COPYING
/etc/hba.conf
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/42454289cdc7b18efa599f953d234dc225ee60
/usr/lib/libHBAAPI.so.2
/usr/lib/libHBAAPI.so.2.0.2
/usr/share/doc/libhbaapi
/usr/share/doc/libhbaapi/COPYING

References

Summary

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