xml_grep command not found
In this troubleshooting guide we learn how to fix xml_grep command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
xml_grep: command not found
or when using sudo you get the following error message
sudo: xml_grep: command not found
Solutions to xml_grep: command not found
How To Fix xml_grep: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xml_grep is provided by xml-twig-tools package.
xml-twig-tools is:
These tools are included:
- xml_spellcheck : spellcheck XML files skipping tags
- xml_merge : merge back files created by xml_split
- xml_pp : XML pretty printer
- xml_grep : grep XML files using XML::Twig’s subset of XPath
- xml_split : split big XML files
To fix this problem, we can install more using the command below.
sudo apt-get -y install xml-twig-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xml-twig-tools.
sudo apt -y install xml-twig-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install xml-twig-tools
Summary
In this tutorial we learn how to fix xml_grep command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.