ml-burg command not found

In this troubleshooting guide we learn how to fix ml-burg command not found error message

Introduction

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

ml-burg: command not found

or when using sudo you get the following error message

sudo: ml-burg: command not found

Solutions to ml-burg: command not found

How To Fix ml-burg: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ml-burg is provided by ml-burg package.

ml-burg is:

ml-burg generates a Standard ML program to perform bottom-up rewriting of an input tree. Cost information associated with each rewrite rule is used to derive the minimum rewrite cost for the entire tree. A successful reduction corresponds to rewriting the input tree to a special non-terminal symbol called the “start” non-terminal. Upon successful reduction, facilities are provided to walk the tree emitting semantic actions corresponding to the rules that matched.

Install this package if you want to write a compiler in SML using a burg specification.

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

sudo apt-get -y install ml-burg

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

You can also use apt command to install ml-burg.

sudo apt -y install ml-burg

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

sudo aptitude install ml-burg

Summary

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