ocamlrund command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ocamlrund: command not found
or when using sudo you get the following error message
sudo: ocamlrund: command not found
Solutions to ocamlrund: command not found
How To Fix ocamlrund: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ocamlrund is provided by ocaml-base package.
ocaml-base is:
Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML.
This package contains only the runtime system needed to run bytecode executables. The ‘ocaml’ package contains the full development suite of Objective Caml.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ocaml-base
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ocaml-base.
sudo apt -y install ocaml-base
Or if you have aptitude installed you can use the following command.
sudo aptitude install ocaml-base
Summary
In this tutorial we learn how to fix ocamlrund command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.