문제

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