개요
- 우분투 lua 설치
- 우분투18 lua 설치
testuser@localhost:~$ lua hello.lua
Command 'lua' not found, but can be installed with:
apt install lua5.1
apt install lua5.2
apt install lua50
Ask your administrator to install one of them.
root@localhost:~# lua -v
Command 'lua' not found, but can be installed with:
apt install lua5.1
apt install lua5.2
apt install lua50
root@localhost:~# apt install lua5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lua5.1
0 upgraded, 1 newly installed, 0 to remove and 83 not upgraded.
Need to get 93.2 kB of archives.
After this operation, 330 kB of additional disk space will be used.
... (생략)
update-alternatives: using /usr/bin/lua5.1 to provide /usr/bin/lua (lua-interpreter) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lua.1.gz because associated file /usr/share/man/man1/lua5.1.1.gz (of link group lua-interpreter) doesn't exist
update-alternatives: using /usr/bin/luac5.1 to provide /usr/bin/luac (lua-compiler) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/luac.1.gz because associated file /usr/share/man/man1/luac5.1.1.gz (of link group lua-compiler) doesn't exist
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@localhost:~# lua -v
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
같이 보기