pkg.soopen package index

brew / 排名 4672

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper, winget 安装 primecount

查看 primecount 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install primecount

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add primecount

Alpine Linux edge package indexes · primecount · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install primecount

Debian stable package indexes · primecount · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install primecount

Fedora Rawhide package metadata · primecount · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#primecount

nixpkgs package indexes · pkgs/by-name/pr/primecount/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S primecount

Arch Linux sync databases · primecount · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install primecount

openSUSE Tumbleweed package metadata · primecount · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id Primecount.Primecount -e

Windows Package Manager source index · Primecount.Primecount · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Fast prime counting function program and C/C++ library

命令和别名

  • primecount

历史

项目历史与用法

primecount is a command-line program and C/C++ library for computing the prime-counting function π(x), using optimized parallel implementations of combinatorial algorithms.

项目历史

Kim Walisch developed primecount as a high-performance implementation of combinatorial prime-counting algorithms. The project supplied open-source implementations of Deleglise–Rivat and Xavier Gourdon’s algorithm, progressively adding shared-memory parallelism, distributed MPI execution, improved load balancing, and APIs for C and C++.

Release 3.0 merged MPI support into the main project in 2016. Release 5.0 introduced Xavier Gourdon’s algorithm in 2019, and 5.1 made it the default for sufficiently large inputs. Subsequent releases focused on performance, testing, portability, and packaging.

采用历史

primecount became available through operating-system package managers including Homebrew, Arch, Debian/Ubuntu, Fedora, FreeBSD, openSUSE, Nix, APK, and WinGet. The official project reports its use in several prime-counting-function world-record computations.

使用方式

Users run primecount to calculate the number of primes less than or equal to a supplied value or call libprimecount from C/C++. Advanced options select particular algorithms, threads, status output, and verification modes; suitable builds can use OpenMP and MPI for large computations.

为什么软件包爱好者会关心

primecount packages research-grade number-theory algorithms as both a practical command and a reusable native library. It is notable to performance enthusiasts for its OpenMP parallelism, optional MPI distribution, 128-bit-scale computations, load balancing across many cores, and close coupling with libprimesieve.

时间线

  • 2016: Version 3.0 merged MPI-based distributed computation into the main branch.
  • 2019: Version 5.0 introduced Xavier Gourdon’s prime-counting algorithm.
  • 2019: Version 5.1 enabled Gourdon’s algorithm by default for large inputs.
  • 2021: Version 6.2 emphasized package-manager installation and stopped providing precompiled binaries.
  • 2023: Version 7.9 substantially expanded algorithm unit testing.

Related projects

  • primesieve: Provides high-speed prime generation and is embedded or linked by primecount.
  • primecount-backup: A related mode/branch for long computations with backup and resume support.
  • Deleglise–Rivat and Gourdon algorithms: The principal advanced combinatorial methods implemented by the project.

安全态势

尚未找到受保护工具覆盖

没有找到 primecount 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
primecountcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本8.7
管理器更新时间2026-09-13
本地数据OK
上游当前
检测到的最新版本v8.7

https://github.com/kimwalisch/primecount

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:primecount
版本8.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/primecount
主页https://github.com/kimwalisch/primecount
仓库https://github.com/kimwalisch/primecount
许可证BSD-2-Clause
源码归档https://github.com/kimwalisch/primecount/archive/refs/tags/v8.7.tar.gz
最后更新2026-09-13T12:20:29Z
Pulseupdated
依赖libomp, primesieve
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprimecount
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libprimecount-dev 7.16+ds-1

fast prime number counter C/C++ library -- libdev

https://github.com/kimwalisch/primecount

sudo apt install libprimecount-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: primecount
  • 3 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libprimecount-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libprimecount-dev-common 7.16+ds-1

fast prime number counter C/C++ library -- headers

https://github.com/kimwalisch/primecount

sudo apt install libprimecount-dev-common
  • Section: libdevel
  • Architecture: all
  • Source Package: primecount
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libprimecount-dev-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libprimecount7 7.16+ds-1

fast prime number counter C/C++ library -- lib

https://github.com/kimwalisch/primecount

sudo apt install libprimecount7
  • Section: libs
  • Architecture: amd64
  • Source Package: primecount
  • 5 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libprimecount7 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

primecount 7.16+ds-1

fast prime number counter C/C++ library

https://github.com/kimwalisch/primecount

sudo apt install primecount
  • Section: math
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: primecount from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

primecount-bin 7.16+ds-1

fast prime number counter C/C++ library -- bin

https://github.com/kimwalisch/primecount

sudo apt install primecount-bin
  • Section: math
  • Architecture: amd64
  • Source Package: primecount
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: primecount-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

primecount-doc 7.16+ds-1

fast prime number counter C/C++ library -- doc

https://github.com/kimwalisch/primecount

sudo apt install primecount-doc
  • Section: doc
  • Architecture: all
  • Source Package: primecount
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Debian stable package indexes · deb.debian.org · Debian stable package indexes: primecount-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

primecount

nix profile install nixpkgs#primecount
  • normalized package name match
  • 匹配方式:Primecount
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/primecount/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libprimecount-dev 7.10+ds-1build2

fast prime number counter C/C++ library -- libdev

https://github.com/kimwalisch/primecount

sudo apt install libprimecount-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: primecount
  • 3 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprimecount-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libprimecount-dev-common 7.10+ds-1build2

fast prime number counter C/C++ library -- headers

https://github.com/kimwalisch/primecount

sudo apt install libprimecount-dev-common
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: primecount
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprimecount-dev-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libprimecount7 7.10+ds-1build2

fast prime number counter C/C++ library -- lib

https://github.com/kimwalisch/primecount

sudo apt install libprimecount7
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: primecount
  • 5 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libprimecount7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

primecount 7.10+ds-1build2

fast prime number counter C/C++ library

https://github.com/kimwalisch/primecount

sudo apt install primecount
  • Section: universe/math
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: primecount from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

primecount-bin 7.10+ds-1build2

fast prime number counter C/C++ library -- bin

https://github.com/kimwalisch/primecount

sudo apt install primecount-bin
  • Section: universe/math
  • Architecture: amd64
  • Source Package: primecount
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: primecount-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

primecount-doc 7.10+ds-1build2

fast prime number counter C/C++ library -- doc

https://github.com/kimwalisch/primecount

sudo apt install primecount-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: primecount
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Primecount
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: primecount-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

primecount 8.4-r0

Fast prime counting C/C++ library

https://github.com/kimwalisch/primecount

sudo apk add primecount
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: primecount
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Primecount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: primecount from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

primecount-dev 8.4-r0

Fast prime counting C/C++ library (development files)

https://github.com/kimwalisch/primecount

sudo apk add primecount-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: primecount
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Primecount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: primecount-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

primecount-doc 8.4-r0

Fast prime counting C/C++ library (documentation)

https://github.com/kimwalisch/primecount

sudo apk add primecount-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: primecount
  • normalized package name match
  • 匹配方式:Primecount
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: primecount-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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