nescc-mig command not found

In this troubleshooting guide we learn how to fix nescc-mig command not found error message

Introduction

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

nescc-mig: command not found

or when using sudo you get the following error message

sudo: nescc-mig: command not found

Solutions to nescc-mig: command not found

How To Fix nescc-mig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nescc-mig is provided by nescc package.

nescc is:

nesC (pronounced “NES-see”) is an extension to the C programming language designed to embody the structuring concepts and execution model of TinyOS. TinyOS is an event-driven operating system designed for sensor network nodes that have very limited resources (e.g., 8K bytes of program memory, 512 bytes of RAM).

This package contains the nesC compiler and its documentation. It also provides nesC syntax support for the editors vim and emacs together with all gtksourceview and kdepart based editors.

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

sudo apt-get -y install nescc

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

You can also use apt command to install nescc.

sudo apt -y install nescc

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

sudo aptitude install nescc

Summary

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