pkg.soopen package index

brew / 順位 2290

calc を Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install calc

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install calc

MacPorts ports tree · math/calc/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install calc

Debian stable package indexes · calc · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install calc

Fedora Rawhide package metadata · calc · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#calc

nixpkgs package indexes · pkgs/by-name/ca/calc/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S calc

Arch Linux sync databases · calc · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install calc

openSUSE Tumbleweed package metadata · calc · ソース: download.opensuse.org

概要

パッケージ概要

Arbitrary precision calculator

コマンドとエイリアス

  • calc

履歴

プロジェクトの歴史と使われ方

calc is a long-running arbitrary-precision calculator with an interactive shell, a C-like expression language, exact rational arithmetic, complex numbers, and programmable functions. Its package history is unusually old-school: a Unix mathematical tool maintained through tarballs, mirrors, distro packages, and now GitHub releases.

プロジェクトの歴史

The official author page says most of calc was written by David I. Bell, with source and releases maintained by Landon Curt Noll, and credits Ernest W. Bowen plus others for numerical and help-file improvements. It also notes that portions derived from earlier public-domain arbitrary-precision routines posted to the net around 1984, though little recognizable code remained.

The official README presents calc as an interactive calculator that can also execute a single command from the shell. It supports huge integer arithmetic, exact fractions, complex numbers, transcendental functions, variables, loops, and user-defined functions in a C-like language.

The current CHANGES file shows active maintenance into the 2020s, including XDG Base Directory support and a 2026 2.17.0.0 line that synchronizes changes from the newer 3.0 work while keeping a legacy branch for very old systems.

採用の歴史

calc has been packaged broadly across Unix-like systems because it fills the gap between simple desk calculators, `bc`, and larger computer algebra systems. The repository README gives install examples for yum, pacman, apt, dnf, Termux, and source builds, matching its presence in many package managers.

Its adoption is strongest among users who want scriptable exact arithmetic without pulling in a full CAS. Landon Curt Noll's pages also connect calc scripts to large-prime and astronomical interests, a good example of how small Unix math tools become personal research infrastructure.

使われ方

Users run `calc` interactively, pass an expression as a command-line argument, or write scripts in calc's C-like language. Typical package-manager usage is installing the binary and then relying on it for precise integer, rational, modular, complex, and high-precision floating calculations.

The tool supports startup configuration through `calcrc` paths, with recent release notes documenting XDG Base Directory adoption alongside the older `~/.calcrc` convention.

パッケージ好きにとっての重要性

calc matters to package nerds because it is a preserved lineage of pre-Git, pre-GitHub Unix numerics that still receives modern portability work. It is not just another calculator: it is a programmable arbitrary-precision environment small enough for base developer workflows.

It is also a reminder that package ecosystems carry historical software forward. The same package is at home in Debian, Fedora, Arch, Homebrew, MacPorts, Nix, Termux, and source tarballs, because the CLI contract has stayed useful for decades.

タイムライン

  • 1984: Earlier public-domain arbitrary-precision routines were posted to the net, later influencing calc's ancestry.
  • 1990s-2000s: calc circulated as source, binaries, and mirrored tarballs maintained by Landon Curt Noll.
  • 2022: Official calc web pages point users to GitHub releases and the GitHub source repository.
  • 2026: CHANGES documents calc 2.17.0.0 work, including C17 expectations, XDG Base Directory support, and a legacy branch for old systems.

Related projects

  • Related tools include `bc`, `dc`, GNU bc, PARI/GP, Python's decimal and fractions modules, Maxima, and small Unix math utilities. calc occupies the middle ground: scriptable and exact like `bc`, but with a richer C-like language and built-in math library.

セキュリティ状態

保護ツール対応はまだ見つかっていません

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

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
${XDG_CONFIG_HOME:-$HOME/.config}/calc/calcrc~/.calcrc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
calc実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.17.0.0
マネージャ更新日2026-06-22
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:calc
バージョン2.17.0.0
パッケージマネージャHomebrew
ホームページhttp://www.isthe.com/chongo/tech/comp/calc/
リポジトリhttps://github.com/lcn2/calc
最終更新2026-06-22T14:02:56-07:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

