targetclid command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
targetclid: command not found
or when using sudo you get the following error message
sudo: targetclid: command not found
Solutions to targetclid: command not found
How To Fix targetclid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu targetclid is provided by targetcli-fb package.
targetcli-fb is:
The targetcli-fb package is a command-line interface for configuring the LIO generic SCSI target, present in 3.x Linux kernel versions.
The targetcli-fb package is a fork of the “targetcli” code written by RisingTide Systems. The “-fb” differentiates between the original and this version. Please ensure to use either all “fb” versions of the targetcli components – targetcli, rtslib, and configshell, or stick with all non-fb versions, since they are no longer strictly compatible.
To fix this problem, we can install more using the command below.
sudo apt-get -y install targetcli-fb
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install targetcli-fb.
sudo apt -y install targetcli-fb
Or if you have aptitude installed you can use the following command.
sudo aptitude install targetcli-fb
Summary
In this tutorial we learn how to fix targetclid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.