# 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
- **Version:** 2.0.7
- **Source summary:** GNU Portable THreads
- **Homepage:** <https://www.gnu.org/software/pth/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- pth-config (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.7

## Security Notes

narrow executable package without higher-risk signals.

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

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


## 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
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
