How To Install libiscsi-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libiscsi-devel
on Rocky Linux 8.
What is libiscsi-devel
The libiscsi-devel package includes the header files for libiscsi.
We can use yum
or dnf
to install libiscsi-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libiscsi-devel.
Install libiscsi-devel 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 libiscsi-devel
using dnf
by running the following command:
sudo dnf -y install libiscsi-devel
Install libiscsi-devel 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 libiscsi-devel
using yum
by running the following command:
sudo yum -y install libiscsi-devel
How To Uninstall libiscsi-devel on Rocky Linux 8
To uninstall only the libiscsi-devel
package we can use the following command:
sudo dnf remove libiscsi-devel
libiscsi-devel Package Contents on Rocky Linux 8
/usr/include/iscsi
/usr/include/iscsi/iscsi.h
/usr/include/iscsi/scsi-lowlevel.h
/usr/lib64/iscsi/libiscsi.so
/usr/lib64/pkgconfig/libiscsi.pc
References
Summary
In this tutorial we learn how to install libiscsi-devel
on Rocky Linux 8 using yum and dnf.