How To Install libtidy on Rocky Linux 8

In this tutorial we learn how to install libtidy on Rocky Linux 8. libtidy is Runtime library for tidy

Introduction

In this tutorial we learn how to install libtidy on Rocky Linux 8.

What is libtidy

Runtime library for tidy.

We can use yum or dnf to install libtidy on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtidy.

Install libtidy 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 libtidy using dnf by running the following command:

sudo dnf -y install libtidy

Install libtidy 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 libtidy using yum by running the following command:

sudo yum -y install libtidy

How To Uninstall libtidy on Rocky Linux 8

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

sudo dnf remove libtidy

libtidy Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/79fe6615d8f81a98bd55bd677b5af09e743d58
/usr/lib64/libtidy.so.5
/usr/lib64/libtidy.so.5.6.0
/usr/share/licenses/libtidy
/usr/share/licenses/libtidy/LICENSE.md

References

Summary

In this tutorial we learn how to install libtidy on Rocky Linux 8 using yum and dnf.