Install xmllint on Ubuntu

$ man xmllint

No manual entry for xmllint

$ sudo apt install xmllint

Unable to locate package xmllint

$ xmlint

No command 'xmlint' found, did you mean:
Command 'xmlink' from package 'xpuzzles' (universe)
Command 'xmllint' from package 'libxml2-utils' (main)

Install xmllint on Ubuntu
Install xmllint on Ubuntu

$ xmllint

The program ‘xmllint’ is currently not installed. You can install it by typing:
sudo apt install libxml2-utils

$ sudo apt install libxml2-utils

$ man xmllint

NAME
xmllint – command line XML tool

SYNOPSIS
xmllint [–version | –debug | –shell | –xpath “XPath_expression” | –debugent | –copy | –recover | –noent
| –noout | –nonet | –path “PATH(S)” | –load-trace | –htmlout | –nowrap | –valid | –postvalid |
–dtdvalid URL | –dtdvalidfpi FPI | –timing | –output FILE | –repeat | –insert | –compress |
–html | –xmlout | –push | –memory | –maxmem NBBYTES | –nowarning | –noblanks | –nocdata |
–format | –encode ENCODING | –dropdtd | –nsclean | –testIO | –catalogs | –nocatalogs | –auto |
–xinclude | –noxincludenode | –loaddtd | –dtdattr | –stream | –walker | –pattern PATTERNVALUE |
–chkregister | –relaxng SCHEMA | –schema SCHEMA | –c14n] {XML-FILE(S)… | -}

xmllint –help

DESCRIPTION
The xmllint program parses one or more XML files, specified on the command line as XML-FILE (or the standard
input if the filename provided is – ). It prints various types of output, depending upon the options selected.
It is useful for detecting errors both in XML code and in the XML parser itself.

xmllint is included in libxml(3).

Related Post

Go to the Previous Directory in Vim I use Vim. Vim is the most productive text editor if you know some vim commands When I open a file and I am done with it. I often want to go...
Export Data From Firebird Database to CSV File Background Some software applications use a database called Firebird. This is an open source database. If the software application is compiled you ca...
Installing Ruby on Ubuntu Installing Ruby on Ubuntu As seen on RVM... Go to the terminal in Ubuntu. Add the public key from RVM $ gpg --keyserver hkp://keys.gnupg.n...
Installing Hipchat on Ubuntu Tested on: Ubuntu 12.04 LTS Thinkpad T400, 2GB RAM Intel Core 2 Duo CPU P8600, 32bit Sources: Official hipchat linux instructions Ask U...

One thought on “Install xmllint on Ubuntu

Leave a Reply