您的位置:首页 > 编程语言 > Lua

Installing Lua on UBUNTU

2012-04-28 11:31 204 查看
from: http://forums.verlihub-project.org/viewtopic.php?f=26&t=4702

first of all you must have lua.open your console and go in your selected folder ex :

Code: Select all
cd /home/nick


then you must take lua

Code: Select all
wget http://www.lua.org/ftp/lua-5.1.4.tar.gz[/code] 
then you must unpack it

Code: Select all
tar xzvf lua-5.1.4.tar.gz


then enter the selected directory

Code: Select all
cd /home/nick/lua-5.1.4


then install a required library

Code: Select all
sudo apt-get install libreadline5-dev


the you can install lua by running

Code: Select all
sudo make linux install


and you should have lua installed on your sistem.all you have to do then is to install verlihub lua plugin
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: