macOS
brew install clnlocal Homebrew formula metadata
安装
brew install clnlocal Homebrew formula metadata
sudo apk add clnAlpine Linux edge package indexes · cln · 来源: dl-cdn.alpinelinux.org
sudo apt install libcln-devDebian stable package indexes · libcln-dev · 来源: deb.debian.org
sudo dnf install clnFedora Rawhide package metadata · cln · 来源: dl.fedoraproject.org
nix profile install nixpkgs#clnnixpkgs package indexes · pkgs/by-name/cl/cln/package.nix · 来源: api.github.com
sudo pacman -S clnArch Linux sync databases · cln · 来源: geo.mirror.pkgbuild.com
sudo zypper install clnopenSUSE Tumbleweed package metadata · cln · 来源: download.opensuse.org
winget install --id EarendilWorks.pi -eWindows Package Manager source index · EarendilWorks.pi · 来源: cdn.winget.microsoft.com
概览
Class Library for Numbers
历史
CLN, the Class Library for Numbers, is a C++ library for arbitrary-precision integers, rationals, floats, complex numbers, modular integers, and univariate polynomials.
CLN was written by Bruno Haible and is maintained by Richard B. Kreckel. The manual copyright history reaches back to Haible's 1988 work, and the official NEWS file records public 1.0-era releases beginning in January 1999.
The library was designed around efficient numeric computation in C++: immediate small numbers, garbage collection, assembly kernels on selected CPUs, optional GMP low-level routines, Karatsuba multiplication, very-large-number algorithms, and binary splitting.
CLN is closely associated with GiNaC, whose website lists CLN as related software and whose symbolic-computation focus explains why an arbitrary-precision numeric substrate mattered. CLN's own manual notes that its numeric subtypes match Common Lisp number types, so CLN can serve Common Lisp implementations as well as C++ mathematical software.
The official CLN page points users to Debian, Fedora, openSUSE, and other distribution packages, while the batch input records packaging across Alpine, Homebrew, Debian/Ubuntu as `libcln-dev`, Fedora, MacPorts, Nix, Arch, Winget, and openSUSE.
Developers link CLN into C++ programs that need arbitrary-precision numeric types with algebraic operator syntax. The manual documents building with a C++11 compiler, optional GMP support, namespace `cln`, and integration hooks for memory allocation and exceptions.
The Homebrew package exposes the sample `pi` executable, but CLN's primary value is as a development library rather than an end-user CLI.
CLN matters to package maintainers because it is a compiled C++ numeric library with ABI, compiler, architecture, and GMP concerns. The NEWS history repeatedly calls out portability fixes for CPU architectures, GCC versions, MinGW, ARM, AArch64, MIPS64, RISC-V, LoongArch, and cross-compilation.
Its 1.1.0 move into namespace `cln`, separate headers, and dependence on installed GMP version 3 or newer are classic downstream packaging events: they changed include paths, source compatibility, and dependency expectations.
安全态势
没有找到 cln 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cln |
|---|---|
| 版本 | 1.3.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cln |
| 主页 | https://www.ginac.de/CLN/ |
| 仓库 | https://codeberg.org/ginac/cln |
| 上游文档 | https://www.ginac.de/CLN/cln.html |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://www.ginac.de/CLN/cln-1.3.7.tar.bz2 |
| 依赖 | gmp |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cln |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libcln-dev 1.3.7-1+b1
Development library for Class Library for Numbers (c++)
sudo apt install libcln-devlibcln6 1.3.7-1+b1
Class Library for Numbers (C++)
sudo apt install libcln6pi 1.3.7-1+b1
Compute Archimedes' constant Pi to arbitrary precision
sudo apt install picln
nix profile install nixpkgs#clnlibcln-dev 1.3.7-1
Development library for Class Library for Numbers (c++)
sudo apt install libcln-devlibcln6 1.3.7-1
Class Library for Numbers (C++)
sudo apt install libcln6pi 1.3.7-1
Compute Archimedes' constant Pi to arbitrary precision
sudo apt install picln 1.3.7-r2
C++ class library for numbers
sudo apk add clncln-dev 1.3.7-r2
C++ class library for numbers (development files)
sudo apk add cln-devcln-doc 1.3.7-r2
C++ class library for numbers (documentation)
sudo apk add cln-doccln 1.3.6-10.fc44
Class Library for Numbers
sudo dnf install clncln-devel 1.3.6-10.fc44
Development files for programs using the CLN library
sudo dnf install cln-develcln 1.3.7-3
Class library for numbers
sudo pacman -S clncln 1.3.7-1.7
Class Library for Numbers (C++)
sudo zypper install clncln-devel 1.3.7-1.7
Class Library for Numbers (C++)
sudo zypper install cln-develcln
sudo port install cln来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.