nmlc command not found

In this troubleshooting guide we learn how to fix nmlc command not found error message

Introduction

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

nmlc: command not found

or when using sudo you get the following error message

sudo: nmlc: command not found

Solutions to nmlc: command not found

How To Fix nmlc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nmlc is provided by nml package.

nml is:

NML is a python-based compiler, capable of compiling NML (NewGRF Meta Language) files (along with their associated language, sound and graphic files) into grf and / or nfo files (which can serve as datafiles for the OpenTTD or TTDPatch games).

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

sudo apt-get -y install nml

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

You can also use apt command to install nml.

sudo apt -y install nml

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

sudo aptitude install nml

Summary

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