"우분투16 Lua 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# lua -v
root@zetawiki:~# lua -v
-bash: lua: command not found
-bash: lua: command not found
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt list lua5*
root@zetawiki:~# apt list lua5*
Listing... Done
Listing... Done
19번째 줄: 19번째 줄:
lua50/xenial 5.0.3-7 amd64
lua50/xenial 5.0.3-7 amd64
lua50-doc/xenial,xenial 5.0.3-7 all
lua50-doc/xenial,xenial 5.0.3-7 all
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt install lua5.3
root@zetawiki:~# apt install lua5.3
Reading package lists... Done
Reading package lists... Done
40번째 줄: 40번째 줄:
Processing triggers for man-db (2.7.5-1) ...##########...................................]  
Processing triggers for man-db (2.7.5-1) ...##########...................................]  
Setting up lua5.3 (5.3.1-1ubuntu2) ...
Setting up lua5.3 (5.3.1-1ubuntu2) ...
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt list lua5* --installed
root@zetawiki:~# apt list lua5* --installed
Listing... Done
Listing... Done
lua5.3/xenial,now 5.3.1-1ubuntu2 amd64 [installed]
lua5.3/xenial,now 5.3.1-1ubuntu2 amd64 [installed]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# lua -v
root@zetawiki:~# lua -v
-bash: lua: command not found
-bash: lua: command not found
root@zetawiki:~# lua5.3 -v
root@zetawiki:~# lua5.3 -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# ll /usr/bin/ | grep lua
root@zetawiki:~# ll /usr/bin/ | grep lua
-rwxr-xr-x  1 root  root      220056 Apr 14  2016 lua5.3*
-rwxr-xr-x  1 root  root      220056 Apr 14  2016 lua5.3*
-rwxr-xr-x  1 root  root      141824 Apr 14  2016 luac5.3*
-rwxr-xr-x  1 root  root      141824 Apr 14  2016 luac5.3*
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# ln -s /usr/bin/lua5.3 /usr/bin/lua
root@zetawiki:~# ln -s /usr/bin/lua5.3 /usr/bin/lua
root@zetawiki:~# ln -s /usr/bin/luac5.3 /usr/bin/luac
root@zetawiki:~# ln -s /usr/bin/luac5.3 /usr/bin/luac
67번째 줄: 67번째 줄:
lrwxrwxrwx  1 root  root          16 Jun 22 20:33 luac -> /usr/bin/luac5.3*
lrwxrwxrwx  1 root  root          16 Jun 22 20:33 luac -> /usr/bin/luac5.3*
-rwxr-xr-x  1 root  root      141824 Apr 14  2016 luac5.3*
-rwxr-xr-x  1 root  root      141824 Apr 14  2016 luac5.3*
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# lua -v
root@zetawiki:~# lua -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
root@zetawiki:~# luac -v
root@zetawiki:~# luac -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[Lua]]
* [[Lua]]
* [[우분투18 Lua 설치]]


[[분류: apt install]]
[[분류: apt install]]
[[분류: Lua]]
[[분류: Lua]]

2020년 11월 2일 (월) 02:55 기준 최신판

  다른 뜻에 대해서는 CentOS Lua 설치 문서를 참조하십시오.
우분투16 Lua 설치

1 확인[ | ]

root@zetawiki:~# lua -v
-bash: lua: command not found
root@zetawiki:~# apt list lua5*
Listing... Done
lua5.1/xenial 5.1.5-8ubuntu1 amd64
lua5.1-doc/xenial,xenial 5.1.5-8ubuntu1 all
lua5.1-policy/xenial,xenial 33 all
lua5.1-policy-dev/xenial,xenial 33 all
lua5.2/xenial 5.2.4-1ubuntu1 amd64
lua5.2-doc/xenial,xenial 5.2.4-1ubuntu1 all
lua5.3/xenial 5.3.1-1ubuntu2 amd64
lua50/xenial 5.0.3-7 amd64
lua50-doc/xenial,xenial 5.0.3-7 all

2 설치[ | ]

root@zetawiki:~# apt install lua5.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  lua5.3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 104 kB of archives.
After this operation, 379 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 lua5.3 amd64 5.3.1-1ubuntu2 [104 kB]
Fetched 104 kB in 1s (86.7 kB/s) 
Selecting previously unselected package lua5.3.
(Reading database ... 120374 files and directories currently installed.)
Preparing to unpack .../lua5.3_5.3.1-1ubuntu2_amd64.deb ...
Unpacking lua5.3 (5.3.1-1ubuntu2) .......................................................] 
Processing triggers for man-db (2.7.5-1) ...##########...................................] 
Setting up lua5.3 (5.3.1-1ubuntu2) ...

3 확인 2[ | ]

root@zetawiki:~# apt list lua5* --installed
Listing... Done
lua5.3/xenial,now 5.3.1-1ubuntu2 amd64 [installed]
root@zetawiki:~# lua -v
-bash: lua: command not found
root@zetawiki:~# lua5.3 -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
root@zetawiki:~# ll /usr/bin/ | grep lua
-rwxr-xr-x  1 root   root      220056 Apr 14  2016 lua5.3*
-rwxr-xr-x  1 root   root      141824 Apr 14  2016 luac5.3*
root@zetawiki:~# ln -s /usr/bin/lua5.3 /usr/bin/lua
root@zetawiki:~# ln -s /usr/bin/luac5.3 /usr/bin/luac
root@zetawiki:~# ll /usr/bin/ | grep lua
lrwxrwxrwx  1 root   root          15 Jun 22 20:31 lua -> /usr/bin/lua5.3*
-rwxr-xr-x  1 root   root      220056 Apr 14  2016 lua5.3*
lrwxrwxrwx  1 root   root          16 Jun 22 20:33 luac -> /usr/bin/luac5.3*
-rwxr-xr-x  1 root   root      141824 Apr 14  2016 luac5.3*
root@zetawiki:~# lua -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio
root@zetawiki:~# luac -v
Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}