Installing xmllint

后端 未结 6 1125
面向向阳花
面向向阳花 2020-12-13 09:28

I needed help installing xmllint from this website: http://xmlsoft.org/sources/win32/

In particular, I am not sure which file I am supposed to download - when I clic

6条回答
  •  时光取名叫无心
    2020-12-13 09:48

    at least on centOS:

    [nsaunders@rolly ~]$ 
    [nsaunders@rolly ~]$ lsb_release -a
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description:    CentOS Linux release 8.2.2004 (Core) 
    Release:    8.2.2004
    Codename:   Core
    [nsaunders@rolly ~]$ 
    

    it's as easy as:

    sudo yum install xmlstarlet so that now xmllint is installed as:

    [nsaunders@rolly ~]$ 
    [nsaunders@rolly ~]$ xmllint --version
    xmllint: using libxml version 20907
       compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib Lzma 
    [nsaunders@rolly ~]$ 
    

提交回复
热议问题