How To Install python3-scipy on AlmaLinux 8

In this tutorial we learn how to install python3-scipy in AlmaLinux 8. python3-scipy is Scientific Tools for Python

Introduction

In this tutorial we learn how to install python3-scipy on AlmaLinux 8.

What is python3-scipy

Scipy is open-source software for mathematics, science, and engineering. The core library is NumPy which provides convenient and fast N-dimensional array manipulation. The SciPy library is built to work with NumPy arrays, and provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization. Together, they run on all popular operating systems, are quick to install, and are free of charge. NumPy and SciPy are easy to use, but powerful enough to be depended upon by some of the world’s leading scientists and engineers.

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

Install python3-scipy on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-scipy using dnf by running the following command:

sudo dnf -y install python3-scipy

Install python3-scipy on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-scipy using yum by running the following command:

sudo yum -y install python3-scipy

How To Uninstall python3-scipy on AlmaLinux 8

To uninstall only the python3-scipy package we can use the following command:

sudo dnf remove python3-scipy

References

Summary

In this tutorial we learn how to install python3-scipy on AlmaLinux 8 using yum and dnf.