# Install toxcore with Homebrew, apk, dnf, MacPorts, pacman

C library implementing the Tox peer to peer network protocol. Version 0.2.23 via Homebrew; verified 2026-06-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install toxcore
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install toxcore
```

  Evidence: 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
```

  Evidence: 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
```

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

- pacman (92%):

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

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

## Package facts

- **Package key:** brew:toxcore
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/toxcore>
- **Version:** 0.2.23
- **Source summary:** C library implementing the Tox peer to peer network protocol
- **Homepage:** <https://tox.chat/>
- **Repository:** <https://github.com/TokTok/c-toxcore>
- **Upstream docs:** <https://github.com/TokTok/c-toxcore#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/TokTok/c-toxcore/releases/download/v0.2.23/c-toxcore-v0.2.23.tar.xz>
- **Last updated:** 2026-06-04T01:57:58Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- DHT_bootstrap (cli)
- tox-bootstrapd (cli)
- DHT_bootstrap (alias)
- tox-bootstrapd (alias)

## Dependencies

- libconfig
- libsodium
- libvpx
- opus

## 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: 0.2.23
- Package-manager updated: 2026-06-04
- Local data: ok
- Upstream repository: https://github.com/TokTok/c-toxcore
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** toxcore
- **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

- apk - toxcore - 0.2.23-r0: 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-r0: 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-r0: 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-r0: 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-4.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Peer to peer instant messenger | https://github.com/TokTok/c-toxcore
- dnf - toxcore-devel - 0.2.20-4.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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


## Related links

- [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.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [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.
- [tuntox](https://www.automicvault.com/pkg/brew/tuntox/) - Popular package that depends on this formula.
- [mbedtls](https://www.automicvault.com/pkg/brew/mbedtls/) - Shares av.db curated category or tags: c-library, cli, cryptography, security.
- [nettle](https://www.automicvault.com/pkg/brew/nettle/) - Shares av.db curated category or tags: c-library, cli, cryptography, security.
- [aescrypt](https://www.automicvault.com/pkg/brew/aescrypt/) - Shares av.db curated category or tags: cli, cryptography, security.
- [aespipe](https://www.automicvault.com/pkg/brew/aespipe/) - Shares av.db curated category or tags: cli, cryptography, security.
- [age](https://www.automicvault.com/pkg/brew/age/) - Shares av.db curated category or tags: cli, cryptography, security.
- [age-plugin-se](https://www.automicvault.com/pkg/brew/age-plugin-se/) - Shares av.db curated category or tags: cli, cryptography, security.
- [age-plugin-yubikey](https://www.automicvault.com/pkg/brew/age-plugin-yubikey/) - Shares av.db curated category or tags: cli, cryptography, security.
- [botan](https://www.automicvault.com/pkg/brew/botan/) - Shares av.db curated category or tags: cli, cryptography, security.
- [keepkey-agent](https://www.automicvault.com/pkg/brew/keepkey-agent/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, libsodium, security.
- [minisign](https://www.automicvault.com/pkg/brew/minisign/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, libsodium, security.
- [trezor-agent](https://www.automicvault.com/pkg/brew/trezor-agent/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, libsodium, security.

## Combined YAML source

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