How To Install libatasmart on Rocky Linux 8
Introduction
In this tutorial we learn how to install libatasmart
on Rocky Linux 8.
What is libatasmart
A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring.
We can use yum
or dnf
to install libatasmart
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libatasmart.
Install libatasmart on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libatasmart
using dnf
by running the following command:
sudo dnf -y install libatasmart
Install libatasmart on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libatasmart
using yum
by running the following command:
sudo yum -y install libatasmart
How To Uninstall libatasmart on Rocky Linux 8
To uninstall only the libatasmart
package we can use the following command:
sudo dnf remove libatasmart
libatasmart Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/d8b1da625fe6e7a47dfd289b97abce0db33ef7
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/7c05569a500d65b8df2d372fd16b7433b31777
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/9658bb5958f8a31f9edc93d52b2678963c9e3b
/usr/lib64/libatasmart.so.4
/usr/lib64/libatasmart.so.4.0.5
/usr/sbin/skdump
/usr/sbin/sktest
/usr/share/doc/libatasmart
/usr/share/doc/libatasmart/LGPL
/usr/share/doc/libatasmart/README
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/ce9bda8382ca3e2d76adf02a212a679568a5b8
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/486acf641887e88dd39c77d5ca56b4cf34dfa6
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/a6ff838a251dce892ea1a504709b58bae6a414
/usr/lib/libatasmart.so.4
/usr/lib/libatasmart.so.4.0.5
/usr/sbin/skdump
/usr/sbin/sktest
/usr/share/doc/libatasmart
/usr/share/doc/libatasmart/LGPL
/usr/share/doc/libatasmart/README
References
Summary
In this tutorial we learn how to install libatasmart
on Rocky Linux 8 using yum and dnf.