How To Install libatasmart on Fedora 36

In this tutorial we learn how to install libatasmart in Fedora 36. libatasmart is ATA S.M.A.R.T. Disk Health Monitoring Library

Introduction

In this tutorial we learn how to install libatasmart on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libatasmart.

Install libatasmart on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the libatasmart package we can use the following command:

sudo dnf remove libatasmart

libatasmart Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/0e97d8654d53233e06e24d547e35afcc7efc51
/usr/lib/.build-id/40
/usr/lib/.build-id/40/0ebc74bddc0c9c42c4fc814d885003848c2045
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/7d7b55353e130b2c1334225802daad558d239b
/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

References

Summary

In this tutorial we learn how to install libatasmart on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).