# Install libnice with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

GLib ICE implementation. Version 0.1.23 via Homebrew; verified 2026-06-21.

## Install

```sh
sudo av install brew:libnice
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libnice
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libnice
```

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

### Linux

- apk (92%):

```sh
sudo apk add libnice
```

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

- Debian apt (92%):

```sh
sudo apt install gir1.2-nice-0.1
```

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

- dnf (92%):

```sh
sudo dnf install libnice
```

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

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

- pacman (92%):

```sh
sudo pacman -S libnice
```

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

- zypper (92%):

```sh
sudo zypper install gstreamer-libnice
```

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

## Package facts

- **Package key:** brew:libnice
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libnice>
- **Version:** 0.1.23
- **Source summary:** GLib ICE implementation
- **Homepage:** <https://wiki.freedesktop.org/nice/>
- **Repository:** <https://gitlab.freedesktop.org/libnice/libnice>
- **Upstream docs:** <https://libnice.freedesktop.org/>
- **License:** LGPL-2.1-or-later OR MPL-1.1
- **Source archive:** <https://libnice.freedesktop.org/releases/libnice-0.1.23.tar.gz>
- **Last updated:** 2026-06-21T00:07:24-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- stunbdc (cli)
- stund (cli)
- stunbdc (alias)
- stund (alias)

## Dependencies

- gettext
- glib
- gnutls

## Build dependencies

- meson
- ninja
- pkgconf

## 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: 0.1.23
- Package-manager updated: 2026-06-21
- Local data: ok
- Upstream repository: https://wiki.freedesktop.org/nice/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

libnice is the freedesktop.org GLib implementation of Interactive Connectivity Establishment, the NAT traversal technique used by real-time communication systems. It provides a GLib library, STUN/TURN support, pseudo-TCP support, and GStreamer elements.

### Project history

The project released 0.0.1 in November 2008 and 0.1.0 in January 2011. Its documentation frames the library around ICE standards work, first RFC 5245 and later RFC 8445, with compatibility paths for older STUN, early ICE drafts, Google Talk, and Microsoft variants.

Collabora sponsored libnice, and the release tags show long-running maintenance by Youness Alaoui and Olivier Crete. The project uses freedesktop.org GitLab as upstream and explicitly directs issues and merge requests there rather than to mirrors.

### Adoption history

libnice became important wherever GNOME/GLib, GStreamer, SIP, XMPP Jingle, and WebRTC-style peer-to-peer media needed ICE without embedding a full browser stack. The project page states that it has been tested for interoperability with Google's WebRTC library and with older Microsoft real-time communication implementations.

### How it is used

Applications create a NiceAgent, add streams, gather candidates, exchange credentials and candidates, and then move data through libnice APIs or through nicesrc and nicesink GStreamer elements. The reference manual separates ICE, STUN, TURN, and pseudo-TCP APIs.

### Why package nerds care

libnice sits at a dense packaging junction: GLib, GStreamer, STUN, TURN, ICE, WebRTC interop, and freedesktop hosting. It matters because real-time communication stacks can depend on it without directly vendoring browser networking code.

### Timeline

- 2008-11-05: GitLab tag metadata records libnice 0.0.1.
- 2011-01-20: GitLab tag metadata records libnice 0.1.0.
- 2015-04-28: GitLab tag metadata records libnice 0.1.13.
- 2020-10-20: GitLab tag metadata records libnice 0.1.18.
- 2025-11-27: GitLab tag metadata records libnice 0.1.23.

### Related projects

- Related standards and protocols include RFC 8445 ICE, RFC 5245 ICE, RFC 5389 STUN, RFC 5766 TURN, RFC 6544 ICE-TCP, and RFC 8838 trickle ICE.
- Related software ecosystems named by the project include GLib, GStreamer, SIP, XMPP Jingle, WebRTC, Google Talk, Microsoft Lync, and Skype for Business.

### Sources

- <https://gitlab.freedesktop.org/api/v4/projects/libnice%2Flibnice/repository/tags?per_page=100>
- <https://libnice.freedesktop.org/>
- <https://libnice.freedesktop.org/libnice/>


