How To Install Xmltidy?
Install xmltidy
-
Debian
apt-get install libxml-tidy-perlClick to copy -
Ubuntu
apt-get install libxml-tidy-perlClick to copy -
Kali Linux
apt-get install libxml-tidy-perlClick to copy -
Fedora
dnf install perl-XML-TidyClick to copy -
Raspbian
apt-get install libxml-tidy-perlClick to copy
libxml-tidy-perl
module for tidy indenting of XML documentsXML::Tidy creates XML document objects (with inheritance from XML::XPath) to tidy mixed-content (ie. non-data) text node indenting. There are also some other handy member functions to compress && expand your XML document object (into either a compact XML representation or a binary one).
perl-XML-Tidy
Tidy indenting of XML documents
Installing xmltidy command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of xmltidy 2026 package in your OS.




