# Install opendht with Homebrew, apk, Nix, pacman, apt

C++17 Distributed Hash Table implementation. Version 3.7.1 via Homebrew; verified 2026-05-11.

## Install

```sh
sudo av install brew:opendht
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install opendht
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add opendht
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#opendht
```

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

- pacman (92%):

```sh
sudo pacman -S opendht
```

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

- Ubuntu apt (92%):

```sh
sudo apt install dhtnode
```

  Evidence: Ubuntu 24.04 LTS package indexes: dhtnode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:opendht
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/opendht>
- **Version:** 3.7.1
- **Source summary:** C++17 Distributed Hash Table implementation
- **Homepage:** <https://github.com/savoirfairelinux/opendht>
- **Repository:** <https://github.com/savoirfairelinux/opendht>
- **Upstream docs:** <https://github.com/savoirfairelinux/opendht#readme>
- **License:** MIT
- **Source archive:** <https://github.com/savoirfairelinux/opendht/archive/refs/tags/v3.7.1.tar.gz>
- **Last updated:** 2026-05-11T18:07:37Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- dhtnode (cli)
- dhtnode (alias)

## Dependencies

- argon2
- asio
- fmt
- gnutls
- msgpack-cxx
- nettle
- readline

## Build dependencies

- cmake
- 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: 3.7.1
- Package-manager updated: 2026-05-11
- Local data: ok
- Upstream repository: https://github.com/savoirfairelinux/opendht
- Upstream latest detected: v3.7.1 (current)
## Project history and usage

OpenDHT is Savoir-faire Linux's C++17 distributed hash table implementation. It provides a peer-to-peer, redundant key-value store where nodes can publish and retrieve values without a central database server.

### Project history

The public repository describes OpenDHT as a lightweight C++17 DHT and exposes it as both a library and the `dhtnode` executable. Its design centers on an easy-to-use distributed in-memory store, with values spread across participating network nodes.

### Adoption history

The clearest production adoption path is Jami, Savoir-faire Linux's peer-to-peer communication system. Jami documentation says OpenDHT provides the distributed key-value datastore used for connectivity establishment with ICE and for message distribution.

### How it is used

Developers use OpenDHT when they need peer discovery, rendezvous, or small distributed records in a decentralized network. Operators can run `dhtnode` instances as bootstrap or participating nodes, while applications link the library for read/write access to the DHT.

### Why package nerds care

OpenDHT is a useful package to track because it packages a real distributed-systems primitive as a reusable C++ library rather than burying it inside a single application. The same codebase serving both Jami infrastructure and generic package managers makes dependency, ABI, and bootstrap-node behavior visible to downstream packagers.

### Related projects

- DHTNet is a later Savoir-faire Linux C++17 networking library spun off from the Jami project; it complements OpenDHT by focusing on peer-to-peer connection establishment rather than the DHT store itself.

### Sources

- <https://blog.savoirfairelinux.com/en-ca/s/opendht/>
- <https://docs.jami.net/en_US/user/jami-distributed-network.html>
- <https://formulae.brew.sh/formula/opendht>
- <https://github.com/savoirfairelinux/opendht>


## Security Notes

No matching local secret-handling manifest was found for opendht. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** opendht
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - opendht: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/opendht/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dhtnode - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: dhtnode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenDHT node binary | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - libopendht-c-dev - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libopendht-c-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the libopendht-c library | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - libopendht-c3t64 - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libopendht-c3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight C++17 distributed hash table implementation - C wrapper | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - libopendht-dev - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libopendht-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the libopendht library | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - libopendht3t64 - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libopendht3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight C++17 distributed hash table implementation | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - opendht-tools - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: opendht-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Collection of OpenDHT utility tools | https://github.com/savoirfairelinux/opendht
- Ubuntu apt - python3-opendht - 3.0.1-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-opendht from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings for libopendht C++ library | https://github.com/savoirfairelinux/opendht
- apk - opendht - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: opendht from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | C++17 Distributed Hash Table implementation | https://github.com/savoirfairelinux/opendht
- apk - opendht-dev - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: opendht-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | C++17 Distributed Hash Table implementation (development files) | https://github.com/savoirfairelinux/opendht
- apk - opendht-doc - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: opendht-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | C++17 Distributed Hash Table implementation (documentation) | https://github.com/savoirfairelinux/opendht
- apk - opendht-libs - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: opendht-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | C++17 Distributed Hash Table implementation (libraries) | https://github.com/savoirfairelinux/opendht
- apk - py3-opendht - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: py3-opendht from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | C++17 Distributed Hash Table implementation (python bindings) | https://github.com/savoirfairelinux/opendht
- apk - py3-opendht-pyc - 4.0.4-r0: normalized package name match | Alpine Linux edge package indexes: py3-opendht-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-opendht | https://github.com/savoirfairelinux/opendht
- pacman - opendht - 1:3.7.7-3: normalized package name match | Arch Linux sync databases: opendht from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C++17 Distributed Hash Table (DHT) implementation | https://github.com/savoirfairelinux/opendht


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [argon2](https://www.automicvault.com/pkg/brew/argon2/) - Runtime dependency declared by Homebrew.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [nettle](https://www.automicvault.com/pkg/brew/nettle/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [veilid](https://www.automicvault.com/pkg/brew/veilid/) - Shares av.db curated category or tags: cli, distributed-systems, networking.
- [inspircd](https://www.automicvault.com/pkg/brew/inspircd/) - Shares av.db curated category or tags: c-plus-plus, cli, networking.
- [proxygen](https://www.automicvault.com/pkg/brew/proxygen/) - Shares av.db curated category or tags: c-plus-plus, cli, networking.
- [xmlrpc-c](https://www.automicvault.com/pkg/brew/xmlrpc-c/) - Shares av.db curated category or tags: c-plus-plus, cli, networking.
- [aerleon](https://www.automicvault.com/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.
- [assh](https://www.automicvault.com/pkg/brew/assh/) - Shares av.db curated category or tags: cli, networking.
- [freediameter](https://www.automicvault.com/pkg/brew/freediameter/) - Local package facts share a topical domain. Shared terms: cli, gnutls, implementation, networking.
- [felinks](https://www.automicvault.com/pkg/brew/felinks/) - Local package facts share a topical domain. Shared terms: cli, gnutls, networking.

## Combined YAML source

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