How To Install boost-math on Rocky Linux 8

In this tutorial we learn how to install boost-math on Rocky Linux 8. boost-math is Math functions for boost TR1 library

Introduction

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

What is boost-math

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 Rocky Linux 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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 Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove boost-math

boost-math Package Contents on Rocky Linux 8

/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
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/f3eb0d3bc4eb5d3560df74718828e87b9afd83
/usr/lib/.build-id/5d/a830e70d0d2639a1144a8d73274d5fd73a7b85
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/84065d3477e29227c8ae1e65b31a2b9832aeb2
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/7c3459aa2c835cf84af04487b170643c6a6ada
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/61752ceab7c58263b505364bde4dd6dac19b62
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/26b64fb443944e03f4e66015c148b56b935402
/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

References

Summary

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