8.13. Bc-6.7.5

The Bc package contains an arbitrary precision numeric processing language.

Approximate build time: less than 0.1 SBU
Required disk space: 7.8 MB

8.13.1. Installation of Bc

Prepare Bc for compilation:

CC=gcc ./configure --prefix=/usr -G -O3 -r

The meaning of the configure options:


This parameter specifies the compiler to use.


Omit parts of the test suite that won't work until the bc program has been installed.


Specify the optimization to use.


Enable the use of Readline to improve the line editing feature of bc.

Compile the package:


To test bc, run:

make test

Install the package:

make install

8.13.2. Contents of Bc

Installed programs: bc and dc

Short Descriptions


A command line calculator


A reverse-polish command line calculator