Xmlstarlet executable file or any alternatives

104 views Asked by At

Xmlstarlet is perfectly fits my needs, but faced issue, that it has no executable file (something like .jar file and etc).

I am trying to use it via a shell script, but server has no xmlstarlet installed by default there (and it's not possible to install it).

Is there any way to put any executable file for Xmlstarlet in my repository? Where can I find it?

1

There are 1 answers

8
Gilles Quénot On BEST ANSWER

You can compile the source.

git clone git://xmlstar.git.sourceforge.net/gitroot/xmlstar/xmlstar
cd xmlstar
./autogen.sh --with-libxml-prefix=/usr --with-libxslt-prefix=/usr
./configure
make
ls -1
./xmlstarlet help

No need root user.

See: https://xmlstar.sourceforge.net/source.php