bash: lua: command not found

1 개요[ | ]

bash: lua: command not found
$ lua
bash: lua: command not found
$ sudo apt install lua
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package lua is a virtual package provided by:
  lua50 5.0.3-8.1
  lua5.4 5.4.2-2
  lua5.3 5.3.3-1.1+b1
  lua5.2 5.2.4-1.1+b3
  lua5.1 5.1.5-8.1+b3
You should explicitly select one to install.

E: Package 'lua' has no installation candidate
$ sudo apt install lua5.4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  lua5.4
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 126 kB of archives.
After this operation, 469 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 lua5.4 amd64 5.4.2-2 [126 kB]
Fetched 126 kB in 0s (1397 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package lua5.4.
(Reading database ... 139753 files and directories currently installed.)
Preparing to unpack .../lua5.4_5.4.2-2_amd64.deb ...
Unpacking lua5.4 (5.4.2-2) ...
Setting up lua5.4 (5.4.2-2) ...
Processing triggers for man-db (2.9.4-2) ...
$ lua -v
Lua 5.4.2  Copyright (C) 1994-2020 Lua.org, PUC-Rio

2 같이 보기[ | ]

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