macOS
brew install subnetcalclocal Homebrew formula metadata
安装
brew install subnetcalclocal Homebrew formula metadata
sudo apt install subnetcalcDebian stable package indexes · subnetcalc · 来源: deb.debian.org
sudo dnf install subnetcalcFedora Rawhide package metadata · subnetcalc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#subnetcalcnixpkgs package indexes · pkgs/by-name/su/subnetcalc/package.nix · 来源: api.github.com
sudo zypper install subnetcalcopenSUSE Tumbleweed package metadata · subnetcalc · 来源: download.opensuse.org
概览
IPv4/IPv6 subnet calculator
历史
subnetcalc is a compact IPv4/IPv6 subnet calculator. Its package-manager relevance is straightforward: network operators and developers want a tiny local CLI that can answer address, prefix, mask, and reverse-DNS questions without opening a web calculator.
The official project page and GitHub repository describe subnetcalc as an IPv4 and IPv6 subnet calculator. The upstream changelog records continuing maintenance through the 2.x series, including modernizations such as build-system updates, package metadata, and optional integrations.
The official README gives package-oriented installation examples, including Ubuntu/Debian and Fedora commands, and the Homebrew input records additional availability in Homebrew, Nix, and openSUSE-family package managers. That is the normal adoption pattern for a small network CLI: broad distro packaging rather than a large standalone ecosystem.
Typical use is invoking `subnetcalc` with an address or network prefix to print derived subnet information. Because it has no documented per-user configuration or credential store, it behaves like a traditional Unix filter-style utility: install it, run it, and get deterministic text output.
Package nerds care about subnetcalc because it is the sort of low-dependency diagnostic binary that belongs in base images, operations laptops, and rescue toolkits. It overlaps with mental math, `ipcalc`-style tools, and shell snippets, but packaging it gives users a consistent implementation across systems.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
subnetcalc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dreibh/subnetcalc
安装元数据
| 软件包键 | brew:subnetcalc |
|---|---|
| 版本 | 2.7.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/subnetcalc |
| 主页 | https://www.nntb.no/~dreibh/subnetcalc/index.html |
| 仓库 | https://github.com/dreibh/subnetcalc |
| 上游文档 | https://github.com/dreibh/subnetcalc#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/dreibh/subnetcalc/archive/refs/tags/subnetcalc-2.7.4.tar.gz |
| 最后更新 | 2026-06-20T15:54:37Z |
| Pulse | updated |
| 依赖 | gettext, libidn2, libmaxminddb |
| 构建依赖 | cmake, gettext |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | subnetcalc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
subnetcalc 2.6.2-1
IPv4/IPv6 Subnet Calculator
https://www.nntb.no/~dreibh/subnetcalc/
sudo apt install subnetcalcsubnetcalc
nix profile install nixpkgs#subnetcalcsubnetcalc 2.4.23-1build1
IPv4/IPv6 Subnet Calculator
https://www.nntb.no/~dreibh/subnetcalc/
sudo apt install subnetcalcsubnetcalc 2.7.1-1.fc45
IPv4/IPv6 Subnet Calculator
https://www.nntb.no/~dreibh/subnetcalc/
sudo dnf install subnetcalcsubnetcalc 2.6.6-1.1
IPv4/IPv6 Subnet Calculator
https://www.nntb.no/~dreibh/subnetcalc/
sudo zypper install subnetcalcsubnetcalc-bash-completion 2.6.6-1.1
Bash Completion for subnetcalc
https://www.nntb.no/~dreibh/subnetcalc/
sudo zypper install subnetcalc-bash-completionsubnetcalc-doc 2.6.6-1.1
Documentation for subnetcalc
https://www.nntb.no/~dreibh/subnetcalc/
sudo zypper install subnetcalc-docsubnetcalc-lang 2.6.6-1.1
Translations for package subnetcalc
https://www.nntb.no/~dreibh/subnetcalc/
sudo zypper install subnetcalc-lang来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.