macOS
brew install net-toolslocal Homebrew formula metadata
安装
brew install net-toolslocal Homebrew formula metadata
sudo apk add net-toolsAlpine Linux edge package indexes · net-tools · 来源: dl-cdn.alpinelinux.org
sudo apt install net-toolsDebian stable package indexes · net-tools · 来源: deb.debian.org
sudo dnf install net-toolsFedora Rawhide package metadata · net-tools · 来源: dl.fedoraproject.org
nix profile install nixpkgs#net-toolsnixpkgs package indexes · net-tools · 来源: raw.githubusercontent.com
sudo pacman -S net-toolsArch Linux sync databases · net-tools · 来源: geo.mirror.pkgbuild.com
sudo zypper install net-toolsopenSUSE Tumbleweed package metadata · net-tools · 来源: download.opensuse.org
概览
Linux networking base tools
历史
net-tools is the legacy Linux networking command set: `ifconfig`, `route`, `netstat`, `arp`, `hostname`, and related utilities from the old NET-3 networking era.
The project describes itself as the base set of programs for the NET-3 networking distribution for Linux. Its commands became the muscle-memory interface for early Linux network configuration and inspection.
The upstream README now explicitly calls these the legacy tools for controlling the Linux kernel networking subsystem and notes that net-tools is generally considered deprecated, with iproute2 preferred in most cases.
For years, tutorials, init scripts, diagnostics, and administrator habits used `ifconfig`, `route`, `arp`, and `netstat`. SourceForge still describes the package as used in most Linux distributions, even though many modern distributions steer users toward `ip` and `ss`.
The deprecation history is part of the package's identity: Red Hat's admin guidance attributes the move away from ifconfig/route/netstat to lack of maintenance and the broader capabilities of iproute2, which has been available since the Linux 2.2 era.
Homebrew's Linux-only formula showed 3,074 installs in the 365-day formula window, with 1,484 installs on request. That is consistent with a compatibility package: people install it when old scripts, docs, or habits expect the old command names.
Package users install it to get legacy commands on systems where they are absent by default. The most common uses are quick `ifconfig` interface inspection, `route -n` route-table checks, `netstat` socket/process habits, `arp` table inspection, and compatibility with scripts that have not moved to `iproute2`.
Package nerds should treat it as compatibility glue, not the modern Linux networking API. For new scripts, `ip addr`, `ip route`, `ss`, and related iproute2 tools are the better target.
net-tools is historically important because it froze a generation of Linux networking vocabulary. Its continued packaging is mainly about not breaking workflows and about giving old documentation a working command line.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
arp | cli | 全局可执行文件 | |
dnsdomainname | cli | 全局可执行文件 | |
domainname | cli | 全局可执行文件 | |
hostname | cli | 全局可执行文件 | |
ifconfig | cli | 全局可执行文件 | |
ipmaddr | cli | 全局可执行文件 | |
iptunnel | cli | 全局可执行文件 | |
mii-tool | cli | 全局可执行文件 | |
nameif | cli | 全局可执行文件 | |
netstat | cli | 全局可执行文件 | |
nisdomainname | cli | 全局可执行文件 | |
plipconfig | cli | 全局可执行文件 | |
rarp | cli | 全局可执行文件 | |
route | cli | 全局可执行文件 | |
slattach | cli | 全局可执行文件 | |
ypdomainname | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://sourceforge.net/projects/net-tools/
安装元数据
| 软件包键 | brew:net-tools |
|---|---|
| 版本 | 2.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/net-tools |
| 主页 | https://sourceforge.net/projects/net-tools/ |
| 仓库 | https://git.code.sf.net/p/net-tools/code |
| 上游文档 | https://net-tools.sourceforge.io/ |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/net-tools/net-tools-2.10.tar.xz |
| 依赖 | libdnet |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | net-tools |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
net-tools 2.10-1.3
NET-3 networking toolkit
http://sourceforge.net/projects/net-tools/
sudo apt install net-toolsnet-tools
nix profile install nixpkgs#net-toolsnet-tools 2.10-0.1ubuntu4
NET-3 networking toolkit
http://sourceforge.net/projects/net-tools/
sudo apt install net-toolsmii-tool 2.10-r3
media-independent interface (MII) tool
https://sourceforge.net/projects/net-tools/
sudo apk add mii-toolnet-tools 2.10-r3
Linux networking base tools
https://sourceforge.net/projects/net-tools/
sudo apk add net-toolsnet-tools-dbg 2.10-r3
Linux networking base tools (debug symbols)
https://sourceforge.net/projects/net-tools/
sudo apk add net-tools-dbgnet-tools-doc 2.10-r3
Linux networking base tools (documentation)
https://sourceforge.net/projects/net-tools/
sudo apk add net-tools-docnet-tools 2.0-0.77.20160912git.fc44
Basic networking tools
http://sourceforge.net/projects/net-tools/
sudo dnf install net-toolsnet-tools 2.10-3
Configuration tools for Linux networking
http://net-tools.sourceforge.net/
sudo pacman -S net-toolsnet-tools 3.14~alpha~git.20251212.7011617-1.1
Important Programs for Networking
https://github.com/ecki/net-tools
sudo zypper install net-toolsnet-tools-deprecated 3.14~alpha~git.20251212.7011617-1.1
Deprecated Networking Utilities
https://github.com/ecki/net-tools
sudo zypper install net-tools-deprecatednet-tools-lang 3.14~alpha~git.20251212.7011617-1.1
Translations for package net-tools
https://github.com/ecki/net-tools
sudo zypper install net-tools-langhostname 3.25
utility to set/show the host name or domain name
sudo apt install hostnamehostname 3.23+nmu2ubuntu2
utility to set/show the host name or domain name
sudo apt install hostnamehostname 3.25-4.fc44
Utility to set/show the host name or domain name
https://tracker.debian.org/pkg/hostname
sudo dnf install hostnamehostname 3.25-1.4
Utility to Set/Show the Host Name or Domain Name
https://tracker.debian.org/pkg/hostname
sudo zypper install hostname来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.