json_verify command not found

In this troubleshooting guide we learn how to fix json_verify command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

json_verify: command not found

or when using sudo you get the following error message

sudo: json_verify: command not found

Solutions to json_verify: command not found

How To Fix json_verify: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu json_verify is provided by yajl-tools package.

yajl-tools is:

A small collection of tools that use the yajl library.

Current tools are: json_reformat - beautifies or minimizes format of JSON data json_verify - validates JSON data

To fix this problem, we can install more using the command below.

sudo apt-get -y install yajl-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install yajl-tools.

sudo apt -y install yajl-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install yajl-tools

Summary

In this tutorial we learn how to fix json_verify command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.