- 윈도우 wget 설치
1 확인[ | ]
Console
Copy
C:\Users\Jmnote>clist -lo | findstr wget
C:\Users\Jmnote>wget
'wget'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
2 설치[ | ]
Console
Copy
C:\Users\Jmnote>choco install wget
Chocolatey detected you are not running from an elevated command shell
(cmd/powershell).
You may experience errors - many functions/packages
require admin rights. Only advanced users should run choco w/out an
elevated shell. When you open the command shell, you should ensure
that you do so with "Run as Administrator" selected.
Do you want to continue?
1) yes
2) no
- → 1 ↵ Enter
Console
Copy
Installing the following packages:
wget
By installing you accept licenses for the packages.
Wget v1.17.0.0
The package Wget wants to run 'ChocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider setting
'allowGlobalConfirmation'. Run 'choco feature -h' for more details.
Do you want to run the script?
1) yes
2) no
3) print
- → 1 ↵ Enter
Console
Copy
Downloading Wget 64 bit
from 'https://eternallybored.org/misc/wget/releases/wget-1.17-win64.zip'
Extracting C:\Users\Jmnote\AppData\Local\Temp\chocolatey\Wget\1.17.0.0\WgetInst
all.zip to C:\ProgramData\chocolatey\lib\Wget\tools...
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\Jmnote\AppData\Local\Temp\chocolatey\Wget\1.17.0.0
\WgetInstall.zip
Extracting ca-bundle.crt
Extracting COPYING
Extracting wget.exe
Extracting wget.exe.debug
Extracting wget.html
Extracting wget.ini.sample
Everything is Ok
Files: 6
Size: 5381075
Compressed: 2010852
C:\ProgramData\chocolatey\lib\Wget\tools
ShimGen has successfully created a shim for wget.exe
The install of wget was successful.
Chocolatey installed 1/1 package(s). 0 package(s) failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
3 확인 2[ | ]
Console
Copy
C:\Users\Jmnote>wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
4 테스트[ | ]
Console
Copy
C:\Users\Jmnote>wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2016-01-22 21:20:52-- http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-rele
ase-6-8.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.27, 209.132
.181.25, 209.132.181.24, ...
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.27|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: 'epel-release-6-8.noarch.rpm'
epel-release-6-8.no 100%[=====================>] 14.20K 36.6KB/s in 0.4s
2016-01-22 21:20:54 (36.6 KB/s) - 'epel-release-6-8.noarch.rpm' saved [14540/145
40]
5 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.