# Install liboping with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

C library to generate ICMP echo requests. Version 1.10.0 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:liboping
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install liboping
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install liboping
```

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

### Linux

- apk (92%):

```sh
sudo apk add liboping
```

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

- Debian apt (92%):

```sh
sudo apt install libnet-oping-perl
```

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

- dnf (92%):

```sh
sudo dnf install liboping
```

  Evidence: Fedora Rawhide package metadata: liboping 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#liboping
```

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

- zypper (92%):

```sh
sudo zypper install liboping-devel
```

  Evidence: openSUSE Tumbleweed package metadata: liboping-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:liboping
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/liboping>
- **Version:** 1.10.0
- **Source summary:** C library to generate ICMP echo requests
- **Homepage:** <https://noping.cc/>
- **Repository:** <https://github.com/octo/liboping>
- **Upstream docs:** <https://noping.cc/>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://noping.cc/files/liboping-1.10.0.tar.bz2>
- **Last updated:** 2026-06-19T12:32:38-07:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- noping (cli)
- oping (cli)
- noping (alias)
- oping (alias)

## Uses from macOS

- ncurses
- perl

## Install behavior

- Post-install hook: not defined
- Caveats: Run oping and noping sudo'ed in order to avoid the 'Operation not permitted'
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.10.0
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://noping.cc/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

liboping is Florian Forster's ANSI C library for sending ICMP echo requests to IPv4 and IPv6 hosts in parallel. It turns the basic idea behind ping into a reusable network-monitoring library and ships oping and noping as practical command-line examples.

### Project history

The noping.cc project page says liboping was inspired by ping, libping, and fping, but differs by pinging multiple hosts in parallel while handling IPv4 and IPv6 transparently. The design emphasized a small object-oriented C interface, simplicity, extensibility, and opaque internal data structures.

The homepage documents oping as a sample application like ping, ping6, and fping rolled into one. Starting with version 1.4.0, noping added an ncurses front end for live ping statistics and highlighting unusual round-trip times.

### Adoption history

liboping's adoption is concentrated in monitoring and operations tooling. It is useful when software needs repeated ping-style probes without forking ping for every host or reimplementing raw-socket handling.

The GitHub repository includes Perl bindings in the source package, which made the library accessible to monitoring scripts as well as C applications.

### How it is used

Developers use liboping to construct ping objects, add hosts, send probes, and iterate over results. The oping and noping binaries provide ready-made command-line interfaces for parallel ping checks.

The README documents the permissions issue that matters to packagers: raw sockets require elevated privileges, so Linux packages may use cap_net_raw while other Unix systems may need a setuid-root installation strategy.

### Why package nerds care

liboping is package-nerd interesting because it packages ICMP probing as a library instead of a shell loop around ping. That matters for monitoring systems, where process spawning and inconsistent ping implementations are exactly the sort of small overheads that become operational noise.

It also exposes the subtle packaging side of network utilities: the library itself is ordinary C, but the included binaries require careful capability or setuid handling to work for unprivileged users.

### Timeline

- Pre-2017: liboping develops as octo's ping library with oping as the command-line sample application.
- Version 1.4.0: noping is introduced as an ncurses front end for live ping statistics.
- 2017: noping.cc documentation is built with copyright year 2017 and offers liboping 1.10.0 tarballs.
- 2017: GitHub release page records release 1.10.0 on 2017-05-11.

### Related projects

- ping and ping6 are the traditional command-line tools whose behavior oping overlaps.
- fping is named by the project page as an inspiration for parallel host probing.
- Perl monitoring scripts are a related ecosystem because the source package includes Perl bindings.

### Sources

