GNU/Linux Ubuntu 18.04 Lua QuickStart Guide
Hi! The Tutorial shows you Step-by-Step How to Install Compiler and Get Started with LUA 5.x Programming in Ubuntu 18.04 Bionic LTS GNU/Linux Desktop.
Lua combines simple Procedural Syntax with powerful Data Description constructs based on Associative Arrays and Extensible Semantics.
Lua is Dynamically Typed, runs by interpreting Bytecode for a register-based Virtual Machine.
And has Automatic Memory Management with incremental Garbage Collection, making it ideal for Configuration, Scripting, and rapid Prototyping.
Moreover, this guide includes detailed instructions about to Getting-Started with LUA Programming on Ubuntu.
Finally, this Setup is valid for all the Ubuntu-based Distros like:
- Linux Mint
- Zorin OS
- Lubuntu
- Elementary OS
- Kde Neon
- Pop_OS!
- Xubuntu
- Linux Lite
- Bodhi
- Puppy
- Kubuntu
- LXLE
- Trisquel
- Voyager Ubuntu
- feren OS
- Peppermint
- Linux Ultimate Edition (You may just need to Discover what’s the Parent Release)
1. Terminal Getting-Started Guide
How to QuickStart with Command Line on Ubuntu GNU/Linux:
First Update the Apt Repo Sources with:
sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.2. Installing LUA Compiler
Now to Install LUA 5.x Compiler on Ubuntu
To Search for the available Releases:sudo apt search lua5
So then for instance, to Setup LUA 5.4 play:sudo apt install lua5.4
Testing LUA Installation
Run:lua -v
The Output should simply showa the LUA Version.3. Get Started LUA Programming
How to Quick Start with LUA Programming on Linux