## 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:** libnice
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - gir1.2-nice-0.1 - 0.1.22-1: normalized package name match | Debian stable package indexes: gir1.2-nice-0.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ICE library (GObject introspection) | https://libnice.freedesktop.org/
- Debian apt - gstreamer1.0-nice - 0.1.22-1: normalized package name match | Debian stable package indexes: gstreamer1.0-nice from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ICE library (GStreamer plugin) | https://libnice.freedesktop.org/
- Debian apt - libnice-dev - 0.1.22-1: normalized package name match | Debian stable package indexes: libnice-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ICE library (development files) | https://libnice.freedesktop.org/
- Debian apt - libnice-doc - 0.1.22-1: normalized package name match | Debian stable package indexes: libnice-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ICE library (documentation) | https://libnice.freedesktop.org/
- Debian apt - libnice10 - 0.1.22-1: normalized package name match | Debian stable package indexes: libnice10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ICE library (shared library) | https://libnice.freedesktop.org/
- Nix - libnice: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libnice/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-nice-0.1 - 0.1.21-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-nice-0.1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ICE library (GObject introspection) | https://nice.freedesktop.org/
- Ubuntu apt - gstreamer1.0-nice - 0.1.21-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: gstreamer1.0-nice from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ICE library (GStreamer plugin) | https://nice.freedesktop.org/
- Ubuntu apt - libnice-dev - 0.1.21-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnice-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ICE library (development files) | https://nice.freedesktop.org/
- Ubuntu apt - libnice-doc - 0.1.21-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnice-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ICE library (documentation) | https://nice.freedesktop.org/
- Ubuntu apt - libnice10 - 0.1.21-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnice10 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ICE library (shared library) | https://nice.freedesktop.org/
- apk - libnice - 0.1.22-r0: normalized package name match | Alpine Linux edge package indexes: libnice from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib ICE implementation | https://libnice.freedesktop.org/
- apk - libnice-dbg - 0.1.22-r0: normalized package name match | Alpine Linux edge package indexes: libnice-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib ICE implementation (debug symbols) | https://libnice.freedesktop.org/
- apk - libnice-dev - 0.1.22-r0: normalized package name match | Alpine Linux edge package indexes: libnice-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GLib ICE implementation (development files) | https://libnice.freedesktop.org/
- apk - libnice-gstreamer - 0.1.22-r0: normalized package name match | Alpine Linux edge package indexes: libnice-gstreamer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Gstreamer 1.0 plugin for libnice | https://libnice.freedesktop.org/
- dnf - libnice - 0.1.23-2.fc44: normalized package name match | Fedora Rawhide package metadata: libnice from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GLib ICE implementation | https://nice.freedesktop.org/


## 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.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gstreamer](https://www.automicvault.com/pkg/brew/gstreamer/) - Popular package that depends on this formula.
- [coturn](https://www.automicvault.com/pkg/brew/coturn/) - Shares av.db curated category or tags: cli, networking, stun, turn.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, library, networking.
- [c-ares](https://www.automicvault.com/pkg/brew/c-ares/) - Shares av.db curated category or tags: cli, library, networking.
- [curl](https://www.automicvault.com/pkg/brew/curl/) - Shares av.db curated category or tags: cli, library, networking.
- [czmq](https://www.automicvault.com/pkg/brew/czmq/) - Shares av.db curated category or tags: cli, library, networking.
- [freerdp](https://www.automicvault.com/pkg/brew/freerdp/) - Shares av.db curated category or tags: cli, library, networking.
- [gupnp](https://www.automicvault.com/pkg/brew/gupnp/) - Shares av.db curated category or tags: cli, library, networking.
- [hesiod](https://www.automicvault.com/pkg/brew/hesiod/) - Shares av.db curated category or tags: cli, library, networking.
- [dbus-glib](https://www.automicvault.com/pkg/brew/dbus-glib/) - Local package facts share a topical domain. Shared terms: cli, gettext, glib, library.
- [usbredir](https://www.automicvault.com/pkg/brew/usbredir/) - Local package facts share a topical domain. Shared terms: cli, glib, networking.
- [desktop-file-utils](https://www.automicvault.com/pkg/brew/desktop-file-utils/) - Local package facts share a topical domain. Shared terms: cli, gettext, glib.

## Combined YAML source

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