# Install coturn with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Free open source implementation of TURN and STUN Server. Version 4.14.0 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:coturn
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install coturn
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add coturn
```

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

- Debian apt (92%):

```sh
sudo apt install coturn
```

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

- dnf (92%):

```sh
sudo dnf install coturn
```

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

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

- pacman (92%):

```sh
sudo pacman -S coturn
```

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

- zypper (92%):

```sh
sudo zypper install coturn
```

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

## Package facts

- **Package key:** brew:coturn
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/coturn>
- **Version:** 4.14.0
- **Source summary:** Free open source implementation of TURN and STUN Server
- **Homepage:** <https://github.com/coturn/coturn>
- **Repository:** <https://github.com/coturn/coturn>
- **Upstream docs:** <https://github.com/coturn/coturn#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/coturn/coturn/archive/refs/tags/4.14.0.tar.gz>
- **Last updated:** 2026-06-25T13:37:38+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- turnadmin (cli)
- turnserver (cli)
- turnutils_natdiscovery (cli)
- turnutils_oauth (cli)
- turnutils_peer (cli)
- turnutils_stunclient (cli)
- turnutils_uclient (cli)
- turnadmin (alias)
- turnserver (alias)
- turnutils_natdiscovery (alias)
- turnutils_oauth (alias)
- turnutils_peer (alias)
- turnutils_stunclient (alias)
- turnutils_uclient (alias)

## Dependencies

- hiredis
- libevent
- libpq
- openssl@3

## Build dependencies

- pkgconf

## Uses from macOS

- sqlite

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.14.0
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/coturn/coturn
- Upstream latest detected: 4.14.0 (current)
## Project history and usage

coturn is a widely packaged open-source STUN/TURN server used for NAT traversal in VoIP, WebRTC, and other real-time communication systems. It is infrastructure software: once installed, it is usually run as a network service rather than as an interactive CLI.

### Project history

The coturn/coturn repository was created in July 2015 and the README describes the project as a free open-source implementation of TURN and STUN server functionality. Its source tree includes server, administration, utility, database, Docker, and documentation components, reflecting a long-lived service package rather than a single-purpose command.

### Adoption history

coturn became a default choice in many self-hosted and distro-packaged WebRTC stacks because TURN is required when direct peer-to-peer connectivity fails. The README explicitly calls out Linux distribution packages and Docker images, and package metadata shows it available across Homebrew, Debian/Ubuntu, Fedora-style, Arch, Alpine, Nix, and zypper ecosystems.

### How it is used

Common use is to install the package, configure `turnserver.conf`, run `turnserver`, and manage users or credentials with `turnadmin` and the configured backend database. The project supports UDP, TCP, TLS, DTLS, several user database backends, monitoring integrations, and a management interface.

### Why package nerds care

coturn is package-significant because it sits at the boundary between library packaging and operations packaging: distros must ship binaries, service files, example configs, database paths, TLS/OpenSSL integration, and upgrade-safe defaults for a daemon that often fronts production media traffic.

### Timeline

- 2015: coturn/coturn repository created.
- 2017: GitHub releases were being published from the repository.
- 2020: Wiki pages documented configuration, downloads, and command references.
- 2026: Project remained active with new releases.

### Related projects

- STUN, TURN, ICE, WebRTC, VoIP servers, libevent, OpenSSL, Redis, PostgreSQL, MySQL/MariaDB, SQLite.

### Sources

- <https://github.com/coturn/coturn>
- <https://github.com/coturn/coturn/wiki>
- <https://api.github.com/repos/coturn/coturn>
- <https://api.github.com/repos/coturn/coturn/releases?per_page=100>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: turnserver.conf, etc/turnserver.conf, ../etc/turnserver.conf, /etc/turnserver.conf, /usr/local/etc/turnserver.conf

## Credential files

- Unix: /var/db/turndb, /var/lib/turn/turndb, turnserver.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** coturn
- **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 - coturn - 4.6.1-2: normalized package name match | Debian stable package indexes: coturn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TURN and STUN server for VoIP | https://github.com/coturn/coturn/
- Nix - coturn: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/coturn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - coturn - 4.6.1-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: coturn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | TURN and STUN server for VoIP | https://github.com/coturn/coturn/
- apk - coturn - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: coturn from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free open source implementation of TURN and STUN Server | https://github.com/coturn/coturn
- apk - coturn-dev - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: coturn-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free open source implementation of TURN and STUN Server (development files) | https://github.com/coturn/coturn
- apk - coturn-doc - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: coturn-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free open source implementation of TURN and STUN Server (documentation) | https://github.com/coturn/coturn
- apk - coturn-openrc - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: coturn-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free open source implementation of TURN and STUN Server (OpenRC init scripts) | https://github.com/coturn/coturn
- apk - coturn-static - 4.10.0-r0: normalized package name match | Alpine Linux edge package indexes: coturn-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free open source implementation of TURN and STUN Server (static library) | https://github.com/coturn/coturn
- dnf - coturn - 4.12.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: coturn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | TURN/STUN & ICE Server | https://github.com/coturn/coturn/
- dnf - coturn-client-devel - 4.12.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: coturn-client-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Coturn client development headers | https://github.com/coturn/coturn/
- dnf - coturn-client-libs - 4.12.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: coturn-client-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | TURN client static library | https://github.com/coturn/coturn/
- dnf - coturn-utils - 4.12.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: coturn-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Coturn utils | https://github.com/coturn/coturn/
- pacman - coturn - 4.12.0-1: normalized package name match | Arch Linux sync databases: coturn from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open-source implementation of TURN and STUN server | https://github.com/coturn/coturn
- zypper - coturn - 4.12.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: coturn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | TURN and STUN server for VoIP | https://github.com/coturn/coturn/
- zypper - coturn-devel - 4.12.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: coturn-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Coturn development headers | https://github.com/coturn/coturn/
- zypper - coturn-utils - 4.12.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: coturn-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Coturn utils | https://github.com/coturn/coturn/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [stuntman](https://www.automicvault.com/pkg/brew/stuntman/) - Shares av.db curated category or tags: cli, nat-traversal, networking, stun, webrtc.
- [libnice](https://www.automicvault.com/pkg/brew/libnice/) - Shares av.db curated category or tags: cli, networking, stun, turn.
- [openiothub-server](https://www.automicvault.com/pkg/brew/openiothub-server/) - Shares av.db curated category or tags: cli, nat-traversal, networking, server.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking, server.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, networking, server.
- [coredns](https://www.automicvault.com/pkg/brew/coredns/) - Shares av.db curated category or tags: cli, networking, server.
- [dante](https://www.automicvault.com/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, server.
- [dnscrypt-wrapper](https://www.automicvault.com/pkg/brew/dnscrypt-wrapper/) - Shares av.db curated category or tags: cli, networking, server.
- [proxygen](https://www.automicvault.com/pkg/brew/proxygen/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, networking, openssl, openssl-3, server.

## Combined YAML source

View the package source record on GitHub. [combined/coturn.yml](https://github.com/automic-vault/db/blob/main/combined/coturn.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
