Automic VaultAutomic Vault

brew

Install bcal with Homebrew, apt, dnf, Nix, zypper

Storage conversion and expression calculator. Version 2.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bcal

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install bcal

Debian stable package indexes · bcal · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install bcal

Fedora Rawhide package metadata · bcal · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#bcal

nixpkgs package indexes · pkgs/by-name/bc/bcal/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install bcal

openSUSE Tumbleweed package metadata · bcal · source: download.opensuse.org

overview

Package summary

Storage conversion and expression calculator

Commands and aliases

  • bcal

history

Project history and usage

bcal is a small C command-line calculator aimed at people who think in bytes, sectors, addresses, and binary prefixes.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: GitHub repository created.
  • 2018: README-linked asciinema demo published.
  • 2020s: Packaged in Homebrew and several Linux distributions.

Related projects

  • bc and dc cover general arbitrary-precision calculation but not bcal's storage-unit and disk-addressing workflow.
  • disk utilities, hex calculators, and filesystem debugging tools overlap with bcal's audience.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bcalcliglobal executable

freshness

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

page generated2026-07-08
manager version2.5
manager updated
local dataok
upstreamcurrent
latest detectedv2.5

https://github.com/jarun/bcal

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bcal
Version2.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bcal
Homepagehttps://github.com/jarun/bcal
Repositoryhttps://github.com/jarun/bcal
Upstream docshttps://github.com/jarun/bcal#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/jarun/bcal/archive/refs/tags/v2.5.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebcal
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

bcal 2.4-2+b1

Command-line utility for storage conversions and calculations

https://github.com/jarun/bcal

sudo apt install bcal
  • Section: misc
  • Architecture: amd64
  • Source Package: bcal
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Bcal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bcal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bcal

nix profile install nixpkgs#bcal
  • normalized package name match
  • Matched by: Bcal
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bc/bcal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bcal 2.4-2

Command-line utility for storage conversions and calculations

https://github.com/jarun/bcal

sudo apt install bcal
  • Section: universe/misc
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Bcal
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bcal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bcal 2.5-1.fc45

Storage conversion and expression calculator

https://github.com/jarun/bcal

sudo dnf install bcal
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bcal
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bcal
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bcal from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

bcal 2.4-2.3

Command-line utility for storage conversions and calculations

http://www.github.com/jarun/bcal

sudo zypper install bcal
  • License: GPL-3.0-only
  • Category: Productivity/Scientific/Math
  • Architecture: x86_64
  • Source Package: bcal
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bcal
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bcal from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment