pkg.soopen package index

brew / 排名 3992

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 primesieve

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install primesieve

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install primesieve

MacPorts ports tree · math/primesieve/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

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

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

Windows

Scoop已验证 · 92%
scoop install main/primesieve

Scoop official bucket manifest trees · bucket/primesieve.json · 来源: api.github.com

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

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

概览

软件包摘要

Fast C/C++ prime number generator

命令和别名

  • primesieve

历史

项目历史与用法

primesieve is a cache-efficient, multi-threaded command-line program and C/C++ library for generating primes and prime k-tuplets over 64-bit ranges.

项目历史

Kim Walisch developed primesieve as a fast prime generator based on a segmented sieve of Eratosthenes. The project progressively became a reusable library, adding prime k-tuplet counting, nth-prime operations, iterator APIs, parallel execution, and portability across Unix-like systems and Windows.

Version 5.0 in 2014 was a major architectural milestone: the project moved from Google Code/SVN to GitHub/Git, adopted GNU Autotools and Libtool, introduced a rewritten API, and added comprehensive C bindings. Later development expanded the supported range to 2^64−1, improved cache and CPU utilization, and modernized its build and API surfaces.

采用历史

primesieve developed from a standalone prime generator into a packaged command and native library. Its official README lists packages for Windows, macOS, Arch, Debian/Ubuntu, Fedora, FreeBSD, and openSUSE; source_facts additionally records APK, MacPorts, Nix, Scoop, and other package ecosystems.

The changelog notes integration work for Sage and the addition of package-manager documentation, reflecting use beyond the standalone executable.

使用方式

The CLI can count or print primes and prime k-tuplets over an interval, find nth primes, and stress-test CPU and memory. Developers can use the C or C++ library APIs and iterators; the implementation automatically detects cache sizes and uses multiple CPU cores when ordering constraints allow.

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

primesieve is a benchmark-friendly piece of numerical systems software: it combines cache-aware segmented sieving, wheel factorization, bucket sieving, multi-core execution, a command-line interface, and stable C/C++ APIs. Its wide package coverage makes a specialized number-theory engine unusually easy to install and link.

时间线

  • 2012: Version 4.0 substantially improved documentation and the library interface.
  • 2014: Version 5.0 moved the project from Google Code/SVN to GitHub/Git and introduced a rewritten API with C bindings.
  • 2016: Version 5.7 extended prime generation through 2^64−1.
  • 2016: Version 5.7.1 added package-manager documentation.
  • Later releases: Continued API, SIMD, portability, build-system, and cache-efficiency work.

Related projects

  • primecount: Uses prime generation while implementing advanced prime-counting algorithms.
  • SageMath: A mathematical software system for which the changelog records integration-related fixes.
  • Sieve of Eratosthenes: The foundational algorithm, enhanced here through segmentation, wheel factorization, and bucket sieving.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本12.15
管理器更新时间2026-09-10
本地数据OK
上游当前
检测到的最新版本v12.15

https://github.com/kimwalisch/primesieve

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

安装元数据

软件包元数据

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

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libprimesieve-dev 12.7+ds-1

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

https://github.com/kimwalisch/primesieve

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

libprimesieve-dev-common 12.7+ds-1

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

https://github.com/kimwalisch/primesieve

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

libprimesieve12 12.7+ds-1

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

https://github.com/kimwalisch/primesieve

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

primesieve 12.7+ds-1

fast prime number generator C/C++ library

https://github.com/kimwalisch/primesieve

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

primesieve-bin 12.7+ds-1

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

https://github.com/kimwalisch/primesieve

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

primesieve-doc 12.7+ds-1

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

https://github.com/kimwalisch/primesieve

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

primesieve

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

libprimesieve-dev 12.0+ds-2build1

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

https://github.com/kimwalisch/primesieve

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

libprimesieve-dev-common 12.0+ds-2build1

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

https://github.com/kimwalisch/primesieve

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

libprimesieve12 12.0+ds-2build1

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

https://github.com/kimwalisch/primesieve

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

primesieve 12.0+ds-2build1

fast prime number generator C/C++ library

https://github.com/kimwalisch/primesieve

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

primesieve-bin 12.0+ds-2build1

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

https://github.com/kimwalisch/primesieve

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

primesieve-doc 12.0+ds-2build1

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

https://github.com/kimwalisch/primesieve

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

primesieve 12.13-r0

Program and library for generating prime numbers

http://primesieve.org

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

primesieve-dev 12.13-r0

Program and library for generating prime numbers (development files)

http://primesieve.org

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

primesieve-doc 12.13-r0

Program and library for generating prime numbers (documentation)

http://primesieve.org

sudo apk add primesieve-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: primesieve
  • normalized package name match
  • 匹配方式:Primesieve
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: primesieve-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