Automic VaultAutomic Vault

brew

Install subnetcalc with Homebrew, apt, dnf, Nix, zypper

IPv4/IPv6 subnet calculator. Version 2.7.4 via Homebrew; verified 2026-06-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install subnetcalc

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install subnetcalc

Debian stable package indexes · subnetcalc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install subnetcalc

Fedora Rawhide package metadata · subnetcalc · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#subnetcalc

nixpkgs package indexes · pkgs/by-name/su/subnetcalc/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install subnetcalc

openSUSE Tumbleweed package metadata · subnetcalc · source: download.opensuse.org

overview

Package summary

IPv4/IPv6 subnet calculator

Commands and aliases

  • subnetcalc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2009: The upstream changelog records early subnetcalc development and Debian packaging work.
  • 2010: The changelog records FreeBSD ports work.
  • 2026: Official Git tags show active 2.7.x releases.

Related projects

  • Related package-manager neighbors include `ipcalc`, `sipcalc`, and other local subnet calculators, but subnetcalc's official positioning is specifically IPv4/IPv6 subnet calculation.

Sources

  • Input package-manager data: source_facts.package-manager
  • Official changelog in repository: https://github.com/dreibh/subnetcalc/blob/master/ChangeLog
  • Official homepage: https://www.nntb.no/~dreibh/subnetcalc/index.html
  • Official repository: https://github.com/dreibh/subnetcalc

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
subnetcalccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.7.4
manager updated2026-06-20
local dataok
upstreamcurrent
latest detectedsubnetcalc-2.7.4

https://github.com/dreibh/subnetcalc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:subnetcalc
Version2.7.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/subnetcalc
Homepagehttps://www.nntb.no/~dreibh/subnetcalc/index.html
Repositoryhttps://github.com/dreibh/subnetcalc
Upstream docshttps://github.com/dreibh/subnetcalc#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/dreibh/subnetcalc/archive/refs/tags/subnetcalc-2.7.4.tar.gz
Last updated2026-06-20T15:54:37Z
Pulseupdated
Dependenciesgettext, libidn2, libmaxminddb
Build dependenciescmake, gettext
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

subnetcalc 2.6.2-1

IPv4/IPv6 Subnet Calculator

https://www.nntb.no/~dreibh/subnetcalc/

sudo apt install subnetcalc
  • Section: net
  • Architecture: amd64
  • 3 dependencies
  • 8 optional deps
  • normalized package name match
  • Matched by: Subnetcalc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: subnetcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

subnetcalc

nix profile install nixpkgs#subnetcalc
  • normalized package name match
  • Matched by: Subnetcalc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/su/subnetcalc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

subnetcalc 2.4.23-1build1

IPv4/IPv6 Subnet Calculator

https://www.nntb.no/~dreibh/subnetcalc/

sudo apt install subnetcalc
  • Section: universe/net
  • Architecture: amd64
  • 3 dependencies
  • 7 optional deps
  • normalized package name match
  • Matched by: Subnetcalc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: subnetcalc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

subnetcalc 2.7.1-1.fc45

IPv4/IPv6 Subnet Calculator

https://www.nntb.no/~dreibh/subnetcalc/

sudo dnf install subnetcalc
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: subnetcalc
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Subnetcalc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: subnetcalc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

subnetcalc 2.6.6-1.1

IPv4/IPv6 Subnet Calculator

https://www.nntb.no/~dreibh/subnetcalc/

sudo zypper install subnetcalc
  • License: GPL-3.0-or-later
  • Category: Productivity/Networking/Routing
  • Architecture: x86_64
  • Source Package: subnetcalc
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Subnetcalc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: subnetcalc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

subnetcalc-bash-completion 2.6.6-1.1

Bash Completion for subnetcalc

https://www.nntb.no/~dreibh/subnetcalc/

sudo zypper install subnetcalc-bash-completion
  • License: GPL-3.0-or-later
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: subnetcalc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Subnetcalc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: subnetcalc-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

subnetcalc-doc 2.6.6-1.1

Documentation for subnetcalc

https://www.nntb.no/~dreibh/subnetcalc/

sudo zypper install subnetcalc-doc
  • License: GPL-3.0-or-later
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: subnetcalc
  • 1 provides
  • normalized package name match
  • Matched by: Subnetcalc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: subnetcalc-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

subnetcalc-lang 2.6.6-1.1

Translations for package subnetcalc

https://www.nntb.no/~dreibh/subnetcalc/

sudo zypper install subnetcalc-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: subnetcalc
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Subnetcalc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: subnetcalc-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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