Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, chocolatey, dnf, scoop, winget 安装 wget

查看 wget 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

wget fetches remote content and can mirror sites or download installer scripts.

凭据访问

Reads netrc credentials, cookies, headers, and output file paths.

远程变更

Usually fetch-only, but can call authenticated endpoints and write local files.

发布/制品风险

Can download scripts or artifacts that later execute or deploy.

推荐控制

Gate authenticated downloads, recursive mirrors, and shell installer use.

代理使用指南

Allow public single-file downloads; require approval for credentials, recursion, and executable outputs.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wget

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wget

MacPorts ports tree · net/wget/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add wget

Alpine Linux edge package indexes · wget · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install wget

Debian stable package indexes · wget · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#wget

nixpkgs package indexes · pkgs/by-name/wg/wget/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S wget

Arch Linux sync databases · wget · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install wget

openSUSE Tumbleweed package metadata · wget · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install wget1-wget

Fedora Rawhide package metadata · wget1-wget · 来源: dl.fedoraproject.org

Windows

Chocolatey已验证 · 92%
choco install Wget

Chocolatey community package catalog · Wget · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/wget

Scoop official bucket manifest trees · bucket/wget.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id JernejSimoncic.Wget -e

Windows Package Manager source index · JernejSimoncic.Wget · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Internet file retriever

历史

项目历史与用法

GNU Wget is the GNU Project's non-interactive command-line retriever for HTTP, HTTPS, FTP, and FTPS. It is one of the canonical Unix-style tools for scripted downloads, recursive mirroring, resumable transfers, and unattended network retrieval.

项目历史

Wget descends from Geturl, a program by Hrvoje Niksic whose development began in late 1995. The name changed to Wget after the author learned of an earlier Amiga program called GetURL. Public Geturl releases appeared in 1996, and Wget 1.4.0 in November 1996 was the first release under the Wget name and the GNU GPL.

The tool solved a real mid-1990s problem: Unix users needed a reliable downloader that could handle both HTTP and FTP, run without a browser, survive slow or unstable dial-up and university connections, and build with ordinary Unix development tools. That combination made it spread quickly among Unix users and later most Linux distributions.

Wget's stewardship moved from the original author to broader GNU maintenance. The GNU project page lists Tim Ruehsen, Darshit Shah, and Giuseppe Scrivano as current maintainers and Hrvoje Niksic as original author. The source is hosted on GNU Savannah, and the manual's copyright range begins in 1996, reflecting the long-running GNU package history.

采用历史

Wget became a default tool in the mental toolbox of system administrators, release engineers, distribution maintainers, researchers, and shell users because it is non-interactive and scriptable. Its adoption was reinforced by features that map directly to automation: retrying failed downloads, continuing partial transfers when servers support it, following links for recursive retrieval, converting links for local browsing, using timestamps for mirroring, supporting proxies, and reading URLs from files or standard input.

The package also became important outside ordinary downloads. Since Wget 1.14 it has supported WARC output, making it useful in web archiving workflows. GNU Wget2 is now developed separately for newer web protocols and parallelism, but classic Wget remains widely used because of its stable behavior and enormous installed base.

使用方式

Basic use is `wget URL`, but its package-nerd importance comes from flags and composability: `-r` for recursive retrieval, `-c` for continuing partial downloads, `-O -` for piping content to standard output, `-i` for reading URL lists, and `.wgetrc` for persistent defaults. It is equally at home in cron jobs, build scripts, Dockerfiles, release automation, and one-off shell sessions.

Wget's behavior is deliberately non-interactive, so it can keep working after a user logs out or when no graphical environment exists. That makes it a historical counterpart to browsers and graphical download managers: less interactive, but much better suited to repeatable automation.

为什么软件包爱好者会关心

Wget is one of the archetypal packages that demonstrates why small Unix command-line tools matter. It turned web and FTP retrieval into a dependable script primitive, which is why so many other package builds, test fixtures, mirrors, and operational runbooks have depended on it for decades.

