wget之Win11中安装及使用

wget之Win11中安装及使用

文章目录

  • wget之Win11中安装及使用
  • 1. 下载
  • 2. 安装
  • 3. 配置环境变量
  • 4. 查看及使用
    • 1. 查看版本
    • 2. 帮助命令
    • 3. 基本使用

1. 下载

下载地址:https://eternallybored.org/misc/wget

选择对应的版本进行下载即可

在这里插入图片描述

2. 安装

  1. 将下载后的wget-1.21.4-win64.zip解压
  2. 如解压到D:\Programs\wget-1.21.4-win64

3. 配置环境变量

在用户或系统变量的path中配置

在这里插入图片描述

4. 查看及使用

1. 查看版本

C:\Users\jinshengyuan>wget -V
GNU Wget 1.21.4 built on mingw32.+cares +digest +gpgme +https +ipv6 +iri +large-file +metalink -nls
+ntlm +opie +psl +ssl/opensslWgetrc:C:/msys64/qemu/opt/misc-x64/etc/wgetrc (system)
Compile:x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H-DSYSTEM_WGETRC="/opt/misc-x64/etc/wgetrc"-DLOCALEDIR="/opt/misc-x64/share/locale" -I. -I../../src -I../lib-I../../lib -I/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include -DCARES_STATICLIB-IC:/msys64/qemu/opt/misc-x64/include -DPCRE2_STATIC-IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include -DHAVE_LIBSSL -I-IC:/msys64/qemu/opt/misc-x64/include -DNDEBUG -ggdb-mtune=broadwell -mtune=znver2 -O2 -pipe
Link:x86_64-w64-mingw32-gcc -IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include -DCARES_STATICLIB-IC:/msys64/qemu/opt/misc-x64/include -DPCRE2_STATIC-IC:/msys64/qemu/opt/misc-x64/include-IC:/msys64/qemu/opt/misc-x64/include -DHAVE_LIBSSL -I-IC:/msys64/qemu/opt/misc-x64/include -DNDEBUG -ggdb-mtune=broadwell -mtune=znver2 -O2 -pipe -L/opt/misc-x64/lib-LC:/msys64/qemu/opt/misc-x64/lib -lmetalink-LC:/msys64/qemu/opt/misc-x64/lib -lcares-LC:/msys64/qemu/opt/misc-x64/lib -lpcre2-8-LC:/msys64/qemu/opt/misc-x64/lib -lidn2-LC:/msys64/qemu/opt/misc-x64/lib64 -lssl -lcrypto -L -lz-LC:/msys64/qemu/opt/misc-x64/lib -lpsl -lws2_32 -lole32 -lcrypt32-lexpat -LC:/msys64/qemu/opt/misc-x64/lib -lgpgme ../lib/libgnu.a-lws2_32 -lws2_32 -lws2_32 -lws2_32 /opt/misc-x64/lib/libiconv.a/opt/misc-x64/lib/libunistring.a /opt/misc-x64/lib/libiconv.a-lws2_32Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.C:\Users\jinshengyuan>

2. 帮助命令

