---
title: Install xmlstarlet on Linux | Snap Store
description: Get the latest version of xmlstarlet for Linux - Command line utilities
  to transform, query, validate, and edit XML files
url: https://snapcraft.io/xmlstarlet
---

# xmlstarlet

[林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")

* [林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 1.6.1+pkg-47d2

Install latest/stable of xmlstarlet

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install xmlstarlet
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* xmlstarlet

---

### License

* MIT

---

### Last updated

* 20 July 2019 - latest/stable
* 27 July 2019 - latest/beta

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/Lin-Buo-Ren/xmlstarlet-snap](https://github.com/Lin-Buo-Ren/xmlstarlet-snap "https://github.com/Lin-Buo-Ren/xmlstarlet-snap")

---

### Contact

* [github.com/Lin-Buo-Ren/xmlstarlet-snap/issues](https://github.com/Lin-Buo-Ren/xmlstarlet-snap/issues "https://github.com/Lin-Buo-Ren/xmlstarlet-snap/issues")

---

### Command › Alias

* xmlstarlet.xml › xml

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/xmlstarlet#report-snap-modal)

---

* [Description](https://snapcraft.io/xmlstarlet#tab-description)
* [Security](https://snapcraft.io/xmlstarlet#tab-security)

#### Command line utilities to transform, query, validate, and edit XML files

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

**Snap-specific information**

This snap ships the latest upstream release of the XML processing libraries at the moment, you may verify their versions by running the `xmlstarlet --version` command in a terminal.

This is NOT an official snap distribution of XMLStarlet. Refer the issue tracker for any problems regarding the use of this snap:

Issues · Lin-Buo-Ren/xmlstarlet-snap
<https://github.com/Lin-Buo-Ren/xmlstarlet-snap/issues>

---

## Install xmlstarlet on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/xmlstarlet/arch)

[### CentOS](https://snapcraft.io/install/xmlstarlet/centos)

[### Debian](https://snapcraft.io/install/xmlstarlet/debian)

[### elementary OS](https://snapcraft.io/install/xmlstarlet/elementary)

[### Fedora](https://snapcraft.io/install/xmlstarlet/fedora)

[### KDE Neon](https://snapcraft.io/install/xmlstarlet/kde-neon)

[### Kubuntu](https://snapcraft.io/install/xmlstarlet/kubuntu)

[### Manjaro](https://snapcraft.io/install/xmlstarlet/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/xmlstarlet/pop)

[### openSUSE](https://snapcraft.io/install/xmlstarlet/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/xmlstarlet/rhel)

[### Ubuntu](https://snapcraft.io/install/xmlstarlet/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/xmlstarlet/raspbian)
