kaboom
kaboom

Reputation: 833

use xmllint in cygwin

I am using cygwin on a window 8 machine. When I type

$ xmllint --format something.xml

It says: -bash: xmllint: command not found

How can I use xmllint with cygwin? Is there any other alternatives?

Upvotes: 10

Views: 10608

Answers (2)

paxdiablo
paxdiablo

Reputation: 881403

You're better of just installing all of CygWin, not just the default packages. Then you don't have to worry about possibly missing programs.

Disk space is cheap, having to waste time figuring out what package contains what programs is not :-)

If you must pick and choose, you can search for the executable here. Based on a cursory search, it's available in Libs/libxml2.

Upvotes: 3

Zombo
Zombo

Reputation: 1

Search package

cygcheck -p xmllint.exe$

Result

Found 1 matches for xmllint.exe$
x86_64/libxml2/libxml2-2.9.1-1

Then install

setup-x86_64 -qP libxml2

Upvotes: 28

Related Questions