< Home - < Back

tcalc


Information about the package, tcalc, which is shipped with common Linux distributions. The tcalc package is designed for, The terminal calculator.


Package Name:

tcalc

Summary:

The terminal calculator

Description:

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.

Architecture:

x86_64

Version:

2.1

Release:

1.el6

Size:

55 k

Repository:

epel

From Repository:

Licence:

GPLv3+



Handy Yum Commands for tcalc


Control the tcalc package with the following handy commands outlined below.


Command

Description of Command

yum install tcalc

This command will install tcalc on the server.

yum remove tcalc

This command will un-install tcalc on the server. When you run this command, you will be asked if you are sure that you want to remove tcalc, so you have to manually confirm that you want to do this.

yum -y remove tcalc

This command will un-install tcalc on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove tcalc when using the -y flag.

yum update tcalc

This command will update tcalc to the latest version. When you run this command, you will be asked if you are sure that you want to remove tcalc, so you have to manually confirm that you want to do this.

yum -y update tcalc

This command will update tcalc to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove tcalc when using the -y flag.

yum info tcalc

This command will show you core information about the tcalc package.

yum deplist tcalc

This command will show you the dependencies for tcalc. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update tcalc

This command will check if there is an update waiting on tcalc. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.