# Install primecount

Fast prime counting function program and C/C++ library. Version 8.5 via Homebrew; verified 2026-05-11.

## Install

```sh
sudo av install brew:primecount
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install primecount
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add primecount
```

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

- Debian apt (92%):

```sh
sudo apt install libprimecount-dev
```

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

- dnf (92%):

```sh
sudo dnf install primecount
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#primecount
```

  Evidence: nixpkgs package indexes: pkgs/by-name/pr/primecount/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S primecount
```

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

- zypper (92%):

```sh
sudo zypper install libprimecount-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libprimecount-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Primecount.Primecount -e
```

  Evidence: Windows Package Manager source index: Primecount.Primecount from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:primecount
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/primecount>
- **Version:** 8.5
- **Source summary:** Fast prime counting function program and C/C++ library
- **Homepage:** <https://github.com/kimwalisch/primecount>
- **Repository:** <https://github.com/kimwalisch/primecount>
- **Upstream docs:** <https://github.com/kimwalisch/primecount#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/kimwalisch/primecount/archive/refs/tags/v8.5.tar.gz>
- **Last updated:** 2026-05-11T16:18:55Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- primecount (cli)
- primecount (alias)

## Dependencies

- libomp
- primesieve

## Build Dependencies

- cmake

## 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-06-10
- Package-manager version: 8.5
- Package-manager updated: 2026-05-11
- Local data status: ok
- Upstream repository: https://github.com/kimwalisch/primecount
- Upstream latest detected: v8.5 (current)

## Notes de sécurité

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

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

- Debian apt - libprimecount-dev - 7.16+ds-1: normalized package name match | Debian stable package indexes: libprimecount-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library -- libdev | https://github.com/kimwalisch/primecount
- Debian apt - libprimecount-dev-common - 7.16+ds-1: normalized package name match | Debian stable package indexes: libprimecount-dev-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library -- headers | https://github.com/kimwalisch/primecount
- Debian apt - libprimecount7 - 7.16+ds-1: normalized package name match | Debian stable package indexes: libprimecount7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library -- lib | https://github.com/kimwalisch/primecount
- Debian apt - primecount - 7.16+ds-1: normalized package name match | Debian stable package indexes: primecount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library | https://github.com/kimwalisch/primecount
- Debian apt - primecount-bin - 7.16+ds-1: normalized package name match | Debian stable package indexes: primecount-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library -- bin | https://github.com/kimwalisch/primecount
- Debian apt - primecount-doc - 7.16+ds-1: normalized package name match | Debian stable package indexes: primecount-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast prime number counter C/C++ library -- doc | https://github.com/kimwalisch/primecount
- Nix - primecount: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/primecount/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libprimecount-dev - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libprimecount-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library -- libdev | https://github.com/kimwalisch/primecount
- Ubuntu apt - libprimecount-dev-common - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libprimecount-dev-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library -- headers | https://github.com/kimwalisch/primecount
- Ubuntu apt - libprimecount7 - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libprimecount7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library -- lib | https://github.com/kimwalisch/primecount
- Ubuntu apt - primecount - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: primecount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library | https://github.com/kimwalisch/primecount
- Ubuntu apt - primecount-bin - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: primecount-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library -- bin | https://github.com/kimwalisch/primecount
- Ubuntu apt - primecount-doc - 7.10+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: primecount-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast prime number counter C/C++ library -- doc | https://github.com/kimwalisch/primecount
- apk - primecount - 8.4-r0: normalized package name match | Alpine Linux edge package indexes: primecount from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast prime counting C/C++ library | https://github.com/kimwalisch/primecount
- apk - primecount-dev - 8.4-r0: normalized package name match | Alpine Linux edge package indexes: primecount-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast prime counting C/C++ library (development files) | https://github.com/kimwalisch/primecount
- apk - primecount-doc - 8.4-r0: normalized package name match | Alpine Linux edge package indexes: primecount-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast prime counting C/C++ library (documentation) | https://github.com/kimwalisch/primecount


## Related Links

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/fr/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [primesieve](https://www.automicvault.com/fr/pkg/brew/primesieve/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/fr/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [msieve](https://www.automicvault.com/fr/pkg/brew/msieve/) - Shares av.db curated category or tags: cli, mathematics, number-theory, science.
- [pari](https://www.automicvault.com/fr/pkg/brew/pari/) - Shares av.db curated category or tags: cli, mathematics, number-theory, science.
- [suite-sparse](https://www.automicvault.com/fr/pkg/brew/suite-sparse/) - Shares av.db curated category or tags: cli, mathematics, science.
- [maxima](https://www.automicvault.com/fr/pkg/brew/maxima/) - Shares av.db curated category or tags: cli, mathematics, science.
- [calc](https://www.automicvault.com/fr/pkg/brew/calc/) - Shares av.db curated category or tags: cli, mathematics, science.
- [wxmaxima](https://www.automicvault.com/fr/pkg/brew/wxmaxima/) - Shares av.db curated category or tags: cli, mathematics, science.
- [singular](https://www.automicvault.com/fr/pkg/brew/singular/) - Shares av.db curated category or tags: cli, mathematics, science.
- [fplll](https://www.automicvault.com/fr/pkg/brew/fplll/) - Local package facts share a topical domain. Shared terms: cli, mathematics, science.
- [kalign](https://www.automicvault.com/fr/pkg/brew/kalign/) - Local package facts share a topical domain. Shared terms: cli, fast, libomp, science.

## Sources

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