Introduction
In this tutorial we learn how to install calc-devel
on CentOS 8.
What is calc-devel
This package contains files necessary to build applications which use the calc arbitrary precision arithmetic system.
We can use yum
or dnf
to install calc-devel
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install calc-devel.
Install calc-devel 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-devel
using dnf
by running the following command:
sudo dnf -y install calc-devel
Install calc-devel 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-devel
using yum
by running the following command:
sudo yum -y install calc-devel
How To Uninstall calc-devel on CentOS 8
To uninstall only the calc-devel
package we can use the following command:
sudo dnf remove calc-devel
calc-devel Package Contents on CentOS 8
/usr/include/calc
/usr/include/calc/align32.h
/usr/include/calc/alloc.h
/usr/include/calc/args.h
/usr/include/calc/blkcpy.h
/usr/include/calc/block.h
/usr/include/calc/byteswap.h
/usr/include/calc/calc.h
/usr/include/calc/calcerr.h
/usr/include/calc/cmath.h
/usr/include/calc/conf.h
/usr/include/calc/config.h
/usr/include/calc/custom.h
/usr/include/calc/decl.h
/usr/include/calc/endian_calc.h
/usr/include/calc/file.h
/usr/include/calc/fposval.h
/usr/include/calc/func.h
/usr/include/calc/hash.h
/usr/include/calc/have_const.h
/usr/include/calc/have_fpos.h
/usr/include/calc/have_fpos_pos.h
/usr/include/calc/have_getpgid.h
/usr/include/calc/have_getprid.h
/usr/include/calc/have_getsid.h
/usr/include/calc/have_gettime.h
/usr/include/calc/have_memmv.h
/usr/include/calc/have_newstr.h
/usr/include/calc/have_offscl.h
/usr/include/calc/have_posscl.h
/usr/include/calc/have_rusage.h
/usr/include/calc/have_stdlib.h
/usr/include/calc/have_strdup.h
/usr/include/calc/have_string.h
/usr/include/calc/have_times.h
/usr/include/calc/have_uid_t.h
/usr/include/calc/have_unistd.h
/usr/include/calc/have_unused.h
/usr/include/calc/have_urandom.h
/usr/include/calc/have_ustat.h
/usr/include/calc/hist.h
/usr/include/calc/jump.h
/usr/include/calc/label.h
/usr/include/calc/lib_calc.h
/usr/include/calc/lib_util.h
/usr/include/calc/longbits.h
/usr/include/calc/nametype.h
/usr/include/calc/opcodes.h
/usr/include/calc/prime.h
/usr/include/calc/qmath.h
/usr/include/calc/sha1.h
/usr/include/calc/str.h
/usr/include/calc/symbol.h
/usr/include/calc/terminal.h
/usr/include/calc/token.h
/usr/include/calc/value.h
/usr/include/calc/zmath.h
/usr/include/calc/zrand.h
/usr/include/calc/zrandom.h
/usr/lib64/libcalc.so
/usr/share/doc/calc-devel
/usr/share/doc/calc-devel/LIBRARY
References
Summary
In this tutorial we learn how to install calc-devel
on CentOS 8 using yum and dnf.