jsonlint command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
jsonlint: command not found
or when using sudo you get the following error message
sudo: jsonlint: command not found
Solutions to jsonlint: command not found
How To Fix jsonlint: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu jsonlint is provided by python3-demjson package.
python3-demjson is:
demjson is a comprehensive Python language binding to the JSON language-independent data encoding standard, which is often used as a simpler substitute for XML in AJAX-based web applications.
This package contains the python3 library and the jsonlint-py3 script.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-demjson
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-demjson.
sudo apt -y install python3-demjson
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-demjson
Summary
In this tutorial we learn how to fix jsonlint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.