How To Install python3-numexpr on AlmaLinux 8
Introduction
In this tutorial we learn how to install python3-numexpr
on AlmaLinux 8.
What is python3-numexpr
The numexpr package evaluates multiple-operator array expressions many times faster than NumPy can. It accepts the expression as a string, analyzes it, rewrites it more efficiently, and compiles it to faster Python code on the fly. It’s the next best thing to writing the expression in C and compiling it with a specialized just-in-time (JIT) compiler, i.e. it does not require a compiler at runtime. This is the version for Python 3.
We can use yum
or dnf
to install python3-numexpr
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-numexpr.
Install python3-numexpr 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-numexpr
using dnf
by running the following command:
sudo dnf -y install python3-numexpr
Install python3-numexpr 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-numexpr
using yum
by running the following command:
sudo yum -y install python3-numexpr
How To Uninstall python3-numexpr on AlmaLinux 8
To uninstall only the python3-numexpr
package we can use the following command:
sudo dnf remove python3-numexpr
References
Summary
In this tutorial we learn how to install python3-numexpr
on AlmaLinux 8 using yum and dnf.