How To Install libiscsi.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libiscsi.x86_64 in Amazon Linux 2. libiscsi.x86_64 is iSCSI client library

Introduction

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

What is libiscsi.x86_64

libiscsi is a library for attaching to iSCSI resources across a network.

We can use yum to install libiscsi.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.x86_64.

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

sudo yum -y install libiscsi.x86_64

How To Uninstall libiscsi.x86_64 on Amazon Linux 2

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

sudo yum remove libiscsi.x86_64

libiscsi.x86_64 Package Contents on Amazon Linux 2

/etc/ld.so.conf.d/libiscsi-x86_64.conf
/usr/lib64/iscsi/libiscsi.so.2
/usr/lib64/iscsi/libiscsi.so.2.0.10900
/usr/share/doc/libiscsi-1.9.0
/usr/share/doc/libiscsi-1.9.0/COPYING
/usr/share/doc/libiscsi-1.9.0/LICENCE-LGPL-2.1.txt
/usr/share/doc/libiscsi-1.9.0/README
/usr/share/doc/libiscsi-1.9.0/TODO

References

Summary

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