testw@ubuntu:~$ sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring
[sudo] password for test:
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsb-release is already the newest version (11.1.0ubuntu2).
lsb-release set to manually installed.
ca-certificates is already the newest version (20211016~20.04.1).
curl is already the newest version (7.68.0-1ubuntu2.12).
ubuntu-keyring is already the newest version (2020.02.11.4).
ubuntu-keyring set to manually installed.
The following packages were automatically installed and are no longer required:
galera-4 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mariadb-perl libdbi-perl libencode-locale-perl libfcgi-perl libfwupdplugin1 libhtml-parser-perl libhtml-tagset-perl
libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libpmem1 libterm-readkey-perl libtimedate-perl liburi-perl socat
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
gnupg2
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 5,316 B of archives.
After this operation, 51.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://kr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 gnupg2 all 2.2.19-3ubuntu2.2 [5,316 B]
Fetched 5,316 B in 1s (5,617 B/s)
Selecting previously unselected package gnupg2.
(Reading database ... 99897 files and directories currently installed.)
Preparing to unpack .../gnupg2_2.2.19-3ubuntu2.2_all.deb ...
Unpacking gnupg2 (2.2.19-3ubuntu2.2) ...
Setting up gnupg2 (2.2.19-3ubuntu2.2) ...
Processing triggers for man-db (2.9.1-1) ...
NginX Signing Key 가져오기
서명키 가져오기
Import an official nginx signing key so apt could verify the packages authenticity. Fetch the key