Install lua-Linux Enterprise Application-Linux server application in ubuntu. For details, refer to the following section. Author: sir. tang
The latest project is required, and the installation process is not complex, so record it. Mutual encouragement.
1. Download The lua source code package. The address is as follows: the latest version 5.1.2.
Http://www.lua.org/ftp/lua-5.1.2.tar.gz
2. Download ubuntu compilation support
Sudo apt-get install build-essential
Note that not only gcc is installed, but many other tools are included.
3. Download libreadline-related support, which is required for compilation.
Sudo apt-get install libreadline5
Sudo apt-get install libreadline5-dev
4. Compile and install
Tar xzvf lua-5.1.2.tar.gz
Cd lua-5.1.2
Make linux
Sudo make install
Here, the make parameter linux can also be another operating system, depending on the actual situation.
5. Test
$ Lua
Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
>
Press Ctrl + D to exit.
By the way, I use ubuntu dapper and usually use xfce. Good luck.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.