How To Install boost-numpy3 on Rocky Linux 8

In this tutorial we learn how to install boost-numpy3 on Rocky Linux 8. boost-numpy3 is Run-time component of boost numpy library for Python 3

Introduction

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

What is boost-numpy3

The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++ classes, functions and objects to Python, and vice versa, using no special tools – just your C++ compiler. This package contains run-time support for the NumPy extension of the Boost Python Library for Python 3.

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

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

sudo dnf -y install boost-numpy3

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

sudo yum -y install boost-numpy3

How To Uninstall boost-numpy3 on Rocky Linux 8

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

sudo dnf remove boost-numpy3

boost-numpy3 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/5c97f8d36edab077f3ec37328e0e47512f18f4
/usr/lib64/libboost_numpy3.so.1.66.0
/usr/share/licenses/boost-numpy3
/usr/share/licenses/boost-numpy3/LICENSE_1_0.txt
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/3e1e566485ad33e57b6dd018cd2e4cf8f54ba4
/usr/lib/libboost_numpy3.so.1.66.0
/usr/share/licenses/boost-numpy3
/usr/share/licenses/boost-numpy3/LICENSE_1_0.txt

References

Summary

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