obuild-simple command not found

In this troubleshooting guide we learn how to fix obuild-simple command not found error message

Introduction

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

obuild-simple: command not found

or when using sudo you get the following error message

sudo: obuild-simple: command not found

Solutions to obuild-simple: command not found

How To Fix obuild-simple: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu obuild-simple is provided by ocaml-obuild package.

ocaml-obuild is:

A parallel, incremental and declarative build system for OCaml.

The goal is to make a very simple build system for users and developers of OCaml libraries and programs.

Obuild acts as a building black box: users only declare what they want to build and with which sources; the build system will consistently build it.

The design is based on Haskell’s Cabal and borrows most of the layout and way of working, adapting parts where necessary to fully support OCaml.

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

sudo apt-get -y install ocaml-obuild

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

You can also use apt command to install ocaml-obuild.

sudo apt -y install ocaml-obuild

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

sudo aptitude install ocaml-obuild

Summary

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