# cln mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cln in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:cln
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install cln
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cln
```

  Evidenz: MacPorts ports tree: math/cln/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cln
```

  Evidenz: Alpine Linux edge package indexes: cln from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libcln-dev
```

  Evidenz: Debian stable package indexes: libcln-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cln
```

  Evidenz: Fedora Rawhide package metadata: cln from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cln
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/cl/cln/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cln
```

  Evidenz: Arch Linux sync databases: cln from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cln
```

  Evidenz: openSUSE Tumbleweed package metadata: cln from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id EarendilWorks.pi -e
```

  Evidenz: Windows Package Manager source index: EarendilWorks.pi from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:cln
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/cln>
- **Version:** 1.3.7
- **Quellzusammenfassung:** Class Library for Numbers
- **Homepage:** <https://www.ginac.de/CLN/>
- **Repository:** <https://codeberg.org/ginac/cln>
- **Upstream-Dokumentation:** <https://www.ginac.de/CLN/cln.html>
- **Lizenz:** GPL-2.0-or-later
- **Quellarchiv:** <https://www.ginac.de/CLN/cln-1.3.7.tar.bz2>
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- pi (cli)
- pi (Alias)

## Abhängigkeiten

- gmp

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.3.7
- lokale Daten: OK
- Upstream-Repository: https://www.ginac.de/CLN/
- Info: No package-manager update timestamp was available.
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

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

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://www.ginac.de/CLN/>
- <https://www.ginac.de/CLN/cln.html>
- <https://codeberg.org/ginac/cln>
- <https://codeberg.org/ginac/cln/src/branch/master/NEWS>
- <https://www.ginac.de/>


## Sicherheitshinweise

Für cln wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

- **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:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - libcln-dev - 1.3.7-1+b1: normalized package name match | Debian stable package indexes: libcln-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development library for Class Library for Numbers (c++) | http://www.ginac.de/CLN/
- Debian apt - libcln6 - 1.3.7-1+b1: normalized package name match | Debian stable package indexes: libcln6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Class Library for Numbers (C++) | http://www.ginac.de/CLN/
- Debian apt - pi - 1.3.7-1+b1: normalized package name match | Debian stable package indexes: pi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Compute Archimedes' constant Pi to arbitrary precision | http://www.ginac.de/CLN/
- Nix - cln: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/cln/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcln-dev - 1.3.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcln-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development library for Class Library for Numbers (c++) | http://www.ginac.de/CLN/
- Ubuntu apt - libcln6 - 1.3.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcln6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Class Library for Numbers (C++) | http://www.ginac.de/CLN/
- Ubuntu apt - pi - 1.3.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: pi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Compute Archimedes' constant Pi to arbitrary precision | http://www.ginac.de/CLN/
- apk - cln - 1.3.7-r2: normalized package name match | Alpine Linux edge package indexes: cln from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ class library for numbers | https://www.ginac.de/CLN/
- apk - cln-dev - 1.3.7-r2: normalized package name match | Alpine Linux edge package indexes: cln-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ class library for numbers (development files) | https://www.ginac.de/CLN/
- apk - cln-doc - 1.3.7-r2: normalized package name match | Alpine Linux edge package indexes: cln-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C++ class library for numbers (documentation) | https://www.ginac.de/CLN/
- dnf - cln - 1.3.6-10.fc44: normalized package name match | Fedora Rawhide package metadata: cln from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Class Library for Numbers | http://www.ginac.de/CLN/
- dnf - cln-devel - 1.3.6-10.fc44: normalized package name match | 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 | Development files for programs using the CLN library | http://www.ginac.de/CLN/
- pacman - cln - 1.3.7-3: normalized package name match | Arch Linux sync databases: cln from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Class library for numbers | https://www.ginac.de/CLN/
- zypper - cln - 1.3.7-1.7: normalized package name match | openSUSE Tumbleweed package metadata: cln from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Class Library for Numbers (C++) | https://www.ginac.de/CLN/
- zypper - cln-devel - 1.3.7-1.7: normalized package name match | openSUSE Tumbleweed package metadata: cln-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Class Library for Numbers (C++) | https://www.ginac.de/CLN/
- MacPorts - cln: normalized package name match | MacPorts ports tree: math/cln/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/de/pkg/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [ginac](https://www.automicvault.com/de/pkg/brew/ginac/) - Popular package that depends on this formula.
- [guile](https://www.automicvault.com/de/pkg/brew/guile/) - Local package facts share a topical domain. Shared terms: gmp.
- [mkvtoolnix](https://www.automicvault.com/de/pkg/brew/mkvtoolnix/) - Local package facts share a topical domain. Shared terms: gmp.

## Combined YAML source

View the package source record on GitHub. [combined/cln.yml](https://github.com/automic-vault/db/blob/main/combined/cln.yml)


## Quellen

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