使用xmllint在Cygwin中 [英] use xmllint in cygwin

查看:144
本文介绍了使用xmllint在Cygwin中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用一个窗口8机器上的cygwin。当我键入​​

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

$ xmllint --format something.xml

它说:-bash:xmllint:找不到命令

It says: -bash: xmllint: command not found

我如何使用xmllint与Cygwin的?是否有任何其他的选择吗?

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

推荐答案

搜索包

cygcheck -p xmllint.exe$

结果

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

然后安装

setup-x86_64 -qP libxml2

这篇关于使用xmllint在Cygwin中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