- <https://formulae.brew.sh/formula/liboping>
- <https://github.com/octo/liboping>
- <https://noping.cc/>
- <https://noping.cc/liboping>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** liboping
- **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 - libnet-oping-perl - 1.10.0-1.21-5+b5: normalized package name match | Debian stable package indexes: libnet-oping-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module for ICMP latency measurement | https://noping.cc
- Debian apt - liboping-dev - 1.10.0-5+b5: normalized package name match | Debian stable package indexes: liboping-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C/C++ library to generate ICMP ECHO_REQUESTs (development files) | https://noping.cc
- Debian apt - liboping0 - 1.10.0-5+b5: normalized package name match | Debian stable package indexes: liboping0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C/C++ library to generate ICMP ECHO_REQUESTs | https://noping.cc
- Debian apt - oping - 1.10.0-5+b5: normalized package name match | Debian stable package indexes: oping from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sends ICMP_ECHO requests to network hosts | https://noping.cc
- Nix - liboping: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/liboping/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnet-oping-perl - 1.10.0-1.21-5build5: normalized package name match | Ubuntu 24.04 LTS package indexes: libnet-oping-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module for ICMP latency measurement | https://noping.cc
- Ubuntu apt - liboping-dev - 1.10.0-5build5: normalized package name match | Ubuntu 24.04 LTS package indexes: liboping-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C/C++ library to generate ICMP ECHO_REQUESTs (development files) | https://noping.cc
- Ubuntu apt - liboping0 - 1.10.0-5build5: normalized package name match | Ubuntu 24.04 LTS package indexes: liboping0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C/C++ library to generate ICMP ECHO_REQUESTs | https://noping.cc
- Ubuntu apt - oping - 1.10.0-5build5: normalized package name match | Ubuntu 24.04 LTS package indexes: oping from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sends ICMP_ECHO requests to network hosts | https://noping.cc
- apk - liboping - 1.10.0-r2: normalized package name match | Alpine Linux edge package indexes: liboping from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A C library to generate ICMP echo requests | http://verplant.org/liboping/
- apk - liboping-dev - 1.10.0-r2: normalized package name match | Alpine Linux edge package indexes: liboping-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A C library to generate ICMP echo requests (development files) | http://verplant.org/liboping/
- apk - liboping-doc - 1.10.0-r2: normalized package name match | Alpine Linux edge package indexes: liboping-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A C library to generate ICMP echo requests (documentation) | http://verplant.org/liboping/
- dnf - liboping - 1.10.0-36.fc44: normalized package name match | Fedora Rawhide package metadata: liboping from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A C library to generate ICMP echo requests | https://noping.cc/
- dnf - liboping-devel - 1.10.0-36.fc44: normalized package name match | Fedora Rawhide package metadata: liboping-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for liboping | https://noping.cc/
- zypper - liboping-devel - 1.10.0-2.11: normalized package name match | openSUSE Tumbleweed package metadata: liboping-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Multiple Host Ping Library that supports ICMPv4 and ICMPv6 | https://verplant.org/liboping/
- zypper - liboping0 - 1.10.0-2.11: normalized package name match | openSUSE Tumbleweed package metadata: liboping0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Multiple Host Ping Library that supports ICMPv4 and ICMPv6 | https://verplant.org/liboping/


## 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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [prettyping](https://www.automicvault.com/pkg/brew/prettyping/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking, ping.
- [bmon](https://www.automicvault.com/pkg/brew/bmon/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.
- [bwm-ng](https://www.automicvault.com/pkg/brew/bwm-ng/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.
- [fprobe](https://www.automicvault.com/pkg/brew/fprobe/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.
- [heartbeat](https://www.automicvault.com/pkg/brew/heartbeat/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.
- [httping](https://www.automicvault.com/pkg/brew/httping/) - Shares av.db curated category or tags: cli, monitoring, networking, ping.
- [ifstat](https://www.automicvault.com/pkg/brew/ifstat/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.
- [iftop](https://www.automicvault.com/pkg/brew/iftop/) - Shares av.db curated category or tags: cli, monitoring, network-monitoring, networking.

## Combined YAML source

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