Score:1

I need to install xmllint, but don't know how to

ht flag

I want to install xmllint, but don't know how. I'm running Ubuntu LTS 20.04.

in flag
If the goal is to LINT some XML, there is the [libxml2-utils](https://packages.ubuntu.com/search?suite=focal&arch=any&searchon=contents&keywords=xmllint) package, but it’s not often people install this on it’s own. What is the actual issue you are attempting to solve?
Sam H avatar
ht flag
@matigo it was needed to run a script that i needed to run.
Score:2
in flag

The tool xmllint is part of the libxml2-utils package

As superuser run:-

#apt -y install libxml2-utils

and the xmllint tool will become available e.g.

xmllint --format your.xml
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.