windows安装wget_如何为Windows下载和安装Wget?

windows安装wget

windows安装wget

wget is used download files over network with different protocols. wget can be get from most of the linux distributions with their respective package manager. But in windows we need to get and install wget manually. In this tutorial we will look how to download, install and setup wget for windows operating systems like 7, 8, 10, server etc. For more information of wget windows usage look following tutorial.

wget用于通过具有不同协议的网络下载文件。 wget可以从大多数Linux发行版及其相应的包管理器中获取。 但是在Windows中,我们需要手动获取和安装wget 。 在本教程中,我们将研究如何为Windows操作系统(如wget ,服务器等)下载,安装和设置wget 。有关wget Windows使用的更多信息,请参见以下教程。

http://www.poftut.com/wget-command-tutorial-examples-linux/

http://www.poftut.com/wget-command-tutorial-examples-linux/

从Sourceforge下载 (Download From Sourceforge)

Sourceforge provide support for a lot of opensource and free projects. wget is one of them. We can download windows binaries from following links.

Sourceforge为许多开源和免费项目提供支持。 wget是其中之一。 我们可以从以下链接下载Windows二进制文件。

二进制文件 (Binaries)

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-bin.zip

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-bin.zip

源文件 (Source Files)

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-src-setup.exe

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-src-setup.exe

文献资料 (Documentation)

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-doc.zip

http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-doc.zip

从Eternallybored下载 (Download From Eternallybored)

Eternallybored.org is a web site provides GNU projects windows binaries. We can download wget from following links.

Eternallybored.org是一个提供GNU项目Windows二进制文件的网站。 我们可以从以下链接下载wget

32位二进制 (32 Bit Binary)

https://eternallybored.org/misc/wget/releases/wget-1.19.1-win32.zip

https://eternallybored.org/misc/wget/releases/wget-1.19.1-win32.zip

64位二进制 (64 Bit Binary)

https://eternallybored.org/misc/wget/releases/wget-1.19.1-win64.zip

https://eternallybored.org/misc/wget/releases/wget-1.19.1-win64.zip

安装 (Installation)

Download wget.exe or similar files and extract if required.

下载wget.exe或类似文件并根据需要解压缩。

Then create a folder named wget in the program files.

然后在程序文件中创建一个名为wget的文件夹。

> mkdir wget

复制档案 (Copy Files)

We will copy file or files to the newly created folder named wget . The full path of wget is C:\Program Files\wget .

我们会将一个或多个文件复制到名为wget的新创建的文件夹中。 wget的完整路径是C:\Program Files\wget

> copy "c:\Users\ismail\Downloads\wget64.exe" "c:\Program Files\wget\"

将Wget路径添加到环境变量 (Add Wget Path To Environment Variables)

Now we will add the current path of wget binary to the system path.

现在,我们将wget binary的当前路径添加到系统路径。

Computer -> Advenced System Settings -> Advenced -> Environment Variables -> Path  System variable.

Computer -> Advenced System Settings -> Advenced -> Environment Variables -> Path系统变量。

Add the following line. This will add wget path to the PATH variable which is used to locate commands and binaries. So we can use wget from different directories and drives without providing the whole wget binary path.

添加以下行。 这会将wget路径添加到PATH变量中,该变量用于定位命令和二进制文件。 因此,我们可以使用不同目录和驱动器中的wget ,而无需提供完整的wget二进制路径。

;C:\Program Files\wget

运行Wget Windows (Run Wget Windows)

Now open new MS-DOS or Powershell terminal to run wget command.

现在打开新的MS-DOS或Powershell终端以运行wget命令。

>wget64.exe --help
Run Wget Windows
Run Wget Windows
运行Wget Windows
LEARN MORE  How To Ping Specified Port Number?
了解更多信息如何Ping指定的端口号?

翻译自: https://www.poftut.com/download-install-wget-windows/

windows安装wget

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值