# w-calc を Homebrew, apt, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:w-calc
```

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

### macOS

- Homebrew (100%):

```sh
brew install w-calc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wcalc
```

  証拠: MacPorts ports tree: science/wcalc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install wcalc
```

  証拠: Debian stable package indexes: wcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#wcalc
```

  証拠: nixpkgs package indexes: pkgs/by-name/wc/wcalc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:w-calc
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.5
- **ソース概要:** Very capable calculator
- **ホームページ:** <https://w-calc.sourceforge.net/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- wcalc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.5
## プロジェクトの歴史と使われ方

Wcalc is a small command-line scientific calculator focused on natural mathematical expressions, arbitrary precision, constants, variables, command history, base conversion, and unit conversion.

### プロジェクトの歴史

The Wcalc SourceForge project was registered in October 2002 and presents the program as a powerful arbitrary-precision calculator. Its project page identifies the main interface as command-line software written in C and distributed under GPLv2.

### 採用の歴史

Wcalc's adoption is modest but long-lived: its latest 2.5 source archives are still distributed from SourceForge, and Unix-like package ecosystems continue to carry it as a compact calculator for shell users.

### 使われ方

It is used where a terminal calculator is more convenient than a desktop calculator or a full computer-algebra system: quick scientific expressions, reusable variables, common constants, history-driven interactive work, and hexadecimal, octal, or binary input and output.

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

For package maintainers, w-calc is one of those small utilities that survives because it has a crisp Unix shape: one executable, text I/O, arbitrary precision through standard math libraries, and enough expression syntax to be useful in scripts or interactive shells.

### タイムライン

- 2002: The Wcalc SourceForge project was registered.
- 2015: The Wcalc 2.5 release archives and README were published on SourceForge.
- 2020s: The project remains available as a packaged command-line calculator on Unix-like systems.

### Related projects

- Related tools in the same niche include bc, dc, calc, and GUI scientific calculators, but Wcalc's package identity is the lightweight expression-oriented CLI.

### ソース

- <https://sourceforge.net/projects/w-calc/>
- <https://sourceforge.net/projects/w-calc/files/Wcalc/2.5/>
- <https://w-calc.sourceforge.net/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- MacPorts - wcalc: installed executable or alias match | MacPorts ports tree: science/wcalc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - wcalc - 2.5-3+b2: installed executable or alias match | Debian stable package indexes: wcalc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Flexible command-line scientific calculator | http://w-calc.sourceforge.net/
- Nix - wcalc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/wc/wcalc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - wcalc - 2.5-3build3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: wcalc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Flexible command-line scientific calculator | http://w-calc.sourceforge.net/


## Combined YAML source

View the package source record on GitHub. [combined/w-calc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/w-calc.yml)


## ソース

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