OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

bc-gh-7.1.0p0

implementation of POSIX bc with GNU and BSD extensions

Back to search · Project homepage

Description

This is an implementation of the POSIX bc calculator that implements GNU bc extensions as well as the period (.) extension from the BSD flavor of bc. This bc also includes an implementation of dc in the same binary, accessible via a symbolic link, which implements all *BSD and GNU extensions, though the ! command is omitted for security concerns.

Package information

Ports path
math/bc-gh
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
math
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Installing and updating packages · Package details as JSON