Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, pacman, zypper, Nix 安装 gmp-ecm

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gmp-ecm

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gmp-ecm

MacPorts ports tree · math/gmp-ecm/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install gmp-ecm

Debian stable package indexes · gmp-ecm · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gmp-ecm

Fedora Rawhide package metadata · gmp-ecm · 来源: dl.fedoraproject.org

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

Arch Linux sync databases · gmp-ecm · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gmp-ecm

openSUSE Tumbleweed package metadata · gmp-ecm · 来源: download.opensuse.org

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

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

概览

软件包摘要

Elliptic Curve Method for integer factorization

命令和别名

  • ecm

历史

项目历史与用法

GMP-ECM is a command-line program and library for integer factorization using the elliptic curve method, with support for P-1 and P+1 methods. It is a specialist number-theory tool built on GMP and used when practitioners need to search for medium-sized factors of large composites.

项目历史

The project originates with Paul Zimmermann, listed in the AUTHORS file as the author of the first version. The codebase later moved to INRIA GitLab, and the bundled README notes that the older README text predates that move.

Over time GMP-ECM accumulated both command-line and library interfaces. README.lib documents ecm_factor, ecm_init, and ecm_clear for applications linking against libecm, while the main README documents ecm as a stdin-driven factoring command using B1 and B2 bounds.

The NEWS file records long-running engineering work: new P-1 and P+1 stage 2 algorithms in the 6.2 series, GPL/LGPL licensing adjustment in 6.4.1, thread safety and GPU stage-1 code in 7.0, and portability fixes through the 7.0.7 release line.

采用历史

GMP-ECM is packaged across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE families in the batch metadata. That spread reflects its role as a reusable scientific computing component rather than a general desktop application.

The AUTHORS file shows contributions from number-theory and high-performance arithmetic specialists, including work on batch mode, GPU code, Visual C builds, expression parsing, primality testing tools, NTT code, and assembly optimizations.

使用方式

Practitioners feed one composite number per line to ecm and choose a stage-1 bound B1, with an optional B2. The README examples cover one-curve ECM runs, multiple curves with -c, P-1 with -pm1, P+1 with -pp1, save/resume workflows, and expression syntax such as powers and Fermat-number forms.

Library users include ecm.h and link against libecm to call ecm_factor from their own factoring software. That split lets package managers install both a CLI for interactive factor hunting and a library for larger systems.

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

GMP-ECM matters in packaging because it is the canonical small tool behind a very specific algorithmic niche. A distro package gives researchers and computational-number-theory users the same tuned implementation without rebuilding GMP-linked arithmetic code by hand.

Its history is also a reminder that scientific packages often expose both an executable and a library ABI; the package is not merely an end-user command but part of the factoring stack used by other tools.

时间线

  • 2008: Stage 2 improvements for P-1 and P+1 described in the ANTS-VIII paper referenced by NEWS.
  • 2012: Version 6.4.1 licensing changed to GPL-3-or-later for the binary and LGPL-3-or-later for the library.
  • 2020: Public INRIA GitLab project created after earlier hosting.
  • 2026: Version 7.0.7 tag committed with MacOS fixes and mmap batch-data support.

Related projects

  • GMP supplies the multiprecision arithmetic foundation.
  • P-1, P+1, MPQS, and NFS are related factoring methods discussed in the README's guidance.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本7.0.7
管理器更新时间2026-06-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://gitlab.inria.fr/zimmerma/ecm

安装元数据

软件包元数据

软件包键brew:gmp-ecm
版本7.0.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gmp-ecm
主页https://gitlab.inria.fr/zimmerma/ecm
仓库https://gitlab.inria.fr/zimmerma/ecm
上游文档https://gitlab.inria.fr/zimmerma/ecm
许可证GPL-3.0-or-later AND LGPL-3.0-or-later
源码归档https://gitlab.inria.fr/zimmerma/ecm/-/archive/git-7.0.7/ecm-git-7.0.7.tar.gz
最后更新2026-06-07T12:56:09Z
Pulseupdated
依赖gmp, libomp, primesieve
构建依赖autoconf, automake, libtool
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gmp-ecm 7.0.6+ds-1

