# Install distcc with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Distributed compiler client and server. Version 3.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:distcc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install distcc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install distcc
```

  Evidence: MacPorts ports tree: devel/distcc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add distcc
```

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

- Debian apt (92%):

```sh
sudo apt install distcc
```

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

- dnf (92%):

```sh
sudo dnf install distcc
```

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

  Evidence: nixpkgs package indexes: distcc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S distcc
```

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

- zypper (92%):

```sh
sudo zypper install distcc
```

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

## Package facts

- **Package key:** brew:distcc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/distcc>
- **Version:** 3.4
- **Source summary:** Distributed compiler client and server
- **Homepage:** <https://github.com/distcc/distcc/>
- **Repository:** <https://github.com/distcc/distcc>
- **Upstream docs:** <https://github.com/distcc/distcc#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/distcc/distcc/releases/download/v3.4/distcc-3.4.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- distcc (cli)
- distccd (cli)
- distccmon-text (cli)
- lsdistcc (cli)
- pump (cli)
- update-distcc-symlinks (cli)
- distcc (alias)
- distccd (alias)
- distccmon-text (alias)
- lsdistcc (alias)
- pump (alias)
- update-distcc-symlinks (alias)

## Dependencies

- python@3.14

## Build dependencies

- python-setuptools

## 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: 3.4
- Local data: ok
- Upstream repository: https://github.com/distcc/distcc
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

distcc is a distributed C, C++, and Objective-C compilation front end originally written by Martin Pool. It matters to package and ports maintainers because it attacks one of the classic pain points of source-based packaging: repeated local compiler work during large builds.

### Project history

The project presents itself as a free distributed C/C++ compiler system that can run builds across several networked machines without requiring a shared filesystem, synchronized clocks, or matching installed headers and libraries on every host. Its 3.0 series added pump mode, a Google-contributed path that distributes preprocessing as well as compilation when client and server systems are compatible enough.

### Adoption history

distcc's own documentation describes use at scales ranging from a few build hosts to environments with hundreds of distcc servers supporting many simultaneous compiles. The project also records later maintainer transitions and continued releases, including 3.2 in 2011, 3.3 in 2018, 3.4 in 2021, and ongoing 3.x development.

### How it is used

Users typically export a host list through DISTCC_HOSTS or place host configuration under the distcc directory, then invoke parallel builds through make -j with CC=distcc or compiler masquerading. The server side is handled by distccd, while monitoring and helper commands support day-to-day build-farm operation.

### Why package nerds care

distcc is a long-running example of Unix build acceleration that works with ordinary compiler invocations instead of replacing the whole build system. That makes it especially attractive in package-manager culture, where maintainers often need to build large C and C++ dependency graphs while preserving normal toolchain semantics.

### Timeline

- 2008: distcc 3.0 adds pump mode for distributed preprocessing.
- 2011: distcc 3.2 adds IPv6 support and optional GSS-API authentication.
- 2018: distcc 3.3 adds cross-compilation support and Python 3 support.
- 2021: distcc 3.4 continues the 3.x line with build and monitoring fixes.

### Related projects

- ccache is often paired conceptually with distcc because both reduce C and C++ build cost, though ccache avoids repeated compilation through local cache hits while distcc spreads remaining compilation across machines.
- icecream occupies the same distributed-compilation niche but uses a scheduler-oriented model, while distcc stays close to conventional compiler command lines.

### Sources

- <https://github.com/distcc/distcc#readme>
- <https://raw.githubusercontent.com/distcc/distcc/master/NEWS>
- <https://distcc.github.io/man/distcc_1.html>
- <https://distcc.github.io/man/distccd_1.html>


## 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: $DISTCC_DIR/hosts, ~/.distcc/hosts
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** distcc
- **Version Scheme:** 0
- **Revision:** 3
- **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

- Debian apt - distcc - 3.4+really3.4-12: normalized package name match | Debian stable package indexes: distcc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple distributed compiler client and server | https://distcc.github.io/
- Debian apt - distcc-pump - 3.4+really3.4-12: normalized package name match | Debian stable package indexes: distcc-pump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pump mode for distcc a distributed compiler client and server | https://distcc.github.io/
- Debian apt - distccmon-gnome - 3.4+really3.4-12: normalized package name match | Debian stable package indexes: distccmon-gnome from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GTK+ monitor for distcc a distributed client and server | https://distcc.github.io/
- Nix - distcc: normalized package name match | nixpkgs package indexes: distcc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - distcc - 3.4+really3.4-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: distcc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple distributed compiler client and server | https://distcc.github.io/
- Ubuntu apt - distcc-pump - 3.4+really3.4-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: distcc-pump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pump mode for distcc a distributed compiler client and server | https://distcc.github.io/
- Ubuntu apt - distccmon-gnome - 3.4+really3.4-4build3: normalized package name match | Ubuntu 24.04 LTS package indexes: distccmon-gnome from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GTK+ monitor for distcc a distributed client and server | https://distcc.github.io/
- apk - distcc - 3.4-r10: normalized package name match | Alpine Linux edge package indexes: distcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Ddistributed C, C++, Obj C compiler | https://github.com/distcc/distcc
- apk - distcc-doc - 3.4-r10: normalized package name match | Alpine Linux edge package indexes: distcc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Ddistributed C, C++, Obj C compiler (documentation) | https://github.com/distcc/distcc
- apk - distcc-openrc - 3.4-r10: normalized package name match | Alpine Linux edge package indexes: distcc-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Ddistributed C, C++, Obj C compiler (OpenRC init scripts) | https://github.com/distcc/distcc
- apk - distcc-pump - 3.4-r10: normalized package name match | Alpine Linux edge package indexes: distcc-pump from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | pump mode for distcc a distributed compiler client and server | https://github.com/distcc/distcc
- apk - distcc-pump-pyc - 3.4-r10: normalized package name match | Alpine Linux edge package indexes: distcc-pump-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for distcc-pump | https://github.com/distcc/distcc
- dnf - distcc - 3.4-15.fc45: normalized package name match | Fedora Rawhide package metadata: distcc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Distributed C/C++ compilation | https://github.com/distcc/distcc
- dnf - distcc-gnome - 3.4-15.fc45: normalized package name match | Fedora Rawhide package metadata: distcc-gnome from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Gnome frontend of distcc monitoring tool | https://github.com/distcc/distcc
- dnf - distcc-server - 3.4-15.fc45: normalized package name match | Fedora Rawhide package metadata: distcc-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Server for distributed C/C++ compilation | https://github.com/distcc/distcc
- pacman - distcc - 3.4-15: normalized package name match | Arch Linux sync databases: distcc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Distributed compilation service for C, C++ and Objective-C | https://github.com/distcc/distcc


## 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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [ccache](https://www.automicvault.com/pkg/brew/ccache/) - Shares av.db curated category or tags: build-tools, c, c-plus-plus, cli, developer-tools.
- [aarch64-elf-gcc](https://www.automicvault.com/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: c, c-plus-plus, cli, compiler, developer-tools.
- [emscripten](https://www.automicvault.com/pkg/brew/emscripten/) - Shares av.db curated category or tags: c, c-plus-plus, cli, compiler, developer-tools.
- [ncc](https://www.automicvault.com/pkg/brew/ncc/) - Shares av.db curated category or tags: build-tools, cli, compiler, developer-tools.
- [recc](https://www.automicvault.com/pkg/brew/recc/) - Shares av.db curated category or tags: build-tools, c, cli, developer-tools.
- [samurai](https://www.automicvault.com/pkg/brew/samurai/) - Shares av.db curated category or tags: build-tools, c, cli, developer-tools.
- [aarch64-elf-binutils](https://www.automicvault.com/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [add-determinism](https://www.automicvault.com/pkg/brew/add-determinism/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [compiledb](https://www.automicvault.com/pkg/brew/compiledb/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, compilation, developer.
- [fobis](https://www.automicvault.com/pkg/brew/fobis/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.
- [python-build](https://www.automicvault.com/pkg/brew/python-build/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, build-tools, cli, developer, developer-tools.

## Combined YAML source

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