json_pp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
json_pp: command not found
or when using sudo you get the following error message
sudo: json_pp: command not found
Solutions to json_pp: command not found
How To Fix json_pp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu json_pp is provided by libjson-pp-perl package.
libjson-pp-perl is:
JSON::PP is a module for manipulating data stored in the JavaScript Object Notation (JSON) serialization format (defined in RFC 4627), which serves as an alternative to XML.
This Pure Perl JSON implementation will become a core module beginning with perl 5.13, and will be loaded by the JSON module (see libjson-perl) if the C/XS-accelerated version (see libjson-xs-perl) is not available.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libjson-pp-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libjson-pp-perl.
sudo apt -y install libjson-pp-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libjson-pp-perl
Summary
In this tutorial we learn how to fix json_pp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.