How to perform calculation in Linux using calc command?

calc is an arbitrary precision calculator. It’s a simple calculator that allow us to perform all kind of calculation in Linux command line.

For Fedora system, use DNF Command to install calc.

$ sudo dnf install calc
For Debian/Ubuntu systems, use APT-GET Command or APT Command to install calc.

$ sudo apt install calc
For Arch Linux based systems, use Pacman Command to install calc.

$ sudo pacman -S calc
For RHEL/CentOS systems, use YUM Command to install calc.

$ sudo yum install calc
For openSUSE Leap system, use Zypper Command to install calc.

$ sudo zypper install calc

Leave a Reply

Your email address will not be published.