ydump command not found

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

Introduction

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

ydump: command not found

or when using sudo you get the following error message

sudo: ydump: command not found

Solutions to ydump: command not found

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

In Ubuntu ydump is provided by libyojson-ocaml-dev package.

libyojson-ocaml-dev is:

Yojson is an optimized parsing and printing library for the JSON format. It addresses a few shortcomings of json-wheel including 3x speed improvement, polymorphic variants and optional syntax for tuples and variants.

It is a replacement for json-wheel (libjson-wheel-ocaml-dev).

This package contain the development files needed for programming with the library.

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

sudo apt-get -y install libyojson-ocaml-dev

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

You can also use apt command to install libyojson-ocaml-dev.

sudo apt -y install libyojson-ocaml-dev

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

sudo aptitude install libyojson-ocaml-dev

Summary

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