# Install ipv6calc with Homebrew, apt, dnf, MacPorts, Nix, pacman

Small utility for manipulating IPv6 addresses. Version 4.4.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ipv6calc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ipv6calc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipv6calc
```

  Evidence: MacPorts ports tree: net/ipv6calc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ipv6calc
```

  Evidence: Debian stable package indexes: ipv6calc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ipv6calc
```

  Evidence: Fedora Rawhide package metadata: ipv6calc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ipv6calc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ip/ipv6calc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ipv6calc
```

  Evidence: Arch Linux sync databases: ipv6calc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:ipv6calc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ipv6calc>
- **Version:** 4.4.0
- **Source summary:** Small utility for manipulating IPv6 addresses
- **Homepage:** <https://www.deepspace6.net/projects/ipv6calc.html>
- **Repository:** <https://github.com/pbiering/ipv6calc>
- **Upstream docs:** <https://github.com/pbiering/ipv6calc#readme>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/pbiering/ipv6calc/archive/refs/tags/4.4.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ipv6calc (cli)
- ipv6loganon (cli)
- ipv6logconv (cli)
- ipv6logstats (cli)
- ipv6calc (alias)
- ipv6loganon (alias)
- ipv6logconv (alias)
- ipv6logstats (alias)

## Uses from macOS

- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.4.0
- Local data: ok
- Upstream repository: https://github.com/pbiering/ipv6calc
- Upstream latest detected: 4.4.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

ipv6calc is a C utility by Peter Bieringer for manipulating, converting, analyzing, and anonymizing IPv6 and related IP address data. It began as a small conversion tool and grew into a suite with log converters, anonymizers, statistics helpers, CGI support, an Apache module, and optional local database integrations.

### Project history

The project homepage states that ipv6calc's original intent was converting IPv6 addresses into compressed form and into the format shown by /proc/net/if_inet6, while also migrating functionality from the Perl ip6_int program. The same page records copyright beginning in 2001 and names Peter Bieringer as author.

Over time ipv6calc expanded beyond address formatting. The homepage lists included programs such as ipv6calcweb, ipv6logconv, ipv6loganon, ipv6logstats, and mod_ipv6calc, and documents built-in registry databases plus optional GeoIP, IP2Location, DB-IP, MaxMindDB, and external registry database support.

The project moved source hosting to GitHub on 2016-09-05 according to the homepage. The public ChangeLog records regular database updates, feature maintenance, and version tags through the 4.x line.

### Adoption history

ipv6calc found adoption in IPv6 operations and packaging because it handles the practical edges of IPv6 notation, registry metadata, and log processing that general-purpose shell tools do not. The project homepage notes Fedora inclusion from Fedora 7 and EPEL availability for several Red Hat Enterprise Linux generations.

The package is distributed by Homebrew and major Linux package managers, making it a familiar small utility for operators who need deterministic IPv6 address conversion or log anonymization in scripts.

### How it is used

Common use includes converting IPv6 address forms, extracting address properties, anonymizing IPv4/IPv6 web logs, converting logs, generating log statistics, and enriching address analysis with built-in or local registry/geolocation databases.

Its database support gives the package a broader operational role than a calculator name suggests: it can classify addresses by registry, country code, ASN, MAC/OUI-derived information, and external database lookups when compiled with those options.

### Why package nerds care

ipv6calc is the sort of package that delights infrastructure packagers: a small CLI name hides multiple binaries, optional C library/database integrations, CGI and Apache module pieces, signed release practices, distro-specific build flags, and long-running registry-data maintenance.

It also captures a moment in IPv6 adoption history when operators needed purpose-built helpers for address notation, /proc compatibility, log privacy, and registry interpretation.

### Timeline

- 2001: Project copyright period begins on the official homepage.
- 2006: Optional IPv4 IP2Location and GeoIP support appears in documented release history.
- 2007: Optional IPv6 IP2Location support appears in documented release history.
- 2013: Signed packages use the documented code-signing key for 0.95.0 and later.
- 2016: Source hosting moves to GitHub.
- 2019: MaxMindDB support appears in the 2.0.0 line.
- 2020: GeoIP legacy and DB-IP Berkeley DB support are removed in 3.0.0.
- 2025: The ChangeLog records 4.x releases with expanded IP2Location and ASN database support.

### Related projects

- ipv6calc relates to DeepSpace6, ip6_int, initscripts-ipv6, GeoIP, IP2Location, DB-IP, MaxMindDB, Apache modules, and distro packaging in Fedora, EPEL, Debian, Ubuntu, Homebrew, and other package sets.

### Sources

- <https://formulae.brew.sh/formula/ipv6calc>
- <https://github.com/pbiering/ipv6calc>
- <https://raw.githubusercontent.com/pbiering/ipv6calc/master/ChangeLog>
- <https://www.deepspace6.net/projects/ipv6calc.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ipv6calc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ipv6calc - 4.1.0-0.2: normalized package name match | Debian stable package indexes: ipv6calc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small utility for manipulating IPv6 addresses | https://www.deepspace6.net/projects/ipv6calc.html
- Nix - ipv6calc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipv6calc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ipv6calc - 4.1.0-0.1: normalized package name match | Ubuntu 24.04 LTS package indexes: ipv6calc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small utility for manipulating IPv6 addresses | https://www.deepspace6.net/projects/ipv6calc.html
- dnf - ipv6calc - 4.4.0-2.fc44: normalized package name match | Fedora Rawhide package metadata: ipv6calc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IPv6/IPv4 address information, format change, filter and calculation utility | https://www.deepspace6.net/projects/ipv6calc.html
- dnf - ipv6calc-ipv6calcweb - 4.4.0-2.fc44: normalized package name match | Fedora Rawhide package metadata: ipv6calc-ipv6calcweb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | IP address information web utility | https://www.deepspace6.net/projects/ipv6calc.html
- dnf - ipv6calc-mod_ipv6calc - 4.4.0-2.fc44: normalized package name match | Fedora Rawhide package metadata: ipv6calc-mod_ipv6calc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Apache module for ipv6calc | https://www.deepspace6.net/projects/ipv6calc.html
- pacman - ipv6calc - 4.4.0-1: normalized package name match | Arch Linux sync databases: ipv6calc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Small utility to manipulate, convert and calculate (more than) IPv6 addresses | https://www.deepspace6.net/projects/ipv6calc.html
- MacPorts - ipv6calc: normalized package name match | MacPorts ports tree: net/ipv6calc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [radvd](https://www.automicvault.com/pkg/brew/radvd/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [grepip](https://www.automicvault.com/pkg/brew/grepip/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [kea](https://www.automicvault.com/pkg/brew/kea/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [sipcalc](https://www.automicvault.com/pkg/brew/sipcalc/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [subnetcalc](https://www.automicvault.com/pkg/brew/subnetcalc/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [aerleon](https://www.automicvault.com/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.

## Combined YAML source

View the package source record on GitHub. [combined/ipv6calc.yml](https://github.com/automic-vault/db/blob/main/combined/ipv6calc.yml)


## Sources

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