How To Install libtidy on Fedora 34

libtidy is Runtime library for tidy Runtime library for tidy

Introduction

In this tutorial we learn how to install libtidy on Fedora 34.

What is libtidy

Runtime library for tidy. libtidy 5.7.28 6.fc34 x86_64 241 k tidy-5.7.28-6.fc34.src.rpm fedora Runtime library for tidy http W3C Runtime library for tidy.

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

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

sudo dnf -y install libtidy

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

sudo yum -y install libtidy

How To Uninstall libtidy on Fedora 34

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

sudo dnf remove libtidy

libtidy Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/dca2d54bf82c8573eac55d5f6d14eee9435a01
/usr/lib64/libtidy.so.5
/usr/lib64/libtidy.so.5.7.28
/usr/share/licenses/libtidy
/usr/share/licenses/libtidy/LICENSE.md
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/8df5055806325b09b2646fac76492eb391464c
/usr/lib/libtidy.so.5
/usr/lib/libtidy.so.5.7.28
/usr/share/licenses/libtidy
/usr/share/licenses/libtidy/LICENSE.md

References

Summary

In this tutorial we learn how to install libtidy on Fedora 34 using yum and dnf.