C:\Users\jinshengyuan>wget -h
GNU Wget 1.21.4, a non-interactive network retriever.
Usage: wget [OPTION]... [URL]...Mandatory arguments to long options are mandatory for short options too.Startup:-V,  --version                   display the version of Wget and exit-h,  --help                      print this help-b,  --background                go to background after startup-e,  --execute=COMMAND           execute a `.wgetrc'-style commandLogging and input file:-o,  --output-file=FILE          log messages to FILE-a,  --append-output=FILE        append messages to FILE-d,  --debug                     print lots of debugging information-q,  --quiet                     quiet (no output)-v,  --verbose                   be verbose (this is the default)-nv, --no-verbose                turn off verboseness, without being quiet--report-speed=TYPE         output bandwidth as TYPE.  TYPE can be bits-i,  --input-file=FILE           download URLs found in local or external FILE--input-metalink=FILE       download files covered in local Metalink FILE-F,  --force-html                treat input file as HTML-B,  --base=URL                  resolves HTML input-file links (-i -F)relative to URL--config=FILE               specify config file to use--no-config                 do not read any config file--rejected-log=FILE         log reasons for URL rejection to FILEDownload:-t,  --tries=NUMBER              set number of retries to NUMBER (0 unlimits)--retry-connrefused         retry even if connection is refused--retry-on-host-error       consider host errors as non-fatal, transient errors--retry-on-http-error=ERRORS    comma-separated list of HTTP errors to retry-O,  --output-document=FILE      write documents to FILE-nc, --no-clobber                skip downloads that would download toexisting files (overwriting them)--no-netrc                  don't try to obtain credentials from .netrc-c,  --continue                  resume getting a partially-downloaded file--start-pos=OFFSET          start downloading from zero-based position OFFSET--progress=TYPE             select progress gauge type--show-progress             display the progress bar in any verbosity mode-N,  --timestamping              don't re-retrieve files unless newer thanlocal--no-if-modified-since      don't use conditional if-modified-since getrequests in timestamping mode--no-use-server-timestamps  don't set the local file's timestamp bythe one on the server-S,  --server-response           print server response--spider                    don't download anything-T,  --timeout=SECONDS           set all timeout values to SECONDS--dns-servers=ADDRESSES     list of DNS servers to query (comma separated)--bind-dns-address=ADDRESS  bind DNS resolver to ADDRESS (hostname or IP) on local host--dns-timeout=SECS          set the DNS lookup timeout to SECS--connect-timeout=SECS      set the connect timeout to SECS--read-timeout=SECS         set the read timeout to SECS-w,  --wait=SECONDS              wait SECONDS between retrievals(applies if more then 1 URL is to be retrieved)--waitretry=SECONDS         wait 1..SECONDS between retries of a retrieval(applies if more then 1 URL is to be retrieved)--random-wait               wait from 0.5*WAIT...1.5*WAIT secs between retrievals(applies if more then 1 URL is to be retrieved)--no-proxy                  explicitly turn off proxy-Q,  --quota=NUMBER              set retrieval quota to NUMBER--bind-address=ADDRESS      bind to ADDRESS (hostname or IP) on local host--limit-rate=RATE           limit download rate to RATE--no-dns-cache              disable caching DNS lookups--restrict-file-names=OS    restrict chars in file names to ones OS allows--ignore-case               ignore case when matching files/directories-4,  --inet4-only                connect only to IPv4 addresses-6,  --inet6-only                connect only to IPv6 addresses--prefer-family=FAMILY      connect first to addresses of specified family,one of IPv6, IPv4, or none--user=USER                 set both ftp and http user to USER--password=PASS             set both ftp and http password to PASS--ask-password              prompt for passwords--use-askpass=COMMAND       specify credential handler for requestingusername and password.  If no COMMAND isspecified the WGET_ASKPASS or the SSH_ASKPASSenvironment variable is used.--no-iri                    turn off IRI support--local-encoding=ENC        use ENC as the local encoding for IRIs--remote-encoding=ENC       use ENC as the default remote encoding--unlink                    remove file before clobber--keep-badhash              keep files with checksum mismatch (append .badhash)--metalink-index=NUMBER     Metalink application/metalink4+xml metaurl ordinal NUMBER--metalink-over-http        use Metalink metadata from HTTP response headers--preferred-location        preferred location for Metalink resourcesDirectories:-nd, --no-directories            don't create directories-x,  --force-directories         force creation of directories-nH, --no-host-directories       don't create host directories--protocol-directories      use protocol name in directories-P,  --directory-prefix=PREFIX   save files to PREFIX/..--cut-dirs=NUMBER           ignore NUMBER remote directory componentsHTTP options:--http-user=USER            set http user to USER--http-password=PASS        set http password to PASS--no-cache                  disallow server-cached data--default-page=NAME         change the default page name (normallythis is 'index.html'.)-E,  --adjust-extension          save HTML/CSS documents with proper extensions--ignore-length             ignore 'Content-Length' header field--header=STRING             insert STRING among the headers--compression=TYPE          choose compression, one of auto, gzip and none. (default: none)--max-redirect              maximum redirections allowed per page--proxy-user=USER           set USER as proxy username--proxy-password=PASS       set PASS as proxy password--referer=URL               include 'Referer: URL' header in HTTP request--save-headers              save the HTTP headers to file-U,  --user-agent=AGENT          identify as AGENT instead of Wget/VERSION--no-http-keep-alive        disable HTTP keep-alive (persistent connections)--no-cookies                don't use cookies--load-cookies=FILE         load cookies from FILE before session--save-cookies=FILE         save cookies to FILE after session--keep-session-cookies      load and save session (non-permanent) cookies--post-data=STRING          use the POST method; send STRING as the data--post-file=FILE            use the POST method; send contents of FILE--method=HTTPMethod         use method "HTTPMethod" in the request--body-data=STRING          send STRING as data. --method MUST be set--body-file=FILE            send contents of FILE. --method MUST be set--content-disposition       honor the Content-Disposition header whenchoosing local file names (EXPERIMENTAL)--content-on-error          output the received content on server errors--auth-no-challenge         send Basic HTTP authentication informationwithout first waiting for the server'schallengeHTTPS (SSL/TLS) options:--secure-protocol=PR        choose secure protocol, one of auto, SSLv2,SSLv3, TLSv1, TLSv1_1, TLSv1_2, TLSv1_3 and PFS--https-only                only follow secure HTTPS links--no-check-certificate      don't validate the server's certificate--certificate=FILE          client certificate file--certificate-type=TYPE     client certificate type, PEM or DER--private-key=FILE          private key file--private-key-type=TYPE     private key type, PEM or DER--ca-certificate=FILE       file with the bundle of CAs--ca-directory=DIR          directory where hash list of CAs is stored--crl-file=FILE             file with bundle of CRLs--pinnedpubkey=FILE/HASHES  Public key (PEM/DER) file, or any numberof base64 encoded sha256 hashes preceded by'sha256//' and separated by ';', to verifypeer against--random-file=FILE          file with random data for seeding the SSL PRNG--ciphers=STR           Set the priority string (GnuTLS) or cipher list string (OpenSSL) directly.Use with care. This option overrides --secure-protocol.The format and syntax of this string depend on the specific SSL/TLS engine.
HSTS options:--no-hsts                   disable HSTS--hsts-file                 path of HSTS database (will override default)FTP options:--ftp-user=USER             set ftp user to USER--ftp-password=PASS         set ftp password to PASS--no-remove-listing         don't remove '.listing' files--no-glob                   turn off FTP file name globbing--no-passive-ftp            disable the "passive" transfer mode--preserve-permissions      preserve remote file permissions--retr-symlinks             when recursing, get linked-to files (not dir)FTPS options:--ftps-implicit                 use implicit FTPS (default port is 990)--ftps-resume-ssl               resume the SSL/TLS session started in the control connection whenopening a data connection--ftps-clear-data-connection    cipher the control channel only; all the data will be in plaintext--ftps-fallback-to-ftp          fall back to FTP if FTPS is not supported in the target server
WARC options:--warc-file=FILENAME        save request/response data to a .warc.gz file--warc-header=STRING        insert STRING into the warcinfo record--warc-max-size=NUMBER      set maximum size of WARC files to NUMBER--warc-cdx                  write CDX index files--warc-dedup=FILENAME       do not store records listed in this CDX file--no-warc-compression       do not compress WARC files with GZIP--no-warc-digests           do not calculate SHA1 digests--no-warc-keep-log          do not store the log file in a WARC record--warc-tempdir=DIRECTORY    location for temporary files created by theWARC writerRecursive download:-r,  --recursive                 specify recursive download-l,  --level=NUMBER              maximum recursion depth (inf or 0 for infinite)--delete-after              delete files locally after downloading them-k,  --convert-links             make links in downloaded HTML or CSS point tolocal files--convert-file-only         convert the file part of the URLs only (usually known as the basename)--backups=N                 before writing file X, rotate up to N backup files-K,  --backup-converted          before converting file X, back up as X.orig-m,  --mirror                    shortcut for -N -r -l inf --no-remove-listing-p,  --page-requisites           get all images, etc. needed to display HTML page--strict-comments           turn on strict (SGML) handling of HTML commentsRecursive accept/reject:-A,  --accept=LIST               comma-separated list of accepted extensions-R,  --reject=LIST               comma-separated list of rejected extensions--accept-regex=REGEX        regex matching accepted URLs--reject-regex=REGEX        regex matching rejected URLs--regex-type=TYPE           regex type (posix|pcre)-D,  --domains=LIST              comma-separated list of accepted domains--exclude-domains=LIST      comma-separated list of rejected domains--follow-ftp                follow FTP links from HTML documents--follow-tags=LIST          comma-separated list of followed HTML tags--ignore-tags=LIST          comma-separated list of ignored HTML tags-H,  --span-hosts                go to foreign hosts when recursive-L,  --relative                  follow relative links only-I,  --include-directories=LIST  list of allowed directories--trust-server-names        use the name specified by the redirectionURL's last component-X,  --exclude-directories=LIST  list of excluded directories-np, --no-parent                 don't ascend to the parent directoryEmail bug reports, questions, discussions to <bug-wget@gnu.org>
and/or open issues at https://savannah.gnu.org/bugs/?func=additem&group=wget.C:\Users\jinshengyuan>

3. 基本使用

下载wget-1.21.4-win64.zip文件

# 下载wget
wget https://eternallybored.org/misc/wget/releases/wget-1.21.4-win64.zip
# 下载node.js
wget https://nodejs.org/dist/v20.15.0/node-v20.15.0-win-x64.zip

命令执行过程如下

在这里插入图片描述

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/35905.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

算法导论 总结索引 | 第四部分 第十六章:贪心算法

1、求解最优化问题的算法 通常需要经过一系列的步骤&#xff0c;在每个步骤都面临多种选择。对于许多最优化问题&#xff0c;使用动态规划算法求最优解有些杀鸡用牛刀了&#xff0c;可以使用更简单、更高效的算法 贪心算法&#xff08;greedy algorithm&#xff09;就是这样的算…

Git 学习笔记(超详细注释,从0到1)

Git学习笔记 1.1 关键词 Fork、pull requests、pull、fetch、push、diff、merge、commit、add、checkout 1.2 原理&#xff08;看图学习&#xff09; 1.3 Fork别人仓库到自己仓库中 记住2个地址 1&#xff09;上游地址&#xff08;upstream地址&#xff09;&#xff1a;http…

【Qt】Qt多线程编程指南:提升应用性能与用户体验

文章目录 前言1. Qt 多线程概述2. QThread 常用 API3. 使用线程4. 多线的使用场景5. 线程安全问题5.1. 加锁5.2. QReadWriteLocker、QReadLocker、QWriteLocker 6. 条件变量 与 信号量6.1. 条件变量6.2 信号量 总结 前言 在现代软件开发中&#xff0c;多线程编程已成为一个不可…

C语言类型转换理解不同的基本类型为什么能够进行运算

类型转换 1.类型转换1.1隐式转换1.2常用算术转换1.2强制类型转换 1.类型转换 在执行算数运算时&#xff0c;计算机比C语言的限制更多。为了让计算机执行算术运算&#xff0c;通常要求操作数用相同的大小&#xff08;即为的数量相同&#xff09;&#xff0c;但是C语言却允许混合…

Java基础:常用类(四)

Java基础&#xff1a;常用类&#xff08;四&#xff09; 文章目录 Java基础&#xff1a;常用类&#xff08;四&#xff09;1. String字符串类1.1 简介1.2 创建方式1.3 构造方法1.4 连接操作符1.5 常用方法 2. StringBuffer和StringBuilder类2.1 StringBuffer类2.1.1 简介2.1.2 …

智能电能表如何助力智慧农业

智能电能表作为智能电网数据采集的基本设备之一&#xff0c;不仅具备传统电能表基本用电量的计量功能&#xff0c;还具备双向多种费率计量功能、用户端控制功能、多种数据传输模式的双向数据通信功能以及防窃电功能等智能化的功能。这些功能使得智能电能表在农业领域的应用具有…

【渗透测试】小程序反编译

前言 在渗透测试时&#xff0c;除了常规的Web渗透&#xff0c;小程序也是我们需要重点关注的地方&#xff0c;微信小程序反编译后&#xff0c;可以借助微信小程序开发者工具进行调试&#xff0c;搜索敏感关键字&#xff0c;或许能够发现泄露的AccessKey等敏感信息及数据 工具…

【SkiaSharp绘图11】SKCanvas属性详解

文章目录 SKCanvas构造SKCanvas构造光栅 Surface构造GPU Surface构造PDF文档构造XPS文档构造SVG文档SKNoDrawCanvas 变换剪裁和状态构造函数相关属性DeviceClipBounds获取裁切边界(设备坐标系)ClipRect修改裁切区域IsClipEmpty当前裁切区域是否为空IsClipRect裁切区域是否为矩形…

JFreeChart 生成Word图表

文章目录 1 思路1.1 概述1.2 支持的图表类型1.3 特性 2 准备模板3 导入依赖4 图表生成工具类 ChartWithChineseExample步骤 1: 准备字体文件步骤 2: 注册字体到FontFactory步骤 3: 设置图表具体位置的字体柱状图&#xff1a;饼图&#xff1a;折线图&#xff1a;完整代码&#x…

国产车规MCU OTA方案总结

目录 1. 旗芯微FC4150 OTA 2. 云途YTM32B1MD OTA 3.小结 今天没有废话&#xff0c;啪一下很快&#xff0c;把目前接触到的国内带eFlash的车规MCU硬件OTA方案做一个梳理。 1. 旗芯微FC4150 OTA 旗芯微FC4150是基于ARM Cortex(快去审核下官网介绍&#xff0c;少了个T)-M4F内…

openGauss Developer Day 2024丨MogDB实现数据库技术跨越,Ustore引擎革新存储新境界

openGauss Developer Day 2024 6月21日&#xff0c;openGauss Developer Day 2024在北京昆泰嘉瑞文化中心成功召开。大会聚集学术专家、行业用户、合作伙伴和开发者&#xff0c;共同探讨数据库面向多场景的技术创新&#xff0c;分享基于 openGauss 的行业联合创新成果及实践案例…

探索PHP中的魔术常量

PHP中的魔术常量&#xff08;Magic Constants&#xff09;是一些特殊的预定义常量&#xff0c;它们在不同的上下文中具有不同的值。这些常量可以帮助开发者获取文件路径、行号、函数名等信息&#xff0c;从而方便调试和日志记录。本文将详细介绍PHP中的魔术常量&#xff0c;帮助…

web前端——javaScript

目录 一、javaScript概述 1.javaScript历史 2.JavaScript与html,css关系 二、基本语法 ①放在head中 ②放在 body中 ③写在外部的.js文件中 1.变量 2.数据类型 3.算术运算符 4.逻辑运算符 5.赋值运算 6.逻辑运算符 7.条件运算符 8.控制语句 三、函数 1…

Arduino - 按钮 - 长按短按

Arduino - Button - Long Press Short Press Arduino - 按钮 - 长按短按 Arduino - Button - Long Press Short Press We will learn: 我们将学习&#xff1a; How to detect the button’s short press 如何检测按钮的短按How to detect the button’s long press 如何检测…

重大进展!微信支付收款码全场景接入银联网络

据中国银联6月19日消息&#xff0c;近日&#xff0c;银联网络迎来微信支付收款码场景的全面接入&#xff0c;推动条码支付互联互通取得新进展&#xff0c;为境内外广大消费者提供更多支付选择、更好支付体验。 2024年6月&#xff0c;伴随微信支付经营收款码的开放&#xff0c;微…

Rust: duckdb和polars读csv文件比较

一、文件准备 样本内容&#xff0c;N行9列的csv标准格式&#xff0c;有字符串&#xff0c;有浮点数&#xff0c;有整型。 有两个csv文件&#xff0c;一个大约是2.1万行&#xff1b;一个是64万行。 二、toml文件 [package] name "my_duckdb" version "0.1.0&…

VSCode安装OpenImageDebugger

VSCode安装OpenImageDebugger 1. 官网2. 编译2.1 依赖项2.2 编译 OpenImageDebugger2.3 配置 GDB 和 LLDB 3. 验证安装是否成功 1. 官网 下载路径&#xff1a;OpenImageDebugger 2. 编译 2.1 依赖项 官网上描述&#xff0c; Qt 5.15.1Python 3.10.12 这两个其实配置并不需…

图解HTTP笔记整理(前六章)

图解HTTP 第一章 web使用HTTP &#xff08;HyperText Transfer Protocol&#xff0c;超文本传输协议&#xff09;协议作文规范&#xff0c;完成从客户端到服务器端等一系列运作流程。 协议&#xff1a;计算机与网络设备要相互通信&#xff0c;双方就必须基于相同的方法。比如…

【论文阅读】--Popup-Plots: Warping Temporal Data Visualization

弹出图&#xff1a;扭曲时态数据可视化 摘要1 引言2 相关工作3 弹出图3.1 椭球模型3.1.1 水平轨迹3.1.2 垂直轨迹3.1.3 组合轨迹 3.2 视觉映射与交互 4 实施5 结果6 评估7 讨论8 结论和未来工作致谢参考文献 期刊: IEEE Trans. Vis. Comput. Graph.&#xff08;发表日期: 2019&…

HQChart使用教程30-K线图如何对接第3方数据41-分钟K线叠加股票增量更新

HQChart使用教程30-K线图如何对接第3方数据40-日K叠加股票增量更新 叠加股票叠加分钟K线更新Request 字段说明Data.symbol 协议截图返回json数据结构overlaydata HQChart代码地址交流 叠加股票 示例地址:https://jones2000.github.io/HQChart/webhqchart.demo/samples/kline_i…