# ipcalc を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

ipcalc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ipcalc
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ipcalc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ipcalc
```

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

### Linux

- apk (92%):

```sh
sudo apk add ipcalc
```

  証拠: Alpine Linux edge package indexes: ipcalc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ipcalc
```

  証拠: Debian stable package indexes: ipcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ipcalc
```

  証拠: Fedora Rawhide package metadata: ipcalc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ipcalc
```

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

- pacman (92%):

```sh
sudo pacman -S ipcalc
```

  証拠: Arch Linux sync databases: ipcalc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ipcalc
```

  証拠: openSUSE Tumbleweed package metadata: ipcalc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/ipcalc
```

  証拠: Scoop official bucket manifest trees: bucket/ipcalc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ipcalc
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.51
- **ソース概要:** Calculate various network masks, etc. from a given IP address
- **ホームページ:** <https://jodies.de/ipcalc>
- **リポジトリ:** <https://github.com/kjokjo/ipcalc>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ipcalc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.51
## プロジェクトの歴史と使われ方

ipcalc is Krischan Jodies' IP subnet calculator, later continued with IPv6 support in the kjokjo GitHub repository. It is one of the small networking CLIs administrators reach for when they need broadcast addresses, host ranges, wildcard masks, and subnet splits without opening a spreadsheet.

### プロジェクトの歴史

The original jodies.de page describes ipcalc as a tool that takes an IP address and netmask, calculates the broadcast, network, Cisco wildcard mask, and host range, and presents subnetting results in binary form as a teaching aid. The page also says the tool works at the shell prompt and was not originally intended for creating HTML.

The source header on the CGI wrapper carries copyright years 2000-2021, while the archive lists releases from 0.34 in 2001 through 0.41 in 2006. The GitHub repository describes itself as the IPv6-capable continuation of the subnet calculator from jodies.de.

### 採用の歴史

ipcalc has broad package-manager reach for such a small script: the supplied metadata lists Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, and openSUSE packaging. The original site also calls out Debian installation directly.

That broad distribution reflects the utility's shape: subnet math is universal in operations work, and a dependency-light Perl script is easy for distributions to carry.

### 使われ方

Users pass an address and mask, optionally with a second mask for subnet or supernet design. ipcalc prints network, broadcast, host minimum and maximum, host count, Cisco wildcard masks, class/private-network notes, and binary layouts.

The GitHub continuation adds IPv6 examples, including prefix calculation for IPv6 addresses, while preserving the familiar command-line output style of the original IPv4 calculator.

### パッケージ好きにとっての重要性

ipcalc is a canonical tiny admin package: old, scriptable, easy to package, and still useful because IP addressing math does not go out of fashion. Its value is less in novelty than in being available everywhere when a human needs to sanity-check a CIDR block.

It also shows the preservation path of many Unix tools: an original personal web page, tarball archives, distro packages, and a GitHub continuation that adds IPv6 support while keeping the old interface recognizable.

### タイムライン

- 2000: Source copyright begins for Krischan Jodies' ipcalc code.
- 2001-09-13: The archive lists the unpacked ipcalc-0.34 directory.
- 2005-07-07: Version 0.35.2 appears on the original page and archive.
- 2006-07-27: Security information was published for the CGI script.
- 2006-07-27: Archive entries include ipcalc 0.39, 0.40, and 0.41, with 0.41 adding network-range deaggregation.
- 2021-11-03: The GitHub continuation published release 0.51.
- 2021: The CGI wrapper copyright range extends through 2021.

### Related projects

- Related tools include distro-specific ipcalc variants, web subnet calculators, Cisco ACL wildcard-mask calculators, and broader network calculators such as sipcalc.
- The GitHub repository is explicitly a continuation of the original jodies.de calculator, not an unrelated rewrite under the same name.

### ソース

- <https://formulae.brew.sh/formula/ipcalc>
- <https://github.com/kjokjo/ipcalc>
- <https://github.com/kjokjo/ipcalc/blob/master/ipcalc.cgi>
- <https://github.com/kjokjo/ipcalc/releases/tag/0.51>
- <https://jodies.de/ipcalc>
- <https://jodies.de/ipcalc-archive/>
- <https://jodies.de/ipcalc-security.html>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Debian apt - ipcalc - 0.51-1: normalized package name match | Debian stable package indexes: ipcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | parameter calculator for IPv4 addresses | http://jodies.de/ipcalc
- Nix - ipcalc: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/ipcalc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ipcalc - 0.51-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ipcalc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | parameter calculator for IPv4 addresses | http://jodies.de/ipcalc
- apk - ipcalc - 1.0.3-r1: normalized package name match | Alpine Linux edge package indexes: ipcalc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts. | https://gitlab.com/ipcalc/ipcalc
- apk - ipcalc-doc - 1.0.3-r1: normalized package name match | Alpine Linux edge package indexes: ipcalc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A modern IPv4/IPv6 ipcalc tool, assisting in network calculations in command line and as a tool for scripts. (documentation) | https://gitlab.com/ipcalc/ipcalc
- dnf - ipcalc - 1.0.3-14.fc45: normalized package name match | Fedora Rawhide package metadata: ipcalc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | IP network address calculator | https://gitlab.com/ipcalc/ipcalc
- pacman - ipcalc - 0.51-2: normalized package name match | Arch Linux sync databases: ipcalc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Calculates IP broadcast, network, Cisco wildcard mask, and host ranges | https://jodies.de/ipcalc
- zypper - ipcalc - 1.0.3-2.8: normalized package name match | openSUSE Tumbleweed package metadata: ipcalc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | IPv4/IPv6 tool assisting in network calculations on the command line | https://gitlab.com/ipcalc/ipcalc
- MacPorts - ipcalc: normalized package name match | MacPorts ports tree: net/ipcalc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ipcalc: normalized package name match | Scoop official bucket manifest trees: bucket/ipcalc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ipcalc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ipcalc.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
