run_erl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
run_erl: command not found
or when using sudo you get the following error message
sudo: run_erl: command not found
Solutions to run_erl: command not found
How To Fix run_erl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu run_erl is provided by erlang-base package.
erlang-base is:
This package contains the Erlang/OTP runtime implementation, and minimal set of Erlang applications: compiler - compiles Erlang code to byte-code; erts - the Erlang runtime system application; kernel - code necessary to run the Erlang runtime system itself; ose - code for Enea OSE operating system; sasl - the system architecture support libraries application; stdlib - modules for manipulating lists, strings, files etc.
To fix this problem, we can install more using the command below.
sudo apt-get -y install erlang-base
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install erlang-base.
sudo apt -y install erlang-base
Or if you have aptitude installed you can use the following command.
sudo aptitude install erlang-base
Summary
In this tutorial we learn how to fix run_erl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.