How to Install and Uninstall xmlstarlet Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 10,2024

1. Install "xmlstarlet" package

This guide covers the steps necessary to install xmlstarlet on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install xmlstarlet

2. Uninstall "xmlstarlet" package

This is a short guide on how to uninstall xmlstarlet on Ubuntu 21.10 (Impish Indri):

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

3. Information about the xmlstarlet package on Ubuntu 21.10 (Impish Indri)

Package: xmlstarlet
Architecture: amd64
Version: 1.6.1-2.1
Priority: optional
Section: universe/text
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mònica Ramírez Arceda
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 616
Depends: libc6 (>= 2.7), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25)
Filename: pool/universe/x/xmlstarlet/xmlstarlet_1.6.1-2.1_amd64.deb
Size: 265484
MD5sum: ac058c8bd8e717b8528717c74295f820
SHA1: 02a42fd8128be4d3481db18ad68638702614f881
SHA256: 806032d7123b08c60c1b8aab1c9e8495c4bf47241d6a7a25c2c8f9ddb0be666a
SHA512: cdffa69242c3e24e6d15fde806f7391c2720e3ec5c6bb6df56436b82051effd1b57850530f28f4f11a74ed3abcee4b61588a5669d9f40b137c8635d70b20a0da
Homepage: http://xmlstar.sourceforge.net/
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