macOS
brew install bcallocal Homebrew formula metadata
安装
brew install bcallocal Homebrew formula metadata
sudo dnf install bcalFedora Rawhide package metadata · bcal · 来源: dl.fedoraproject.org
nix profile install nixpkgs#bcalnixpkgs package indexes · pkgs/by-name/bc/bcal/package.nix · 来源: api.github.com
sudo zypper install bcalopenSUSE Tumbleweed package metadata · bcal · 来源: download.opensuse.org
概览
Storage conversion and expression calculator
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bcal | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:bcal |
|---|---|
| 版本 | 2.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/bcal |
| 主页 | https://github.com/jarun/bcal |
| 仓库 | https://github.com/jarun/bcal |
| 上游文档 | https://github.com/jarun/bcal#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/jarun/bcal/archive/refs/tags/v2.5.tar.gz |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 bcal来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.