How To Install boost-math on CentOS 8

boost-math is Math functions for boost TR1 library Math functions for boost TR1 library

Introduction

In this tutorial we learn how to install boost-math on CentOS 8.

What is boost-math

Run-time support for C99 and C++ TR1 C-style Functions from the math portion of Boost.TR1. boost-math 1.66.0 10.el8 x86_64 264 k boost-1.66.0-10.el8.src.rpm appstream Math functions for boost TR1 library http Boost and MIT and Python Run-time support for C99 and C++ TR1 C-style Functions from the math portion of Boost.TR1.

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

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

sudo dnf -y install boost-math

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

sudo yum -y install boost-math

How To Uninstall boost-math on CentOS 8

To uninstall only the boost-math package we can use the following command:

sudo dnf remove boost-math

boost-math Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/380b9bf46582016544a8d211b337b00daeb2d7
/usr/lib/.build-id/22
/usr/lib/.build-id/22/0e1f678d50e3ef6735193fff1d1c1847890bce
/usr/lib/.build-id/32
/usr/lib/.build-id/32/c5253c3d526c49178dff8e58cfcf2b0a31a281
/usr/lib/.build-id/77
/usr/lib/.build-id/77/6d8a1d11711c2522bf7ade08151dd0786771a1
/usr/lib/.build-id/e3/163f9f933619e6da691922295f6e7490a77958
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/2d862ce7e05c2ee1c2318f6ec156d0d64fa9ff
/usr/lib/libboost_math_c99.so.1.66.0
/usr/lib/libboost_math_c99f.so.1.66.0
/usr/lib/libboost_math_c99l.so.1.66.0
/usr/lib/libboost_math_tr1.so.1.66.0
/usr/lib/libboost_math_tr1f.so.1.66.0
/usr/lib/libboost_math_tr1l.so.1.66.0
/usr/share/licenses/boost-math
/usr/share/licenses/boost-math/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/daf144a06a693c77e022767abf61a40fdc66b3
/usr/lib/.build-id/47/0089784b2210c05aaf3fac50e813e7a0093cbb
/usr/lib/.build-id/53
/usr/lib/.build-id/53/552ebe9df0772cb6e7f7e5a38a85343224fd87
/usr/lib/.build-id/73
/usr/lib/.build-id/73/e6ec5b611360acb02864ae255b05fca0802454
/usr/lib/.build-id/94
/usr/lib/.build-id/94/701768c3e06a07e6fef12d832a40dbf06f9ca1
/usr/lib/.build-id/c3/c9b4047dc0a8b7f8032939df4f71ccb10c1ac0
/usr/lib64/libboost_math_c99.so.1.66.0
/usr/lib64/libboost_math_c99f.so.1.66.0
/usr/lib64/libboost_math_c99l.so.1.66.0
/usr/lib64/libboost_math_tr1.so.1.66.0
/usr/lib64/libboost_math_tr1f.so.1.66.0
/usr/lib64/libboost_math_tr1l.so.1.66.0
/usr/share/licenses/boost-math
/usr/share/licenses/boost-math/LICENSE_1_0.txt

References

Summary

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