时间线

  • Late 1995: Hrvoje Niksic begins Geturl.
  • January 1996: Geturl 1.0 is the first public release.
  • November 1996: Wget 1.4.0 becomes the first release under the Wget name and GNU GPL.
  • 2012: Wget 1.14 adds WARC output support, extending its role in web archiving.
  • 2020s: GNU Wget continues as the stable classic implementation while GNU Wget2 is developed as a successor for newer web features.

Related projects

  • GNU Wget2 is the related successor project for newer web technologies, but Wget remains the classic implementation. curl overlaps with Wget for command-line retrieval, while Wget's traditional strengths are recursive downloading, mirroring, unattended operation, and `.wgetrc`-driven configuration.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.wgetrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.netrc~/.wgetrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wgetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.25.0
管理器更新时间2026-06-26
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/wget/

安装元数据

软件包元数据

软件包键brew:wget
版本1.25.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/wget
主页https://www.gnu.org/software/wget/
仓库https://git.savannah.gnu.org/cgit/wget.git
上游文档https://www.gnu.org/software/wget
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/wget/wget-1.25.0.tar.gz
最后更新2026-06-26T01:12:58Z
Pulseupdated
依赖gettext, libidn2, libpsl, libunistring, openssl@3
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewget
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

wget 1.25.0-2

retrieves files from the web

https://www.gnu.org/software/wget/

sudo apt install wget
  • Section: web
  • Architecture: amd64
  • 8 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Wget
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wget from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

wget

nix profile install nixpkgs#wget
  • normalized package name match
  • 匹配方式:Wget
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wg/wget/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

wget 1.21.4-1ubuntu4

retrieves files from the web

https://www.gnu.org/software/wget/

sudo apt install wget
  • Section: web
  • Architecture: amd64
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Wget
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wget from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

wget 1.25.0-r3

Network utility to retrieve files from the Web

https://www.gnu.org/software/wget/wget.html

sudo apk add wget
  • License: GPL-3.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: wget
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wget
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wget from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

wget-doc 1.25.0-r3

Network utility to retrieve files from the Web (documentation)

https://www.gnu.org/software/wget/wget.html

sudo apk add wget-doc
  • License: GPL-3.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: wget
  • normalized package name match
  • 匹配方式:Wget
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wget-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

wget1-wget 1.25.0-2.fc43

wget1 shim to provide wget

http://www.gnu.org/software/wget/

sudo dnf install wget1-wget
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wget1
  • 1 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Wget
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wget1-wget from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

wget2-wget 2.2.1-2.fc44

wget2 shim to provide wget

https://gitlab.com/gnuwget/wget2

sudo dnf install wget2-wget
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later AND GFDL-1.3-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wget2
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Wget
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wget2-wget from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

wget 1.25.0-5

Network utility to retrieve files from the web

https://www.gnu.org/software/wget/wget.html

sudo pacman -S wget
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 12 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Wget
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wget from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wget 1.25.0-2.4

A Tool for Mirroring FTP and HTTP Servers

https://www.gnu.org/software/wget/

sudo zypper install wget
  • License: GPL-3.0-or-later
  • Category: Productivity/Networking/Web/Utilities
  • Architecture: x86_64
  • Source Package: wget
  • 12 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Wget
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wget from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

wget-lang 1.25.0-2.4

Translations for package wget

https://www.gnu.org/software/wget/

sudo zypper install wget-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: wget
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Wget
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wget-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

wget

sudo port install wget
  • normalized package name match
  • 匹配方式:Wget
MacPorts ports tree · api.github.com · MacPorts ports tree: net/wget/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

Wget

choco install Wget
  • normalized package name match
  • 匹配方式:Wget
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: Wget from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','webex-meetings'
Scoop95%

main/wget

scoop install main/wget
  • normalized package name match
  • 匹配方式:Wget
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/wget.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

JernejSimoncic.Wget

winget install --id JernejSimoncic.Wget -e
  • normalized package name match
  • 匹配方式:Wget
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: JernejSimoncic.Wget from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment