Lua
From Gentoo Wiki
Lua is a powerful light-weight programming language designed for extending applications. It can be embedded into various application as scripting language.
Installation
USE flags
USE flags for dev-lang/lua A powerful light-weight programming language designed for extending applications
+deprecated
|
make deprecated data structures/routines available |
readline
|
Enable support for libreadline, a GNU line-editing library that almost everyone wants |
Emerge
root #
emerge --ask dev-lang/lua
Configuration
Enabling different Lua versions
The app-eselect/eselect-lua package provides an eselect module to switch between different Lua slots. Once this package has been installed, list available Lua versions by running:
user $
eselect lua list
To enable the version designated by number n in the list, use lua set
:
user $
eselect lua set n