nekoc command not found

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

Introduction

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

nekoc: command not found

or when using sudo you get the following error message

sudo: nekoc: command not found

Solutions to nekoc: command not found

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

In Ubuntu nekoc is provided by neko package.

neko is:

Neko provides a common runtime for several different languages, including JavaScript and haXe.

The compiler converts a source file (.neko) into a bytecode file (.n) that can be executed with the Virtual Machine. You can use the compiler as standalone commandline executable separated from the virtual machine, or as a Neko library to perform compile-and-run for interactive languages.

Neko was written by Nicolas Cannasse.

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

sudo apt-get -y install neko

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

You can also use apt command to install neko.

sudo apt -y install neko

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

sudo aptitude install neko

Summary

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