How To Install istgt on Kali Linux

In this tutorial we learn how to install istgt on Kali Linux. istgt is iSCSI userspace target daemon for Unix-like operating systems

Introduction

In this tutorial we learn how to install istgt on Kali Linux.

What is istgt

istgt is:

istgt is a iSCSI target for Unix-like operating systems (including those with Linux and kFreeBSD kernels) running as daemon process in user space.

It supports:

  • Multipath I/O
  • 64bit LBA for volumes over 2 TiB size
  • Header/Data digest by CRC32C
  • Mutual authentication with CHAP
  • Multiple LUNs and ACLs for portals
  • IPv6/IPv4 support

There are three methods to install istgt on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install istgt Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install istgt using apt-get by running the following command:

sudo apt-get -y install istgt

Install istgt Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install istgt using apt by running the following command:

sudo apt -y install istgt

Install istgt Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install istgt using aptitude by running the following command:

sudo aptitude -y install istgt

How To Uninstall istgt on Kali Linux

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

sudo apt-get remove istgt

Uninstall istgt And Its Dependencies

To uninstall istgt and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove istgt

Remove istgt Configurations and Data

To remove istgt configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge istgt

Remove istgt configuration, data, and all of its dependencies

We can use the following command to remove istgt configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge istgt

Dependencies

istgt have the following dependencies:

References

Summary

In this tutorial we learn how to install istgt package on Kali Linux using different package management tools: apt, apt-get and aptitude.