[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
bc <<< 10-25


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

Post navigation

Arunlal Ashok

Cloud Infrastructure / DevOps Engineer. I'm dealing Linux servers since 2012. I started this blog to share and discuss my ideas.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team CryBit.com

Leave a Reply

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