ml-nlffigen command not found

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

Introduction

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

ml-nlffigen: command not found

or when using sudo you get the following error message

sudo: ml-nlffigen: command not found

Solutions to ml-nlffigen: command not found

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

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

ml-nlffigen is:

This tool reads in C source code and outputs ML code and a CM description file for use with the ML “No Longer Foreign Function Interface” library. This tool works by separating each top-level C declaration into a new ML source file. For large programs, this puts some strain on the SML Compilation Manager, but this should only marginally increase the program run-time.

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

sudo apt-get -y install ml-nlffigen

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

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

sudo apt -y install ml-nlffigen

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

sudo aptitude install ml-nlffigen

Summary

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