# arping を Homebrew, apk, apt, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:arping
```

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

### macOS

- Homebrew (100%):

```sh
brew install arping
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install arping
```

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

### Linux

- apk (92%):

```sh
sudo apk add arping
```

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

- Debian apt (92%):

```sh
sudo apt install arping
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#arping
```

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

## パッケージ情報

- **パッケージキー:** brew:arping
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.29
- **ソース概要:** Utility to check whether MAC addresses are already taken on a LAN
- **ホームページ:** <https://github.com/ThomasHabets/arping>
- **リポジトリ:** <https://github.com/ThomasHabets/arping>
- **最終更新:** 2026-06-28T17:40:20Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- arping (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

ARP Ping, usually packaged as `arping`, is Thomas Habets' LAN diagnostic utility for sending ARP and ICMP-style pings to hosts. It is aimed at discovering whether an IPv4 address is already taken, mapping IPs and MACs, and diagnosing local-link problems where ordinary `ping` is not enough.

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

The current upstream repository's default branch is `arping-2.x`, while an `arping-1.x` branch remains visible. The README explains that Arping 1.x was finally removed from the Arping 2.x tarball in 2.09, leaving older 2.08-and-earlier packages as the path for libnet 1.0.x users.

The manual page is dated June 21, 2003 and documents the classic behavior: send ARP requests for IP targets, directed broadcast ICMP echo requests for MAC targets, and print replies. The current build metadata identifies version 2.29 and requires libnet 1.1 or newer plus libpcap, with optional Linux privilege-dropping support through libcap/seccomp-related checks.

### 採用の歴史

arping's adoption comes from a small but persistent network-admin niche: it answers questions that IP `ping` cannot answer, especially before assigning an address, on networks where ICMP is filtered, or when a MAC address is known but the IP address is not.

The supplied package facts show it in Homebrew, Debian, Ubuntu, MacPorts, Nix, apk, and other Unix-like package collections. That breadth is typical for compact diagnostic tools whose behavior is simple, scriptable, and useful during installation, DHCP, address-conflict, and appliance-discovery work.

### 使われ方

The README's core example is checking whether an address is taken on a LAN before using it. The manpage documents `-c` for counts, `-i` for interface selection, `-d` for duplicate replies, raw output modes, broadcast/source-address options, unsolicited ARP with `-U`, VLAN tagging, and seccomp toggles.

Unlike `arp-scan`, which sweeps ranges, Thomas Habets' arping is centered on targeted ARP/MAC/IP probes. It can ping by IP to get a MAC, ping by MAC to get an IP when hosts respond to broadcast pings, and send unsolicited ARP to update neighbors' ARP caches.

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

arping is a classic example of a tiny network utility with a complicated name space: several unrelated projects and operating systems have shipped commands named `arping`. This package's identity is the Thomas Habets implementation, so the official GitHub repo and README are important disambiguators.

Its dependency split also matters to packagers: Arping 2.x requires libnet 1.1+, while the older 1.x line existed for libnet 1.0.x users.

### タイムライン

- 2003: Manual page dated June 21 documents arping behavior and options.
- 2.09: Arping 1.x removed from the Arping 2.x tarball and autotools build system introduced.
- 2.29: Current version recorded in configure.ac.

### Related projects

- libnet is used for packet construction.
- libpcap is used for packet capture.
- arp-scan is a range-scanning cousin rather than the same tool.
- iputils has shipped a different `arping` implementation on Linux.

### ソース

- <https://github.com/ThomasHabets/arping#readme>
- <https://raw.githubusercontent.com/ThomasHabets/arping/arping-2.x/INSTALL>
- <https://raw.githubusercontent.com/ThomasHabets/arping/arping-2.x/configure.ac>
- <https://raw.githubusercontent.com/ThomasHabets/arping/arping-2.x/doc/arping.8>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - arping - 2.25-1: normalized package name match | Debian stable package indexes: arping from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends IP and/or ARP pings (to the MAC address) | https://www.habets.pp.se/synscan/programs.php?prog=arping
- Nix - arping: normalized package name match | nixpkgs package indexes: pkgs/by-name/ar/arping/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - arping - 2.24-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: arping from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sends IP and/or ARP pings (to the MAC address) | https://www.habets.pp.se/synscan/programs.php?prog=arping
- apk - arping - 2.29-r0: normalized package name match | Alpine Linux edge package indexes: arping from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An ARP ping utility | https://www.habets.pp.se/synscan/programs_arping.html
- apk - arping-doc - 2.29-r0: normalized package name match | Alpine Linux edge package indexes: arping-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An ARP ping utility (documentation) | https://www.habets.pp.se/synscan/programs_arping.html
- MacPorts - arping: normalized package name match | MacPorts ports tree: net/arping/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/arping.yml](https://github.com/mxcl/pkgdb/blob/main/combined/arping.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
