How To Install Calc?

How To Install Calc?

calc

An interactive arbitrary-precision calculator on the terminal.

Maintainer: Martin Buck



Section: math

Install calc

  • Debian apt-get install apcalc Click to copy
  • Ubuntu apt-get install apcalc Click to copy
  • Arch Linux pacman -S calc Click to copy
  • Kali Linux apt-get install apcalc Click to copy
  • Fedora dnf install calc Click to copy
  • Raspbian apt-get install apcalc Click to copy
  • macOS brew install calc Click to copy

An interactive arbitrary-precision calculator on the terminal.

How to use calc?

Below are few example commands for calc that you can use in the terminal.

Start calc in interactive mode:
calcClick to copy
Perform a calculation in non-interactive mode:
calc -p '85 * (36 / 4)'Click to copy
Install the latest version of calc in Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the calc just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of calc from the respository and install it in your computer/server.