How To Install openspecfun on CentOS 7

In this tutorial we learn how to install openspecfun on CentOS 7. openspecfun is Library providing a collection of special mathematical functions

Introduction

In this tutorial we learn how to install openspecfun on CentOS 7.

What is openspecfun

Currently provides AMOS and Faddeeva. AMOS (from Netlib) is a portable package for Bessel Functions of a Complex Argument and Nonnegative Order; it contains subroutines for computing Bessel functions and Airy functions. Faddeeva allows computing the various error functions of arbitrary complex arguments (Faddeeva function, error function, complementary error function, scaled complementary error function, imaginary error function, and Dawson function); given these, one can also easily compute Voigt functions, Fresnel integrals, and similar related functions as well.

We can use yum or dnf to install openspecfun on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openspecfun.

Install openspecfun on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openspecfun using yum by running the following command:

sudo yum -y install openspecfun

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

sudo dnf -y install openspecfun

How To Uninstall openspecfun on CentOS 7

To uninstall only the openspecfun package we can use the following command:

sudo dnf remove openspecfun

References

Summary

In this tutorial we learn how to install openspecfun on CentOS 7 using yum and dnf.