How To Install cln-devel on CentOS 8

cln-devel is Development files for programs using the CLN library

Introduction

In this tutorial we learn how to install cln-devel on CentOS 8.

What is cln-devel

A collection of C++ math classes and functions, which are designed for memory and speed efficiency, and enable type safety and algebraic syntax. This package is necessary if you wish to develop software based on the CLN library.

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

Install cln-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 cln-devel using dnf by running the following command:

sudo dnf -y install cln-devel

Install cln-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 cln-devel using yum by running the following command:

sudo yum -y install cln-devel

How To Uninstall cln-devel on CentOS 8

To uninstall only the cln-devel package we can use the following command:

sudo dnf remove cln-devel

cln-devel Package Contents on CentOS 8

/usr/include/cln
/usr/include/cln/GV.h
/usr/include/cln/GV_complex.h
/usr/include/cln/GV_integer.h
/usr/include/cln/GV_modinteger.h
/usr/include/cln/GV_number.h
/usr/include/cln/GV_rational.h
/usr/include/cln/GV_real.h
/usr/include/cln/SV.h
/usr/include/cln/SV_complex.h
/usr/include/cln/SV_integer.h
/usr/include/cln/SV_number.h
/usr/include/cln/SV_rational.h
/usr/include/cln/SV_real.h
/usr/include/cln/SV_ringelt.h
/usr/include/cln/V.h
/usr/include/cln/cln.h
/usr/include/cln/complex.h
/usr/include/cln/complex_class.h
/usr/include/cln/complex_io.h
/usr/include/cln/complex_ring.h
/usr/include/cln/condition.h
/usr/include/cln/config.h
/usr/include/cln/dfloat.h
/usr/include/cln/dfloat_class.h
/usr/include/cln/dfloat_io.h
/usr/include/cln/exception.h
/usr/include/cln/ffloat.h
/usr/include/cln/ffloat_class.h
/usr/include/cln/ffloat_io.h
/usr/include/cln/float.h
/usr/include/cln/float_class.h
/usr/include/cln/float_io.h
/usr/include/cln/floatformat.h
/usr/include/cln/host_cpu.h
/usr/include/cln/input.h
/usr/include/cln/integer.h
/usr/include/cln/integer_class.h
/usr/include/cln/integer_io.h
/usr/include/cln/integer_ring.h
/usr/include/cln/intparam.h
/usr/include/cln/io.h
/usr/include/cln/lfloat.h
/usr/include/cln/lfloat_class.h
/usr/include/cln/lfloat_io.h
/usr/include/cln/malloc.h
/usr/include/cln/modinteger.h
/usr/include/cln/modules.h
/usr/include/cln/null_ring.h
/usr/include/cln/number.h
/usr/include/cln/number_io.h
/usr/include/cln/numtheory.h
/usr/include/cln/object.h
/usr/include/cln/output.h
/usr/include/cln/proplist.h
/usr/include/cln/random.h
/usr/include/cln/rational.h
/usr/include/cln/rational_class.h
/usr/include/cln/rational_io.h
/usr/include/cln/rational_ring.h
/usr/include/cln/real.h
/usr/include/cln/real_class.h
/usr/include/cln/real_io.h
/usr/include/cln/real_ring.h
/usr/include/cln/ring.h
/usr/include/cln/sfloat.h
/usr/include/cln/sfloat_class.h
/usr/include/cln/sfloat_io.h
/usr/include/cln/string.h
/usr/include/cln/symbol.h
/usr/include/cln/timing.h
/usr/include/cln/types.h
/usr/include/cln/univpoly.h
/usr/include/cln/univpoly_complex.h
/usr/include/cln/univpoly_integer.h
/usr/include/cln/univpoly_modint.h
/usr/include/cln/univpoly_rational.h
/usr/include/cln/univpoly_real.h
/usr/include/cln/version.h
/usr/lib64/libcln.so
/usr/lib64/pkgconfig/cln.pc
/usr/share/doc/cln-devel
/usr/share/doc/cln-devel/cln.html
/usr/share/doc/cln-devel/cln.pdf
/usr/share/info/cln.info.gz

References

Summary

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