How To Install libatasmart on Fedora 34
Introduction
In this tutorial we learn how to install libatasmart
on Fedora 34.
What is libatasmart
A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. libatasmart 0.19 20.fc34 x86_64 47 k libatasmart-0.19-20.fc34.src.rpm fedora ATA S.M.A.R.T. Disk Health Monitoring Library http LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libatasmart.
Install libatasmart on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libatasmart
using dnf
by running the following command:
sudo dnf -y install libatasmart
Install libatasmart on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the libatasmart
package we can use the following command:
sudo dnf remove libatasmart
libatasmart Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/2d4fcf8b8d8e95aa4746f9d4ab2ae66c85e2d4
/usr/lib/.build-id/21
/usr/lib/.build-id/21/5a2e980ecf3381a33d8d5ac1a0b386705422b4
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/a42cdfb725d566860b8ada0b94b67a9ed72bd0
/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/74
/usr/lib/.build-id/74/1ca99d67cd0656d68f04cf6001d99581664bb6
/usr/lib/.build-id/95
/usr/lib/.build-id/95/a94517702faafc5d3e6396a9c6d9a5e1d732d5
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/8852bbc263a1cea5b4927019d519f8ccad5b01
/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
- [libatasmart website](http://git.0pointer.de/?p=libatasmart.git;a=summary http://git.0pointer.de/?p=libatasmart.git;a=summary)
Summary
In this tutorial we learn how to install libatasmart
on Fedora 34 using yum and dnf.