# 使用 Homebrew, apk, Nix, pacman, apt 安装 opendht

查看 opendht 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install opendht
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add opendht
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:opendht
- **软件包管理器:** Homebrew
- **版本:** 3.7.1
- **来源摘要:** C++17 Distributed Hash Table implementation
- **主页:** <https://github.com/savoirfairelinux/opendht>
- **仓库:** <https://github.com/savoirfairelinux/opendht>
- **最后更新:** 2026-07-11T09:50:48+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dhtnode (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.7.1
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 来源

- <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>


## 安全说明

没有找到 opendht 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- 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:4.2.1-1: 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


## Combined YAML source

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


## 来源

- 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
