wcalc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wcalc: command not found
or when using sudo you get the following error message
sudo: wcalc: command not found
Solutions to wcalc: command not found
How To Fix wcalc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wcalc is provided by wcalc package.
wcalc is:
Wcalc is a very capable calculator. It has standard functions (sin, asin, and sinh for example, in either radians or degrees), many pre-defined constants (pi, e, c, etc.), support for using variables, “active” variables, a command history, hex/octal/binary input and output, unit conversions, embedded comments, and an expandable expression entry field. It evaluates expressions using the standard order of operations.
Wcalc uses intuitive expressions. For example, Wcalc will evaluate: 5sin 4!-7*2(4%6)^2 to be -221.96631678
To fix this problem, we can install more using the command below.
sudo apt-get -y install wcalc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wcalc.
sudo apt -y install wcalc
Or if you have aptitude installed you can use the following command.
sudo aptitude install wcalc
Summary
In this tutorial we learn how to fix wcalc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.