How to perform calculation in Linux using qalc command?

Qalculate is a multi-purpose cross-platform desktop calculator. It is simple to use but provides power and versatility normally reserved for complicated math packages, as well as useful tools for everyday needs (such as currency conversion and percent calculation).

Features include a large library of customizable functions, unit calculations and conversion, symbolic calculations (including integrals and equations), arbitrary precision, uncertainty propagation, interval arithmetic, plotting, and a user-friendly interface (GTK+ and CLI).

For Fedora system, use DNF Command to install qalc.

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

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

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

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

$ sudo zypper install libqalculate
qalc command to perform Calculation
I have added few examples on this.

$ qalc

5+1

5 + 1 = 6

ans*2

ans * 2 = 12

ans-2

ans – 2 = 10

1 USD to INR
It has been 36 day(s) since the exchange rates last were updated.
Do you wish to update the exchange rates now? y

error: Failed to download exchange rates from coinbase.com: Resolving timed out after 15000 milliseconds.
1 * dollar = approx. INR 69.638581

10 USD to INR

10 * dollar = approx. INR 696.38581

quit

Leave a Reply

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