How To Install tcalc on Fedora 36
Introduction
In this tutorial we learn how to install tcalc
on Fedora 36.
What is tcalc
The terminal calculator is a small and helpful program to help users of the GNU/Linux terminal do calculations simply and quickly. The formula to be calculated can be fed to tcalc through the command line. Alternatively, tcalc can be run with no formula and then the free mode is started, in which the calculator will wait for user input, do the necessary calculations and print out the result, and the cycle will repeat until the user enters ‘q’ or ‘quit’. Support for reading formulas from text files is under way. The calculator works with the decimal, hexadecimal, octal, and binary number systems. It automatically identifies hex numbers if entered with a preceding “0x” or “0X”, octal by preceding the number with a zero, binaries by preceding the number with ‘b’ and decimals by absence of all of the above. Alternatively, the user can indicate the type of input by setting the ‘format’ argument.
We can use yum
or dnf
to install tcalc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tcalc.
Install tcalc on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install tcalc
using dnf
by running the following command:
sudo dnf -y install tcalc
Install tcalc on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install tcalc
using yum
by running the following command:
sudo yum -y install tcalc
How To Uninstall tcalc on Fedora 36
To uninstall only the tcalc
package we can use the following command:
sudo dnf remove tcalc
tcalc Package Contents on Fedora 36
/usr/bin/tcalc
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/9b4ea8e1a2d6eb29c88239f7d955ebb270a951
/usr/share/doc/tcalc
/usr/share/doc/tcalc/AUTHORS
/usr/share/doc/tcalc/COPYING
/usr/share/doc/tcalc/ChangeLog
/usr/share/doc/tcalc/README
/usr/share/doc/tcalc/test
/usr/share/doc/tcalc/test2
/usr/share/info/tcalc.info.gz
/usr/share/man/man1/tcalc.1.gz
References
Summary
In this tutorial we learn how to install tcalc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).