Factor integers using the Elliptic Curve Method

https://gitlab.inria.fr/zimmerma/ecm

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

libecm-dev 7.0.6+ds-1

dummy package

https://gitlab.inria.fr/zimmerma/ecm

sudo apt install libecm-dev
  • Section: libdevel
  • Architecture: all
  • Source Package: gmp-ecm
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libecm1 7.0.6+ds-1

factor integers using the Elliptic Curve Method -- lib

https://gitlab.inria.fr/zimmerma/ecm

sudo apt install libecm1
  • Section: libs
  • Architecture: amd64
  • Source Package: gmp-ecm
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecm1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libecm1-dev 7.0.6+ds-1

factor integers using the Elliptic Curve Method -- libdev

https://gitlab.inria.fr/zimmerma/ecm

sudo apt install libecm1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gmp-ecm
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libecm1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libecm1-dev-common 7.0.6+ds-1

factor integers using the Elliptic Curve Method -- header

https://gitlab.inria.fr/zimmerma/ecm

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

gmp-ecm 7.0.5+ds-1build1

Factor integers using the Elliptic Curve Method

https://gitlab.inria.fr/zimmerma/ecm

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

libecm-dev 7.0.5+ds-1build1

dummy package

https://gitlab.inria.fr/zimmerma/ecm

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

libecm1 7.0.5+ds-1build1

factor integers using the Elliptic Curve Method -- lib

https://gitlab.inria.fr/zimmerma/ecm

sudo apt install libecm1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gmp-ecm
  • 2 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libecm1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libecm1-dev 7.0.5+ds-1build1

factor integers using the Elliptic Curve Method -- libdev

https://gitlab.inria.fr/zimmerma/ecm

sudo apt install libecm1-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gmp-ecm
  • 3 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libecm1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libecm1-dev-common 7.0.5+ds-1build1

factor integers using the Elliptic Curve Method -- header

https://gitlab.inria.fr/zimmerma/ecm

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

gmp-ecm 7.0.7-1.fc45

Elliptic Curve Method for Integer Factorization

https://gitlab.inria.fr/zimmerma/ecm

sudo dnf install gmp-ecm
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gmp-ecm
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gmp Ecm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gmp-ecm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gmp-ecm-devel 7.0.7-1.fc45

Files useful for gmp-ecm development

https://gitlab.inria.fr/zimmerma/ecm

sudo dnf install gmp-ecm-devel
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gmp-ecm
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gmp Ecm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gmp-ecm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gmp-ecm-libs 7.0.7-1.fc45

Elliptic Curve Method library

https://gitlab.inria.fr/zimmerma/ecm

sudo dnf install gmp-ecm-libs
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gmp-ecm
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gmp Ecm
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gmp-ecm-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gmp-ecm 7.0.7-2

Elliptic Curve Method for Integer Factorization

https://github.com/sethtroisi/gmp-ecm

sudo pacman -S gmp-ecm
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later
  • Architecture: x86_64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Gmp Ecm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gmp-ecm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gmp-ecm 7.0.5-1.10

Elliptic Curve Method for Integer Factorization

https://gitlab.inria.fr/zimmerma/ecm

sudo zypper install gmp-ecm
  • License: GPL-3.0-only
  • Category: Productivity/Scientific/Math
  • Architecture: x86_64
  • Source Package: gmp-ecm
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gmp Ecm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gmp-ecm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gmp-ecm-devel 7.0.5-1.10

Development files for the gmp-ecm package

https://gitlab.inria.fr/zimmerma/ecm

sudo zypper install gmp-ecm-devel
  • License: GPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: gmp-ecm
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gmp Ecm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gmp-ecm-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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