# Install twoping with Homebrew, apt, dnf, zypper

Ping utility to determine directional packet loss. Version 4.6.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install 2ping.

## Install

```sh
sudo av install brew:twoping
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install twoping
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install 2ping
```

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

- dnf (92%):

```sh
sudo dnf install 2ping
```

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

- zypper (92%):

```sh
sudo zypper install 2ping
```

  Evidence: openSUSE Tumbleweed package metadata: 2ping from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:twoping
- **Package manager:** Homebrew
- **Version:** 4.6.1
- **Source summary:** Ping utility to determine directional packet loss
- **Homepage:** <https://www.finnie.org/software/2ping/>
- **Repository:** <https://github.com/rfinnie/2ping>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- 2ping (alias)
- 2ping6 (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.6.1
## Project history and usage

2ping is a bidirectional ping utility that uses a listener/client protocol to distinguish inbound, outbound, and undetermined packet loss.

### Project history

Ryan Finnie's official project page and README describe 2ping as a Python networking diagnostic tool built around three-way pings and after-the-fact state comparison between a listener and a client. The README copyright line dates the project from 2010 through 2025, and GitHub release metadata shows the maintained 4.x series continuing into 2026.

### Adoption history

The official project page lists packaging in Debian, Ubuntu, Fedora/EPEL, Arch AUR, Gentoo, and Homebrew, with Windows source installation notes. That is unusually broad for a niche network diagnostic and reflects a tool that sysadmins can install from normal OS channels when ordinary ICMP ping does not answer the direction-of-loss question.

### How it is used

Typical use starts a remote listener with `2ping --listen` and runs `2ping` from the near side against that listener. The project also maintains public test listeners and warns users not to abuse them, making quick one-off connectivity tests possible without first deploying both endpoints.

### Why package nerds care

2ping is package-nerd useful because it is a small, mostly-stdlib Python CLI that solves a specific network debugging problem traditional ping cannot solve. Its presence across multiple distro families makes it easy to recommend in runbooks without asking operators to build custom tooling.

### Timeline

- 2010: README copyright dates the project origin to Ryan Finnie.
- 2020: GitHub release metadata records 2ping 4.5.
- 2026: Official homepage and GitHub release metadata record 2ping 4.6.1.

### Related projects

- ping: the traditional network diagnostic that 2ping extends with direction-of-loss reporting.
- 2ping protocol specification: the companion protocol document linked from the official project page.

### Sources

- <https://api.github.com/repos/rfinnie/2ping/releases?per_page=20>
- <https://github.com/rfinnie/2ping#readme>
- <https://www.finnie.org/software/2ping/>
- source_facts.package-manager


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Other Package-Manager Records

- Debian apt - 2ping - 4.5-1.2: installed executable or alias match | Debian stable package indexes: 2ping from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ping utility to determine directional packet loss | https://www.finnie.org/software/2ping/
- Ubuntu apt - 2ping - 4.5-1.2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: 2ping from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ping utility to determine directional packet loss | https://www.finnie.org/software/2ping/
- dnf - 2ping - 4.6.1-6.fc45: installed executable or alias match | Fedora Rawhide package metadata: 2ping from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Bi-directional ping utility | https://www.finnie.org/software/2ping
- zypper - 2ping - 4.6.1-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: 2ping from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bi-directional ping utility | https://www.finnie.org/software/2ping/
- zypper - 2ping-bash-completion - 4.6.1-1.2: installed executable or alias match | openSUSE Tumbleweed package metadata: 2ping-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for 2ping | https://www.finnie.org/software/2ping/


## Combined YAML source

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


## Sources

- 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
