bc - GNU Command Line Calculator

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename bc-1.07.1-2.1.i586.rpm
Package name bc
Package version 1.07.1
Package release 2.1
Package architecture i586
Package type rpm
Category Productivity/Scientific/Math
Homepage https://www.gnu.org/software/bc/
License GPL-2.0-or-later
Maintainer -
Download size 129.66 KB
Installed size 291.46 KB
bc is an interpreter that supports numbers of arbitrary precision and
the interactive execution of statements. The syntax has some
similarities to the C programming language. A standard math library is
available through command line options. When used, the math library is
read in before any other input files. bc then reads in all other files
from the command line, evaluating their contents. Then bc reads from
standard input (usually the keyboard).
The dc program is also included. dc is a calculator that supports
reverse-polish notation and allows unlimited precision arithmetic.
Macros can also be defined. Normally, dc reads from standard input but
can also read in files specified on the command line. A calculator with
reverse-polish notation saves numbers to a stack. Arguments to
mathematical operations (operands) are "pushed" onto the stack until
the next operator is read in, which "pops" its arguments off the stack
and "pushes" its results back onto the stack.


Package Version Architecture Repository
bc-1.07.1-2.1.x86_64.rpm 1.07.1 x86_64 openSUSE Oss
bc - - -


Name Value
info -
libc.so.6(GLIBC_2.4) -
libreadline.so.8 -


Name Value
bc = 1.07.1-2.1
bc(x86-32) = 1.07.1-2.1


Type URL
Mirror widehat.opensuse.org
Binary Package bc-1.07.1-2.1.i586.rpm
Source Package bc-1.07.1-2.1.src.rpm

Install Howto

Install bc rpm package:

# zypper install bc




2019-03-13 - pgajdos@suse.com
- added patches
Correct return value after 'q' [bsc#1129038]
+ bc-dc-correct-return-value.patch
2017-04-10 - mpluskal@suse.com
- Update to version 1.07.1:
* Fixed ibase extension causing problems for read()
* Fixed parallel make problem.
* Fixed dc "Q" comanmd bug.
- Changes for version 1.07:
* Added void functions.
* fixes bug in load_code introduced by mathlib string storage in 1.06.
* fix to get long options working.
* signal code clean-up.
* fixed a bug in the AVL tree routines.
* fixed math library to work properly when called with ibase not 10.
* fixed a symbol table bug when using more than 32 names.
* removed a double free.
* Added base 17 to 36 for ibase.
* Fixed some memory leaks.
* Various small tweaks and doc bug fixes.
- Drop no longer needed patches:
* bc-1.06.95-memleak.patch
* bc-1.06.95-matlib.patch
* bc-1.06.95-sigintmasking.patch
- Refresh bc-1.06-dc_ibase.patch
- Add gpg signature
2015-03-16 - mpluskal@suse.com
- Update url
- Correct info files scriplets and dependencies
2014-11-28 - tchvatal@suse.com
- Clean up with spec-cleaner
- Add ncurses-devel as it is inherited from readline
- Explicitely pass without-libedit if we decide to switch for
it at some point
2012-09-17 - idonmez@suse.com
- Add BuildRequires on makeinfo to fix Factory build
2012-05-31 - sweet_f_a@gmx.de
- update to upstream alpha 1.06.95 (2006-09-05), in use in other
major distros for quite a long time (Debian, Fedora, Ubuntu, ...)
- add patches from Fedora
- automake dependency removed
2011-11-30 - coolo@suse.com
- add automake as buildrequire to avoid implicit dependency
2007-12-27 - schwab@suse.de
- Fix last change.
- Fix detection of empty opt_expression in the parser.
2007-06-12 - pgajdos@suse.cz
- repared acceptance of some long commandline options
2007-03-29 - rguenther@suse.de
- add flex BuildRequires

See Also

Package Description
bcache-tools-1.0.9-1.2.i586.rpm Configuration utilities for bcache
bcache-tools-1.0.9-1.2.x86_64.rpm Configuration utilities for bcache
bcal-2.1-2.1.x86_64.rpm Command-line utility for storage conversions and calculations
bcc-devel-0.9.0-2.1.i586.rpm Header files for the BPF Compiler Collection
bcc-devel-0.9.0-2.1.x86_64.rpm Header files for the BPF Compiler Collection
bcc-docs-0.9.0-2.1.i586.rpm BPF Compiler Collection documentation
bcc-docs-0.9.0-2.1.x86_64.rpm BPF Compiler Collection documentation
bcc-examples-0.9.0-2.1.i586.rpm Examples from the BPF Compiler Collection
bcc-examples-0.9.0-2.1.x86_64.rpm Examples from the BPF Compiler Collection
bcc-lua-0.9.0-2.1.i586.rpm Lua interpreter for the BPF Compiler Collection
bcc-lua-0.9.0-2.1.x86_64.rpm Lua interpreter for the BPF Compiler Collection
bcc-tools-0.9.0-2.1.i586.rpm Tracing tools from the BPF Compiler Collection
bcc-tools-0.9.0-2.1.x86_64.rpm Tracing tools from the BPF Compiler Collection
bcel-5.2-36.1.noarch.rpm Byte Code Engineering Library
bcel5_3-5.3-20.2.noarch.rpm Byte Code Engineering Library