wget이란 인터넷의 파일을 다운로드 받는 리눅스 명령어 중 하나입니다.


1. 아래와 같이 yum을 통해 wget을 설치합니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
$ sudo yum install wget
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.navercorp.com
 * extras: mirror.navercorp.com
 * updates: mirror.navercorp.com
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-15.el7_4.1 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=====================================================================================================================
 Package                Arch                     Version                             Repository                 Size
=====================================================================================================================
Installing:
 wget                   x86_64                   1.14-15.el7_4.1                     updates                   547 k
 
Transaction Summary
=====================================================================================================================
Install  1 Package
 
Total download size: 547 k
Installed size: 2.0 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/updates/packages/wget-1.14-15.el7_4.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for wget-1.14-15.el7_4.1.x86_64.rpm is not installed
wget-1.14-15.el7_4.1.x86_64.rpm                                                               | 547 kB  00:00:01
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) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-4.1708.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wget-1.14-15.el7_4.1.x86_64                                                                       1/1
install-info: No such file or directory for /usr/share/info/wget.info.gz
  Verifying  : wget-1.14-15.el7_4.1.x86_64                                                                       1/1
 
Installed:
  wget.x86_64 0:1.14-15.el7_4.1
 
Complete!
 
cs



2. 설치 여부 확인

1
2
3
4
5
6
$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
 
Try `wget --help' for more options.
 
cs



'Operating System > Linux' 카테고리의 다른 글

centos python pip 설치  (0) 2017.11.06
centos zip 설치, 압축 및 압축 해제  (0) 2017.11.06
ubuntu python pip 설치  (0) 2017.11.06
ubuntu zip 설치, 압축 및 압축 해제  (0) 2017.11.06
ruby 설치  (0) 2017.10.31

+ Recent posts