Information about the package, bc, which is shipped with common Linux distributions. The bc package is designed for, GNU's bc (a numeric processing language) and dc (a calculator).
Package Name:
bc
Summary:
GNU's bc (a numeric processing language) and dc (a calculator)
Description:
The bc package includes bc and dc. Bc is an arbitrary precision numeric processing arithmetic language. Dc is an interactive arbitrary precision stack based calculator, which can be used as a text mode calculator. Install the bc package if you need its number handling capabilities or if you would like to use its text mode calculator.
Architecture:
x86_64
Version:
1.06.95
Release:
1.el6
Size:
110 k
Repository:
base
From Repository:
Licence:
GPLv2+
Control the bc package with the following handy commands outlined below.
yum install bc
This command will install bc on the server.
yum remove bc
This command will un-install bc on the server. When you run this command, you will be asked if you are sure that you want to remove bc, so you have to manually confirm that you want to do this.
yum -y remove bc
This command will un-install bc on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove bc when using the -y flag.
yum update bc
This command will update bc to the latest version. When you run this command, you will be asked if you are sure that you want to remove bc, so you have to manually confirm that you want to do this.
yum -y update bc
This command will update bc to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove bc when using the -y flag.
yum info bc
This command will show you core information about the bc package.
yum deplist bc
This command will show you the dependencies for bc. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update bc
This command will check if there is an update waiting on bc. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.