macOS
brew install subnetcalclocal Homebrew formula metadata
brew
IPv4/IPv6 subnet calculator. Version 2.7.4 via Homebrew; verified 2026-06-20.
install
brew install subnetcalclocal Homebrew formula metadata
sudo apt install subnetcalcDebian stable package indexes · subnetcalc · source: deb.debian.org
sudo dnf install subnetcalcFedora Rawhide package metadata · subnetcalc · source: dl.fedoraproject.org
nix profile install nixpkgs#subnetcalcnixpkgs package indexes · pkgs/by-name/su/subnetcalc/package.nix · source: api.github.com
sudo zypper install subnetcalcopenSUSE Tumbleweed package metadata · subnetcalc · source: download.opensuse.org
overview
IPv4/IPv6 subnet calculator
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
subnetcalc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/dreibh/subnetcalc
install metadata
| Package key | brew:subnetcalc |
|---|---|
| Version | 2.7.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/subnetcalc |
| Homepage | https://www.nntb.no/~dreibh/subnetcalc/index.html |
| Repository | https://github.com/dreibh/subnetcalc |
| Upstream docs | https://github.com/dreibh/subnetcalc#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/dreibh/subnetcalc/archive/refs/tags/subnetcalc-2.7.4.tar.gz |
| Last updated | 2026-06-20T15:54:37Z |
| Pulse | updated |
| Dependencies | gettext, libidn2, libmaxminddb |
| Build dependencies | cmake, gettext |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-langsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.