How to Install and Uninstall xmlstarlet Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 25,2024

1. Install "xmlstarlet" package

Here is a brief guide to show you how to install xmlstarlet on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install xmlstarlet

2. Uninstall "xmlstarlet" package

Please follow the guidelines below to uninstall xmlstarlet on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove xmlstarlet $ sudo apt autoclean && sudo apt autoremove

3. Information about the xmlstarlet package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: xmlstarlet
Priority: optional
Section: universe/text
Installed-Size: 436
Maintainer: Ubuntu Developers
Original-Maintainer: Mònica Ramírez Arceda
Architecture: amd64
Version: 1.6.1-1ubuntu1
Depends: libc6 (>= 2.4), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25)
Filename: pool/universe/x/xmlstarlet/xmlstarlet_1.6.1-1ubuntu1_amd64.deb
Size: 96018
MD5sum: e8809a987368da01a55e11254be3acd8
SHA1: 775c8ef3dd74b176eb7e7d12f0c863cb5c3321f2
SHA256: 892a1c8bfb52af5fc1d8eb13ee6875db4ec5af6fe041752b84bad40712522041
Description-en: command line XML toolkit
XMLStarlet is a set of command line utilities (tools) which can be used to
transform, query, validate, and edit XML documents and files using simple set
of shell commands in similar way it is done for plain text files using
UNIX grep, sed, awk, diff, patch, join, etc commands.
.
This set of command line utilities can be used by those who deal with many XML
documents on UNIX shell command prompt as well as for automated XML processing
with shell scripts.
.
The toolkit's feature set includes options to:
Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG)
Calculate values of XPath expressions on XML files (such as running sums, etc)
Search XML files for matches to given XPath expressions
Apply XSLT stylesheets to XML documents (including EXSLT support, and passing
parameters to stylesheets)
Query XML documents (ex. query for value of some elements of attributes,
sorting, etc)
Modify or edit XML documents (ex. delete some elements)
Format or "beautify" XML documents (as changing indentation, etc)
Fetch XML documents using http:// or ftp:// URLs
Browse tree structure of XML documents (in similar way to 'ls' command for
directories)
Include one XML document into another using XInclude
XML c14n canonicalization
Escape/unescape special XML characters in input text
Print directory as XML document
Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa
Description-md5: be00bff9e891b2ff3b48cc61e09c040f
Homepage: http://xmlstar.sourceforge.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m