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 It is an open source XML toolkit that can be used on the command line in UNIX, Mac OS, or Windows. XMLStarlet You can validate XML, format XML, select parts 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

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

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


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge