How To Install libiscsi-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libiscsi-devel.x86_64 in Amazon Linux 2. libiscsi-devel.x86_64 is iSCSI client development libraries

Introduction

In this tutorial we learn how to install libiscsi-devel.x86_64 on Amazon Linux 2.

What is libiscsi-devel.x86_64

The libiscsi-devel package includes the header files for libiscsi.

We can use yum to install libiscsi-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libiscsi-devel.x86_64.

Install libiscsi-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libiscsi-devel.x86_64 using yum by running the following command:

sudo yum -y install libiscsi-devel.x86_64

How To Uninstall libiscsi-devel.x86_64 on Amazon Linux 2

To uninstall only the libiscsi-devel.x86_64 package we can use the following command:

sudo yum remove libiscsi-devel.x86_64

libiscsi-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/iscsi/iscsi.h
/usr/include/iscsi/scsi-lowlevel.h
/usr/lib64/iscsi/libiscsi.so
/usr/lib64/pkgconfig/libiscsi.pc
/usr/share/doc/libiscsi-devel-1.9.0
/usr/share/doc/libiscsi-devel-1.9.0/COPYING
/usr/share/doc/libiscsi-devel-1.9.0/LICENCE-LGPL-2.1.txt
/usr/share/doc/libiscsi-devel-1.9.0/README
/usr/share/doc/libiscsi-devel-1.9.0/TODO

References

Summary

In this tutorial we learn how to install libiscsi-devel.x86_64 on Amazon Linux 2 using yum.