luajit command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
luajit: command not found
or when using sudo you get the following error message
sudo: luajit: command not found
Solutions to luajit: command not found
How To Fix luajit: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu luajit is provided by luajit package.
luajit is:
LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement.
This package contains the standalone interpreter/jitter that can be used as a replacement for the standard lua5.1 interpreter.
To fix this problem, we can install more using the command below.
sudo apt-get -y install luajit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install luajit.
sudo apt -y install luajit
Or if you have aptitude installed you can use the following command.
sudo aptitude install luajit
Summary
In this tutorial we learn how to fix luajit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.