How To Install rubygem-narray on CentOS 7
Introduction
In this tutorial we learn how to install rubygem-narray on CentOS 7.
What is rubygem-narray
NArray is a Numerical N-dimensional Array class. Supported element types are 1/2/4-byte Integer, single/double-precision, Real/Complex and Ruby Object. This extension library incorporates fast calculation and easy manipulation of large numerical arrays into the Ruby language. NArray has features similar to NumPy, but NArray has vector and matrix sub-classes.
We can use yum or dnf to install rubygem-narray on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-narray.
Install rubygem-narray on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install rubygem-narray using yum by running the following command:
sudo yum -y install rubygem-narray
Install rubygem-narray on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install rubygem-narray using dnf by running the following command:
sudo dnf -y install rubygem-narray
How To Uninstall rubygem-narray on CentOS 7
To uninstall only the rubygem-narray package we can use the following command:
sudo dnf remove rubygem-narray
References
Summary
In this tutorial we learn how to install rubygem-narray on CentOS 7 using yum and dnf.