stag-itext2simple command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
stag-itext2simple: command not found
or when using sudo you get the following error message
sudo: stag-itext2simple: command not found
Solutions to stag-itext2simple: command not found
How To Fix stag-itext2simple: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu stag-itext2simple is provided by libdata-stag-perl package.
libdata-stag-perl is:
Data::Stag is for manipulating data as hierarchical tag/value pairs (Structured TAGs or Simple Tree AGgreggates). These datastructures can be represented as nested arrays, which have the advantage of being native to perl. A simple example is shown below:
[ person=> [ [ family_name => $family_name ], [ given_name => $given_name ], [ phone_no => $phone_no ] ] ],
Data::Stag uses a subset of XML for import and export. This means the module can also be used as a general XML parser/writer (with certain caveats).
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdata-stag-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdata-stag-perl.
sudo apt -y install libdata-stag-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdata-stag-perl
Summary
In this tutorial we learn how to fix stag-itext2simple command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.