calc 2.15.1.0-1

Arbitrary precision calculator

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc
  • Section: math
  • Architecture: amd64
  • 4 依存関係
  • normalized package name match
  • 一致条件: Calc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: calc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

calc-common 2.15.1.0-1

Arbitrary precision calculator (common files)

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc-common
  • Section: math
  • Architecture: all
  • Source Package: calc
  • normalized package name match
  • 一致条件: Calc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: calc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

calc-dev 2.15.1.0-1

Library for arbitrary precision arithmetic

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: calc
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Calc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: calc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

calc

nix profile install nixpkgs#calc
  • normalized package name match
  • 一致条件: Calc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/calc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

calc 2.15.0.4-1build2

Arbitrary precision calculator

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc
  • Section: universe/math
  • Architecture: amd64
  • 4 依存関係
  • normalized package name match
  • 一致条件: Calc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: calc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

calc-common 2.15.0.4-1build2

Arbitrary precision calculator (common files)

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc-common
  • Section: universe/math
  • Architecture: all
  • Source Package: calc
  • normalized package name match
  • 一致条件: Calc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: calc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

calc-dev 2.15.0.4-1build2

Library for arbitrary precision arithmetic

http://www.isthe.com/chongo/tech/comp/calc/

sudo apt install calc-dev
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: calc
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Calc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: calc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

calc 2.16.1.2-2.fc45

Arbitrary precision arithmetic system and calculator

http://isthe.com/chongo/tech/comp/calc/

sudo dnf install calc
  • License: LGPL-2.1-only AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: calc
  • 5 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Calc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: calc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

calc-devel 2.16.1.2-2.fc45

Development files for the calc arithmetic system

http://isthe.com/chongo/tech/comp/calc/

sudo dnf install calc-devel
  • License: LGPL-2.1-only AND Unlicense
  • Category: Unspecified
  • Architecture: i686
  • Source Package: calc
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Calc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: calc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

calc-libs 2.16.1.2-2.fc45

Libraries for the calc arithmetic system

http://isthe.com/chongo/tech/comp/calc/

sudo dnf install calc-libs
  • License: LGPL-2.1-only AND Unlicense
  • Category: Unspecified
  • Architecture: i686
  • Source Package: calc
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Calc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: calc-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

calc-stdrc 2.16.1.2-2.fc45

Standard resource files the calc arithmetic system

http://isthe.com/chongo/tech/comp/calc/

sudo dnf install calc-stdrc
  • License: LGPL-2.1-only AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: calc
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Calc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: calc-stdrc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

calc 2.17.0.0-1

Arbitrary precision console calculator

https://github.com/lcn2/calc

sudo pacman -S calc
  • License: LGPL-2.1-only
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Calc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: calc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

calc 2.17.0.0-1.2

C-style arbitrary precision calculator

http://www.isthe.com/chongo/tech/comp/calc/index.html

sudo zypper install calc
  • License: LGPL-2.1-only
  • Category: Productivity/Scientific/Math
  • Architecture: x86_64
  • Source Package: calc
  • 6 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Calc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: calc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

calc-devel 2.17.0.0-1.2

Development files for libcalc

http://www.isthe.com/chongo/tech/comp/calc/index.html

sudo zypper install calc-devel
  • License: LGPL-2.1-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: calc
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Calc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: calc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libcalc2_17_0_0 2.17.0.0-1.2

Arbitrary precision math library

http://www.isthe.com/chongo/tech/comp/calc/index.html

sudo zypper install libcalc2_17_0_0
  • License: LGPL-2.1-only
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: calc
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Calc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcalc2_17_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

calc

sudo port install calc
  • normalized package name match
  • 一致条件: Calc
MacPorts ports tree · api.github.com · MacPorts ports tree: math/calc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation