Centos에 wget 설치

1. wget이 설치되어 있는지 확인
rpm -qa | grep wget
[root@localhost tools]# rpm -qa | grep wget
[root@localhost tools]# 

2. wget 설치
[root@localhost tools]# yum -y install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.jdcloud.com
 * extras: mirror.jdcloud.com
 * updates: mirror.jdcloud.com
mysql57-community                                                                                                                    | 2.5 kB  00:00:00     
mysql57-community/x86_64/primary_db                                                                                                  | 187 kB  00:00:11     
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================
 Package                          Arch                               Version                                      Repository                           Size
============================================================================================================================================================
Installing:
 wget                             x86_64                             1.14-18.el7_6.1                              updates                             547 k

Transaction Summary
============================================================================================================================================================
Install  1 Package

Total download size: 547 k
Installed size: 2.0 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/updates/packages/wget-1.14-18.el7_6.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY 0 B  --:--:-- ETA 
Public key for wget-1.14-18.el7_6.1.x86_64.rpm is not installed
wget-1.14-18.el7_6.1.x86_64.rpm                                                                                                      | 547 kB  00:00:02     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) "
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-5.1804.el7.centos.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wget-1.14-18.el7_6.1.x86_64                                                                                                              1/1 
  Verifying  : wget-1.14-18.el7_6.1.x86_64                                                                                                              1/1 

Installed:
  wget.x86_64 0:1.14-18.el7_6.1                                                                                                                             

Complete!
[root@localhost tools]# 

Complete가 나타나면 설치가 완료된 것입니다.

좋은 웹페이지 즐겨찾기