How To Install smartmontools.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install smartmontools.x86_64
on Amazon Linux 2.
What is smartmontools.x86_64
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self- Monitoring, Analysis and Reporting Technology system (SMART) built into most modern ATA/SATA, SCSI/SAS and NVMe disks. In many cases, these utilities will provide advanced warning of disk degradation and failure.
We can use yum
to install smartmontools.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install smartmontools.x86_64.
Install smartmontools.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 smartmontools.x86_64
using yum
by running the following command:
sudo yum -y install smartmontools.x86_64
How To Uninstall smartmontools.x86_64 on Amazon Linux 2
To uninstall only the smartmontools.x86_64
package we can use the following command:
sudo yum remove smartmontools.x86_64
smartmontools.x86_64 Package Contents on Amazon Linux 2
/etc/smartmontools
/etc/smartmontools/smartd.conf
/etc/smartmontools/smartd_warning.d
/etc/smartmontools/smartd_warning.sh
/etc/sysconfig/smartmontools
/usr/lib/systemd/system/smartd.service
/usr/libexec/smartmontools
/usr/libexec/smartmontools/smartdnotify
/usr/sbin/smartctl
/usr/sbin/smartd
/usr/sbin/update-smart-drivedb
/usr/share/doc/smartmontools-6.5
/usr/share/doc/smartmontools-6.5/AUTHORS
/usr/share/doc/smartmontools-6.5/COPYING
/usr/share/doc/smartmontools-6.5/ChangeLog
/usr/share/doc/smartmontools-6.5/INSTALL
/usr/share/doc/smartmontools-6.5/NEWS
/usr/share/doc/smartmontools-6.5/README
/usr/share/doc/smartmontools-6.5/TODO
/usr/share/doc/smartmontools-6.5/examplescripts
/usr/share/doc/smartmontools-6.5/examplescripts/Example1
/usr/share/doc/smartmontools-6.5/examplescripts/Example2
/usr/share/doc/smartmontools-6.5/examplescripts/Example3
/usr/share/doc/smartmontools-6.5/examplescripts/Example4
/usr/share/doc/smartmontools-6.5/examplescripts/Example5
/usr/share/doc/smartmontools-6.5/examplescripts/Example6
/usr/share/doc/smartmontools-6.5/examplescripts/README
/usr/share/doc/smartmontools-6.5/smartd.conf
/usr/share/man/man5/smartd.conf.5.gz
/usr/share/man/man8/smartctl.8.gz
/usr/share/man/man8/smartd.8.gz
/usr/share/man/man8/update-smart-drivedb.8.gz
/usr/share/smartmontools
/usr/share/smartmontools/drivedb.h
References
Summary
In this tutorial we learn how to install smartmontools.x86_64
on Amazon Linux 2 using yum.