[Solved] Error: Command line calculator ‘bc’ not found!

I got an error related to “bc” the command-line calculator while executing the MySQL tuning script. The fix was also simple 🙂

Error details

Error: Command line calculator 'bc' not found!

The “bc” is the command-line calculator for Linux. You can simply do calculations through your command-line. See some example here:

bc <<< 10*25
250
bc <<< 10-25
-15

Solution

The solution is quite simple, install the utility ‘bc’ using YUM

yum install bc

That’s it 🙂

 

Related Links:
How to install GCC (GNU C / C++) compiler – Unix/Linux
[Solved] Memory error with YUM

Arunlal Ashok

Sr. Linux Server Administrator. I'm managing Linux servers since 2012. I started this blog to share and discuss my ideas. Check My Profile in uPwork (oDesk) and create a job, if you need any administration help. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *