Вопрос

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?

Это было полезно?

Решение

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

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top