How To Install lsscsi.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install lsscsi.x86_64
on Amazon Linux 2.
What is lsscsi.x86_64
Uses information provided by the sysfs pseudo file system in Linux kernel 2.6 series to list SCSI devices or all SCSI hosts. Includes a “classic” option to mimic the output of “cat /proc/scsi/scsi” that has been widely used prior to the lk 2.6 series. Author ——– Doug Gilbert <dgilbert(at)interlog(dot)com>
We can use yum
to install lsscsi.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install lsscsi.x86_64.
Install lsscsi.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install lsscsi.x86_64
using yum
by running the following command:
sudo yum -y install lsscsi.x86_64
How To Uninstall lsscsi.x86_64 on Amazon Linux 2
To uninstall only the lsscsi.x86_64
package we can use the following command:
sudo yum remove lsscsi.x86_64
lsscsi.x86_64 Package Contents on Amazon Linux 2
/usr/bin/lsscsi
/usr/share/doc/lsscsi-0.27
/usr/share/doc/lsscsi-0.27/AUTHORS
/usr/share/doc/lsscsi-0.27/COPYING
/usr/share/doc/lsscsi-0.27/CREDITS
/usr/share/doc/lsscsi-0.27/ChangeLog
/usr/share/doc/lsscsi-0.27/INSTALL
/usr/share/doc/lsscsi-0.27/README
/usr/share/man/man8/lsscsi.8.gz
References
Summary
In this tutorial we learn how to install lsscsi.x86_64
on Amazon Linux 2 using yum.