How To Install sdparm.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install sdparm.x86_64 on Amazon Linux 2.
What is sdparm.x86_64
SCSI disk parameters are held in mode pages. This utility lists or changes those parameters. Other SCSI devices (or devices that use the SCSI command set e.g. some SATA devices) such as CD/DVD and tape drives may also find parts of sdparm useful. Requires the linux kernel 2.4 series or later. In the 2.6 series any device node the understands a SCSI command set may be used (e.g. /dev/sda). In the 2.4 series SCSI device node may be used. Fetches Vital Product Data pages. Can send commands to start or stop the media and load or unload removable media. Warning settings such that the disk stops operating or is slowed down. Use with care.
We can use yum to install sdparm.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sdparm.x86_64.
Install sdparm.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 sdparm.x86_64 using yum by running the following command:
sudo yum -y install sdparm.x86_64
How To Uninstall sdparm.x86_64 on Amazon Linux 2
To uninstall only the sdparm.x86_64 package we can use the following command:
sudo yum remove sdparm.x86_64
sdparm.x86_64 Package Contents on Amazon Linux 2
/usr/bin/sas_disk_blink
/usr/bin/scsi_ch_swp
/usr/bin/sdparm
/usr/share/doc/sdparm-1.08
/usr/share/doc/sdparm-1.08/AUTHORS
/usr/share/doc/sdparm-1.08/COPYING
/usr/share/doc/sdparm-1.08/CREDITS
/usr/share/doc/sdparm-1.08/ChangeLog
/usr/share/doc/sdparm-1.08/README
/usr/share/doc/sdparm-1.08/notes.txt
/usr/share/man/man8/sas_disk_blink.8.gz
/usr/share/man/man8/scsi_ch_swp.8.gz
/usr/share/man/man8/sdparm.8.gz
References
Summary
In this tutorial we learn how to install sdparm.x86_64 on Amazon Linux 2 using yum.