How To Install scsi-target-utils on Fedora 36

In this tutorial we learn how to install scsi-target-utils in Fedora 36. scsi-target-utils is The SCSI target daemon and utility programs

Introduction

In this tutorial we learn how to install scsi-target-utils on Fedora 36.

What is scsi-target-utils

The SCSI target package contains the daemon and tools to setup a SCSI targets. Currently, software iSCSI targets are supported.

We can use yum or dnf to install scsi-target-utils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install scsi-target-utils.

Install scsi-target-utils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install scsi-target-utils using dnf by running the following command:

sudo dnf -y install scsi-target-utils

Install scsi-target-utils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install scsi-target-utils using yum by running the following command:

sudo yum -y install scsi-target-utils

How To Uninstall scsi-target-utils on Fedora 36

To uninstall only the scsi-target-utils package we can use the following command:

sudo dnf remove scsi-target-utils

scsi-target-utils Package Contents on Fedora 36

/etc/sysconfig/tgtd
/etc/tgt
/etc/tgt/conf.d
/etc/tgt/conf.d/sample.conf
/etc/tgt/targets.conf
/etc/tgt/tgtd.conf
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/1cffdcde7203b500dd735b198fbec1238d2768
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/d33a6e9f619833aec6a8c44b3a0a80362cebfc
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/70690bf02c2cea24bf37a381d8338003635f2b
/usr/lib/systemd/system/tgtd.service
/usr/sbin/tgt-admin
/usr/sbin/tgt-setup-lun
/usr/sbin/tgtadm
/usr/sbin/tgtd
/usr/sbin/tgtimg
/usr/share/doc/scsi-target-utils
/usr/share/doc/scsi-target-utils/README
/usr/share/doc/scsi-target-utils/README.iscsi
/usr/share/doc/scsi-target-utils/README.iser
/usr/share/doc/scsi-target-utils/README.lu_configuration
/usr/share/doc/scsi-target-utils/README.mmc
/usr/share/doc/scsi-target-utils/README.ssc
/usr/share/man/man5/targets.conf.5.gz
/usr/share/man/man8/tgt-admin.8.gz
/usr/share/man/man8/tgt-setup-lun.8.gz
/usr/share/man/man8/tgtadm.8.gz

References

Summary

In this tutorial we learn how to install scsi-target-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).