macOS
brew install bcallocal Homebrew formula metadata
brew
Storage conversion and expression calculator. Version 2.5 via Homebrew; verified from local package data.
install
brew install bcallocal Homebrew formula metadata
sudo apt install bcalDebian stable package indexes · bcal · source: deb.debian.org
sudo dnf install bcalFedora Rawhide package metadata · bcal · source: dl.fedoraproject.org
nix profile install nixpkgs#bcalnixpkgs package indexes · pkgs/by-name/bc/bcal/package.nix · source: api.github.com
sudo zypper install bcalopenSUSE Tumbleweed package metadata · bcal · source: download.opensuse.org
overview
Storage conversion and expression calculator
history
bcal is a small C command-line calculator aimed at people who think in bytes, sectors, addresses, and binary prefixes.
The upstream GitHub repository was created in 2016. Its README describes bcal, the Byte CALculator, as a REPL and single-shot CLI for storage expressions, SI/IEC conversion, byte address calculation, base conversion, and CHS/LBA calculations.
The project keeps dependencies modest: standard libc plus GNU Readline or BSD Editline, with a no-readline build option that uses its own prompt and history-file support.
bcal is packaged beyond Homebrew, including Debian, Fedora, Nix, Ubuntu, and openSUSE-family package sets in the supplied package-manager facts. Its README points users to package-manager installation first and shows Repology packaging status.
Users run bcal as an interactive storage calculator, pass quoted expressions for one-shot evaluation, convert between decimal, hexadecimal, binary, SI, and IEC units, or calculate disk CHS/LBA values.
When built without Readline, its history file is stored under $XDG_CONFIG_HOME/bcal/history or $HOME/.config/bcal/history.
bcal is the kind of niche CLI package that saves repeated mental arithmetic for storage engineers, filesystem debuggers, firmware people, and anyone reading sector offsets in hex.
Its significance is not ecosystem scale but fit: it packages a cluster of byte-addressing calculations that general calculators rarely make pleasant.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bcal | cli | global executable |
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.
install metadata
| Package key | brew:bcal |
|---|---|
| Version | 2.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bcal |
| Homepage | https://github.com/jarun/bcal |
| Repository | https://github.com/jarun/bcal |
| Upstream docs | https://github.com/jarun/bcal#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/jarun/bcal/archive/refs/tags/v2.5.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bcal |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bcal 2.4-2+b1
Command-line utility for storage conversions and calculations
sudo apt install bcalbcal
nix profile install nixpkgs#bcalbcal 2.4-2
Command-line utility for storage conversions and calculations
sudo apt install bcalbcal 2.5-1.fc45
Storage conversion and expression calculator
sudo dnf install bcalbcal 2.4-2.3
Command-line utility for storage conversions and calculations
http://www.github.com/jarun/bcal
sudo zypper install bcalsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.