How To Install calc-stdrc on CentOS 8

calc-stdrc is Standard resource files the calc arithmetic system

Introduction

In this tutorial we learn how to install calc-stdrc on CentOS 8.

What is calc-stdrc

This package contains the standard calc resource files and several calc shell scripts. They serve as examples of the calc language and may also be useful in themselves.

We can use yum or dnf to install calc-stdrc on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install calc-stdrc.

Install calc-stdrc on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install calc-stdrc using dnf by running the following command:

sudo dnf -y install calc-stdrc

Install calc-stdrc on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install calc-stdrc using yum by running the following command:

sudo yum -y install calc-stdrc

How To Uninstall calc-stdrc on CentOS 8

To uninstall only the calc-stdrc package we can use the following command:

sudo dnf remove calc-stdrc

calc-stdrc Package Contents on CentOS 8

/usr/share/calc/alg_config.cal
/usr/share/calc/beer.cal
/usr/share/calc/bernoulli.cal
/usr/share/calc/bernpoly.cal
/usr/share/calc/bigprime.cal
/usr/share/calc/brentsolve.cal
/usr/share/calc/chi.cal
/usr/share/calc/chrem.cal
/usr/share/calc/constants.cal
/usr/share/calc/cscript
/usr/share/calc/cscript/4dsphere
/usr/share/calc/cscript/fproduct
/usr/share/calc/cscript/mersenne
/usr/share/calc/cscript/piforever
/usr/share/calc/cscript/plus
/usr/share/calc/cscript/powerterm
/usr/share/calc/cscript/simple
/usr/share/calc/cscript/square
/usr/share/calc/deg.cal
/usr/share/calc/dms.cal
/usr/share/calc/dotest.cal
/usr/share/calc/ellip.cal
/usr/share/calc/factorial.cal
/usr/share/calc/factorial2.cal
/usr/share/calc/gvec.cal
/usr/share/calc/hello.cal
/usr/share/calc/hms.cal
/usr/share/calc/infinities.cal
/usr/share/calc/intfile.cal
/usr/share/calc/intnum.cal
/usr/share/calc/lambertw.cal
/usr/share/calc/linear.cal
/usr/share/calc/lnseries.cal
/usr/share/calc/lucas.cal
/usr/share/calc/lucas_chk.cal
/usr/share/calc/mersenne.cal
/usr/share/calc/mfactor.cal
/usr/share/calc/mod.cal
/usr/share/calc/natnumset.cal
/usr/share/calc/pell.cal
/usr/share/calc/pi.cal
/usr/share/calc/pix.cal
/usr/share/calc/pollard.cal
/usr/share/calc/poly.cal
/usr/share/calc/prompt.cal
/usr/share/calc/psqrt.cal
/usr/share/calc/qtime.cal
/usr/share/calc/quat.cal
/usr/share/calc/randbitrun.cal
/usr/share/calc/randmprime.cal
/usr/share/calc/randombitrun.cal
/usr/share/calc/randomrun.cal
/usr/share/calc/randrun.cal
/usr/share/calc/regress.cal
/usr/share/calc/repeat.cal
/usr/share/calc/screen.cal
/usr/share/calc/seedrandom.cal
/usr/share/calc/set8700.cal
/usr/share/calc/set8700.line
/usr/share/calc/smallfactors.cal
/usr/share/calc/solve.cal
/usr/share/calc/specialfunctions.cal
/usr/share/calc/statistics.cal
/usr/share/calc/strings.cal
/usr/share/calc/sumsq.cal
/usr/share/calc/sumtimes.cal
/usr/share/calc/surd.cal
/usr/share/calc/test1700.cal
/usr/share/calc/test2300.cal
/usr/share/calc/test2600.cal
/usr/share/calc/test2700.cal
/usr/share/calc/test3100.cal
/usr/share/calc/test3300.cal
/usr/share/calc/test3400.cal
/usr/share/calc/test3500.cal
/usr/share/calc/test4000.cal
/usr/share/calc/test4100.cal
/usr/share/calc/test4600.cal
/usr/share/calc/test5100.cal
/usr/share/calc/test5200.cal
/usr/share/calc/test8400.cal
/usr/share/calc/test8500.cal
/usr/share/calc/test8600.cal
/usr/share/calc/test8900.cal
/usr/share/calc/toomcook.cal
/usr/share/calc/unitfrac.cal
/usr/share/calc/varargs.cal
/usr/share/calc/xx_print.cal
/usr/share/calc/zeta2.cal
/usr/share/doc/calc-stdrc
/usr/share/doc/calc-stdrc/README-cscript
/usr/share/doc/calc-stdrc/README-standard-resource

References

Summary

In this tutorial we learn how to install calc-stdrc on CentOS 8 using yum and dnf.