How To Install hdparm.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install hdparm.x86_64
on Amazon Linux 2.
What is hdparm.x86_64
Hdparm is a useful system utility for setting (E)IDE hard drive parameters. For example, hdparm can be used to tweak hard drive performance and to spin down hard drives for power conservation.
We can use yum
to install hdparm.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install hdparm.x86_64.
Install hdparm.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 hdparm.x86_64
using yum
by running the following command:
sudo yum -y install hdparm.x86_64
How To Uninstall hdparm.x86_64 on Amazon Linux 2
To uninstall only the hdparm.x86_64
package we can use the following command:
sudo yum remove hdparm.x86_64
hdparm.x86_64 Package Contents on Amazon Linux 2
/sbin/hdparm
/usr/share/doc/hdparm-9.43
/usr/share/doc/hdparm-9.43/Changelog
/usr/share/doc/hdparm-9.43/LICENSE.TXT
/usr/share/doc/hdparm-9.43/README.acoustic
/usr/share/doc/hdparm-9.43/TODO
/usr/share/doc/hdparm-9.43/hdparm.lsm
/usr/share/man/man8/hdparm.8.gz
References
Summary
In this tutorial we learn how to install hdparm.x86_64
on Amazon Linux 2 using yum.