How To Install libiscsi on Fedora 34

libiscsi is iSCSI client library iSCSI client library

Introduction

In this tutorial we learn how to install libiscsi on Fedora 34.

What is libiscsi

libiscsi is a library for attaching to iSCSI resources across a network. libiscsi 1.19.0 3.fc34 x86_64 88 k libiscsi-1.19.0-3.fc34.src.rpm fedora iSCSI client library https LGPLv2+ libiscsi is a library for attaching to iSCSI resources across a network.

We can use yum or dnf to install libiscsi on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libiscsi.

Install libiscsi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libiscsi using dnf by running the following command:

sudo dnf -y install libiscsi

Install libiscsi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libiscsi

How To Uninstall libiscsi on Fedora 34

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

sudo dnf remove libiscsi

libiscsi Package Contents on Fedora 34

/etc/ld.so.conf.d/libiscsi-i386.conf
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/6e87cf4e88bfba5a7bd172fb006295ace1a42c
/usr/lib/iscsi
/usr/lib/iscsi/libiscsi.so.9
/usr/lib/iscsi/libiscsi.so.9.0.0
/usr/share/doc/libiscsi
/usr/share/doc/libiscsi/README
/usr/share/doc/libiscsi/TODO
/usr/share/licenses/libiscsi
/usr/share/licenses/libiscsi/COPYING
/usr/share/licenses/libiscsi/LICENCE-LGPL-2.1.txt
/etc/ld.so.conf.d/libiscsi-x86_64.conf
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/7e86a804b13b7f368987e9a0114c10c2580692
/usr/lib64/iscsi
/usr/lib64/iscsi/libiscsi.so.9
/usr/lib64/iscsi/libiscsi.so.9.0.0
/usr/share/doc/libiscsi
/usr/share/doc/libiscsi/README
/usr/share/doc/libiscsi/TODO
/usr/share/licenses/libiscsi
/usr/share/licenses/libiscsi/COPYING
/usr/share/licenses/libiscsi/LICENCE-LGPL-2.1.txt

References

Summary

In this tutorial we learn how to install libiscsi on Fedora 34 using yum and dnf.