In a new installation, the package cache does not list the moon.
But just update: sudo apt-get update
.
Running Ubuntu through Docker:
docker run -it --rm ubuntu bash
Error while trying to install the moon:
root@2d889582f79b:/# apt-get install lua5.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lua5.2
E: Couldn't find any package by glob 'lua5.2'
E: Couldn't find any package by regex 'lua5.2'
Updated packages and start of installation:
root@2d889582f79b:/# apt-get update > /dev/null
root@2d889582f79b:/# apt-get install lua5.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libreadline7 readline-common
Suggested packages:
readline-doc
The following NEW packages will be installed:
libreadline7 lua5.2 readline-common
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 274 kB of archives.
After this operation, 853 kB of additional disk space will be used.
Do you want to continue? [Y/n]
See http://www.lua.org/start.html#building
– lhf