How To Install boost-stacktrace on Rocky Linux 8

In this tutorial we learn how to install boost-stacktrace on Rocky Linux 8. boost-stacktrace is Run-time component of boost stacktrace library

Introduction

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

What is boost-stacktrace

Run-time component of the Boost stacktrace library.

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

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

sudo dnf -y install boost-stacktrace

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

sudo yum -y install boost-stacktrace

How To Uninstall boost-stacktrace on Rocky Linux 8

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

sudo dnf remove boost-stacktrace

boost-stacktrace Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/fac35d2f88992348b48e74cd30f1491728ae13
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/8383b54388faf700d8a06440ffaa954dfd65bf
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/e52e701c9d9fa579531aa2f6f0dd2a86465fa3
/usr/lib64/libboost_stacktrace_addr2line.so.1.66.0
/usr/lib64/libboost_stacktrace_basic.so.1.66.0
/usr/lib64/libboost_stacktrace_noop.so.1.66.0
/usr/share/licenses/boost-stacktrace
/usr/share/licenses/boost-stacktrace/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/f77cf91470183de0035818a9b5c79be2adf9bc
/usr/lib/.build-id/48
/usr/lib/.build-id/48/1cd553f929537ea5b59989850b7c77dbe6bf05
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/503f03c5da96c1d299c0571d35bd19b612b24d
/usr/lib/libboost_stacktrace_addr2line.so.1.66.0
/usr/lib/libboost_stacktrace_basic.so.1.66.0
/usr/lib/libboost_stacktrace_noop.so.1.66.0
/usr/share/licenses/boost-stacktrace
/usr/share/licenses/boost-stacktrace/LICENSE_1_0.txt

References

Summary

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