Focus on cloud service provider activities
Notes on website operation and maintenance

CentOS7 Method of Installing XMLStarlet Tool

Today, Lao Zuo needed to use the xmlstarlet tool when installing a script tool. He thought it could be installed directly with yum, but was prompted "No package xmlstarlet available" when installing. It seems that there is no software in the system source. You need to download, compile and install it again. XMLStarlet is an open source XML toolkit that can be used from the command line in UNIX, Mac OS, or Windows. XML Starlet can validate XML, format XML, select part of it, transform it with XSLT, and even edit it.

In this article, Lao Zuo directly downloads, compiles and installs in CentOS7.

First, the problem occurs

 CentOS7 Method of Installing XMLStarlet Tool

Second, installation process

wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/x/xmlstarlet-1.6.1-1.el7.x86_64.rpm
yum install libxslt
rpm -ivh xmlstarlet-1.6.1-1.el7.x86_64.rpm

 CentOS7 How to Install the XMLStarlet Tool - Page 2

At this time, we have no problem in executing the script.

Vote for you
Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » CentOS7 Method of Installing XMLStarlet Tool