# cln を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget でインストール

cln のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cln
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cln
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:cln
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cln>
- **バージョン:** 1.3.7
- **ソース概要:** Class Library for Numbers
- **ホームページ:** <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>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- pi (cli)
- pi (エイリアス)

## 依存関係

- gmp

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.3.7
- ローカルデータ: OK
- 上流リポジトリ: https://www.ginac.de/CLN/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

cln に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
