How to Install and Uninstall bc Package on openSuSE Tumbleweed

Last updated: April 28,2024

1. Install "bc" package

Please follow the guidelines below to install bc on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install bc

2. Uninstall "bc" package

Please follow the instructions below to uninstall bc on openSuSE Tumbleweed:

$ sudo zypper remove bc

3. Information about the bc package on openSuSE Tumbleweed

Information for package bc:
---------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : bc
Version : 1.07.1-5.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 218.1 KiB
Installed : No
Status : not installed
Source package : bc-1.07.1-5.1.src
Upstream URL : https://www.gnu.org/software/bc/
Summary : GNU Command Line Calculator
Description :
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.