Automic VaultAutomic Vault

brew

Install cln with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget

Class Library for Numbers. Version 1.3.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cln

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cln

MacPorts ports tree · math/cln/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add cln

Alpine Linux edge package indexes · cln · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libcln-dev

Debian stable package indexes · libcln-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cln

Fedora Rawhide package metadata · cln · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#cln

nixpkgs package indexes · pkgs/by-name/cl/cln/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cln

Arch Linux sync databases · cln · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install cln

openSUSE Tumbleweed package metadata · cln · source: download.opensuse.org

Windows

Windows Package Managerverified · 92%
winget install --id EarendilWorks.pi -e

Windows Package Manager source index · EarendilWorks.pi · source: cdn.winget.microsoft.com

overview

Package summary

Class Library for Numbers

Commands and aliases

  • pi

history

Project history and usage

CLN, the Class Library for Numbers, is a C++ library for arbitrary-precision integers, rationals, floats, complex numbers, modular integers, and univariate polynomials.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1988: Manual copyright history begins with Bruno Haible's work.
  • 1999: CLN 1.0 released.
  • 2000: CLN 1.1.0 moves identifiers into namespace `cln` and relies on installed GMP.
  • 2008: CLN 1.2.0 adds huge-number support and C++ exceptions.
  • 2009: CLN 1.3.0 switches to GNU autotools.
  • 2019: CLN 1.3.5 adds build support for 64-bit MinGW, Elbrus 2000, RISC-V64, and MIPS release 6.
  • 2024: CLN 1.3.7 adds LoongArch support and ARM compilation fixes.
  • 2026: Official Codeberg repository metadata is created for ginac/cln.

Related projects

  • Related projects include GiNaC, GNU GMP, Common Lisp numeric systems, LiDIA, and mathematical C++ software that needs arbitrary-precision arithmetic.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for cln. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
picliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.3.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.ginac.de/CLN/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.ginac.de/CLN/none confidence

install metadata

Package metadata

Package keybrew:cln
Version1.3.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cln
Homepagehttps://www.ginac.de/CLN/
Repositoryhttps://codeberg.org/ginac/cln
Upstream docshttps://www.ginac.de/CLN/cln.html
LicenseGPL-2.0-or-later
Source archivehttps://www.ginac.de/CLN/cln-1.3.7.tar.bz2
Dependenciesgmp
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libcln-dev 1.3.7-1+b1

Development library for Class Library for Numbers (c++)

http://www.ginac.de/CLN/

sudo apt install libcln-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cln
  • 2 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Cln
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcln-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcln6 1.3.7-1+b1

Class Library for Numbers (C++)

http://www.ginac.de/CLN/

sudo apt install libcln6
  • Section: libs
  • Architecture: amd64
  • Source Package: cln
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Cln
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcln6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pi 1.3.7-1+b1

Compute Archimedes' constant Pi to arbitrary precision

http://www.ginac.de/CLN/

sudo apt install pi
  • Section: math
  • Architecture: amd64
  • Source Package: cln
  • 4 dependencies
  • normalized package name match
  • Matched by: Cln
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cln

nix profile install nixpkgs#cln
  • normalized package name match
  • Matched by: Cln
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/cln/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcln-dev 1.3.7-1

Development library for Class Library for Numbers (c++)

http://www.ginac.de/CLN/

sudo apt install libcln-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: cln
  • 2 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Cln
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcln-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcln6 1.3.7-1

Class Library for Numbers (C++)

http://www.ginac.de/CLN/

sudo apt install libcln6
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: cln
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Cln
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcln6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

pi 1.3.7-1

Compute Archimedes' constant Pi to arbitrary precision

http://www.ginac.de/CLN/

sudo apt install pi
  • Section: universe/math
  • Architecture: amd64
  • Source Package: cln
  • 4 dependencies
  • normalized package name match
  • Matched by: Cln
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cln 1.3.7-r2

C++ class library for numbers

https://www.ginac.de/CLN/

sudo apk add cln
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: cln
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cln
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cln from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cln-dev 1.3.7-r2

C++ class library for numbers (development files)

https://www.ginac.de/CLN/

sudo apk add cln-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: cln
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cln
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cln-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cln-doc 1.3.7-r2

C++ class library for numbers (documentation)

https://www.ginac.de/CLN/

sudo apk add cln-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: cln
  • normalized package name match
  • Matched by: Cln
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cln-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cln 1.3.6-10.fc44

Class Library for Numbers

http://www.ginac.de/CLN/

sudo dnf install cln
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cln
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Cln
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cln from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

cln-devel 1.3.6-10.fc44

Development files for programs using the CLN library

http://www.ginac.de/CLN/

sudo dnf install cln-devel
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cln
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Cln
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cln-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cln 1.3.7-3

Class library for numbers

https://www.ginac.de/CLN/

sudo pacman -S cln
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 4 dependencies
  • normalized package name match
  • Matched by: Cln
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cln from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

cln 1.3.7-1.7

Class Library for Numbers (C++)

https://www.ginac.de/CLN/

sudo zypper install cln
  • License: GPL-2.0-or-later
  • Category: Productivity/Scientific/Math
  • Architecture: x86_64
  • Source Package: cln
  • 7 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Cln
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cln from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

cln-devel 1.3.7-1.7

Class Library for Numbers (C++)

https://www.ginac.de/CLN/

sudo zypper install cln-devel
  • License: GPL-2.0-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: cln
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Cln
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cln-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

cln

sudo port install cln
  • normalized package name match
  • Matched by: Cln
MacPorts ports tree · api.github.com · MacPorts ports tree: math/cln/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment