How To Install tidy on Fedora 36

In this tutorial we learn how to install tidy in Fedora 36. tidy is Utility to clean up and pretty print HTML/XHTML/XML

Introduction

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

What is tidy

When editing HTML it’s easy to make mistakes. Wouldn’t it be nice if there was a simple way to fix these mistakes automatically and tidy up sloppy editing into nicely laid out markup? Well now there is! Dave Raggett’s HTML TIDY is a free utility for doing just that. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.

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

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

sudo dnf -y install tidy

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

sudo yum -y install tidy

How To Uninstall tidy on Fedora 36

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

sudo dnf remove tidy

tidy Package Contents on Fedora 36

/usr/bin/tidy
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/2073e3f7eab204fe304d7fdf17b36cbfbf19cb
/usr/share/man/man1/tidy.1.gz

References

Summary

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