HTML Tidy – How to Install Updated Version of HTML Tidy

software installation

On Ubuntu 14.04 LTS (Trusty Tahr), tidy is very old:

$ tidy --version
HTML Tidy for Linux released on 25 March 2009

What's the easiest way to get tidy-html5 installed?

Have I somehow overlooked the package for it?

Best Answer

You can install the latest html-tidy from source using the instruction given on its github page.

But the easiest way to install the latest version of html-tidy5 would be downloading the latest binary from this page

If you're using 64bit Ubuntu, you'd do basically these commands

sudo dpkg -i tidy-5.4.0-64bit.deb

It should be installed fine.

Related Question