lua-any command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lua-any: command not found
or when using sudo you get the following error message
sudo: lua-any: command not found
Solutions to lua-any: command not found
How To Fix lua-any: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lua-any is provided by lua-any package.
lua-any is:
Some Lua script do actually work with many, but not all, Lua versions in the Debian archive. This package contains the lua-any interpreter to be used in the shebang lines of such scripts. lua-any reads metadata stored in comments in the Lua script and selects an appropriate Lua interpreter.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lua-any
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lua-any.
sudo apt -y install lua-any
Or if you have aptitude installed you can use the following command.
sudo aptitude install lua-any
Summary
In this tutorial we learn how to fix lua-any command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.