How To Install netbsd-iscsi on CentOS 7

In this tutorial we learn how to install netbsd-iscsi on CentOS 7. netbsd-iscsi is User-space implementation of iSCSI target from NetBSD project

Introduction

In this tutorial we learn how to install netbsd-iscsi on CentOS 7.

What is netbsd-iscsi

NetBSD iSCSI is an iSCSI target following the iSCSI RFC 3720. It is based on the BSD-licensed Intel iSCSI reference model. It has been tried and tested with the Microsoft iSCSI initiator, version 1.06.

We can use yum or dnf to install netbsd-iscsi on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install netbsd-iscsi.

Install netbsd-iscsi on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install netbsd-iscsi using yum by running the following command:

sudo yum -y install netbsd-iscsi

Install netbsd-iscsi on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install netbsd-iscsi

How To Uninstall netbsd-iscsi on CentOS 7

To uninstall only the netbsd-iscsi package we can use the following command:

sudo dnf remove netbsd-iscsi

References

Summary

In this tutorial we learn how to install netbsd-iscsi on CentOS 7 using yum and dnf.