# Install pth with Homebrew, MacPorts, Nix, apt

GNU Portable THreads. Version 2.0.7 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#pth.

## Install

```sh
sudo av install brew:pth
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pth
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pth
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pth
```

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

- Ubuntu apt (92%):

```sh
sudo apt install libpth-dev
```

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

## Package facts

- **Package key:** brew:pth
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pth>
- **Version:** 2.0.7
- **Source summary:** GNU Portable THreads
- **Homepage:** <https://www.gnu.org/software/pth/>
- **Upstream docs:** <https://www.gnu.org/software/pth/>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://ftpmirror.gnu.org/gnu/pth/pth-2.0.7.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- pth-config (cli)
- pth-config (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.0.7
- Local data: ok
- Upstream repository: https://www.gnu.org/software/pth/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pth
- **Version Scheme:** 0
- **Revision:** 0
- **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 - pth: normalized package name match | nixpkgs package indexes: pth from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libpth-dev - 2.0.7-22.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpth-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Portable Threads (development) | https://www.gnu.org/software/pth/
- Ubuntu apt - libpth20t64 - 2.0.7-22.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpth20t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Portable Threads | https://www.gnu.org/software/pth/
- MacPorts - pth: normalized package name match | MacPorts ports tree: devel/pth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [coreutils](https://pkg.so/brew/coreutils/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [bash](https://pkg.so/brew/bash/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [glibc](https://pkg.so/brew/glibc/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [bc](https://pkg.so/brew/bc/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [stow](https://pkg.so/brew/stow/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [gnu-which](https://pkg.so/brew/gnu-which/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [findutils](https://pkg.so/brew/findutils/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [ddrescue](https://pkg.so/brew/ddrescue/) - Shares pkgdb curated category or tags: cli, gnu, system.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
