# 使用 Homebrew, apk, dnf, MacPorts, pacman 安装 toxcore

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

## 安装

```sh
sudo av install brew:toxcore
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install toxcore
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install toxcore
```

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

### Linux

- apk (92%):

```sh
sudo apk add toxcore
```

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

- dnf (92%):

```sh
sudo dnf install toxcore
```

  证据: Fedora Rawhide package metadata: toxcore from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S toxcore
```

  证据: Arch Linux sync databases: toxcore from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:toxcore
- **软件包管理器:** Homebrew
- **版本:** 0.2.23
- **来源摘要:** C library implementing the Tox peer to peer network protocol
- **主页:** <https://tox.chat/>
- **仓库:** <https://github.com/TokTok/c-toxcore>
- **最后更新:** 2026-06-04T01:57:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- DHT_bootstrap (别名)
- tox-bootstrapd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

toxcore is the C implementation of the Tox peer-to-peer encrypted messaging protocol. The official repository describes Tox as a serverless instant messenger intended to make security and privacy easier for regular users, using libsodium-based encryption and authentication.

### 项目历史

The current official repository is maintained under the TokTok organization and is identified on GitHub as forked from the earlier irungentoo/toxcore repository. That lineage reflects the transition from the early Tox implementation into the current TokTok-maintained C core.

The repository has treated toxcore as a low-level cryptographic networking library rather than an end-user chat client. Its README includes a prominent warning that the library is experimental, has not been independently audited by cryptography specialists, and should be used at the user's risk.

### 采用历史

toxcore's adoption is mostly indirect: it is the shared protocol library and bootstrap tooling that downstream Tox clients and bots build on. Homebrew packages the library and its bootstrap executables, while the source facts also show packages in Alpine, Fedora, MacPorts, and Arch/pacman.

GitHub Releases record a 'First Stable API' release at v0.1.0 in December 2016. The later changelog shows an active 0.2.x line focused on hardening, testing, ToxAV fixes, group chat work, network profiling, and preserving public API compatibility across releases.

### 使用方式

Developers embed toxcore by creating a Tox instance, registering callbacks for events such as friend requests and messages, and repeatedly calling the event-loop function `tox_iterate` at the interval returned by `tox_iteration_interval`.

For package users, the Homebrew-visible executables `DHT_bootstrap` and `tox-bootstrapd` represent toxcore's infrastructure side: maintaining bootstrap nodes and helping peers enter the decentralized Tox network rather than launching a full chat UI.

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

toxcore is significant to package nerds because it is a packaged C protocol library with security-sensitive dependencies, ABI/API concerns, and downstream clients. Packaging it correctly matters for encrypted-messaging clients that rely on shared system libraries instead of vendored snapshots.

The project also illustrates the package-maintainer tension around cryptographic software: widely packaged, useful to privacy-oriented users, but officially documented as experimental and unaudited.

### 时间线

- 2016: GitHub Releases publish v0.1.0 as 'First Stable API'.
- 2024: v0.2.20 changelog includes security and ToxAV fixes.
- 2025: v0.2.21 changelog adds DNS-disable support and a network profiler.
- 2026: v0.2.22 and v0.2.23 changelog entries emphasize hardening, architectural refinement, and security fixes.

### Related projects

- The repository includes toxcore, toxav, and toxencryptsave components, and the README points readers to Tox clients, the Tox wiki, and example bots such as minitox.

### 来源

- <https://api.github.com/repos/TokTok/c-toxcore/releases>
- <https://github.com/TokTok/c-toxcore#readme>
- <https://github.com/TokTok/c-toxcore/blob/master/CHANGELOG.md>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- apk - toxcore - 0.2.23-r1: normalized package name match | Alpine Linux edge package indexes: toxcore from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tox communication project - C core | https://tox.chat/
- apk - toxcore-bash-completion - 0.2.23-r1: normalized package name match | Alpine Linux edge package indexes: toxcore-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for toxcore | https://tox.chat/
- apk - toxcore-dev - 0.2.23-r1: normalized package name match | Alpine Linux edge package indexes: toxcore-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tox communication project - C core (development files) | https://tox.chat/
- apk - toxcore-libs - 0.2.23-r1: normalized package name match | Alpine Linux edge package indexes: toxcore-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tox communication project - C core (libraries) | https://tox.chat/
- dnf - toxcore - 0.2.20-5.fc45: normalized package name match | Fedora Rawhide package metadata: toxcore from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Peer to peer instant messenger | https://github.com/TokTok/c-toxcore
- dnf - toxcore-devel - 0.2.20-5.fc45: normalized package name match | Fedora Rawhide package metadata: toxcore-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for Toxcore | https://github.com/TokTok/c-toxcore
- pacman - toxcore - 1:0.2.22-2: normalized package name match | Arch Linux sync databases: toxcore from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Secure, configuration-free, P2P Skype replacement backend | https://tox.chat
- MacPorts - toxcore: normalized package name match | MacPorts ports tree: net/toxcore/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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