How To Install bc.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install bc.x86_64
on Amazon Linux 2.
What is bc.x86_64
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.
We can use yum
to install bc.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bc.x86_64.
Install bc.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install bc.x86_64
using yum
by running the following command:
sudo yum -y install bc.x86_64
How To Uninstall bc.x86_64 on Amazon Linux 2
To uninstall only the bc.x86_64
package we can use the following command:
sudo yum remove bc.x86_64
bc.x86_64 Package Contents on Amazon Linux 2
/usr/bin/bc
/usr/bin/dc
/usr/share/doc/bc-1.06.95
/usr/share/doc/bc-1.06.95/AUTHORS
/usr/share/doc/bc-1.06.95/COPYING
/usr/share/doc/bc-1.06.95/COPYING.LIB
/usr/share/doc/bc-1.06.95/Examples
/usr/share/doc/bc-1.06.95/Examples/ckbook.b
/usr/share/doc/bc-1.06.95/Examples/pi.b
/usr/share/doc/bc-1.06.95/Examples/primes.b
/usr/share/doc/bc-1.06.95/Examples/twins.b
/usr/share/doc/bc-1.06.95/FAQ
/usr/share/doc/bc-1.06.95/NEWS
/usr/share/doc/bc-1.06.95/README
/usr/share/info/bc.info.gz
/usr/share/info/dc.info.gz
/usr/share/man/man1/bc.1.gz
/usr/share/man/man1/dc.1.gz
References
Summary
In this tutorial we learn how to install bc.x86_64
on Amazon Linux 2 using yum.