How To Install qd-devel on CentOS 7

In this tutorial we learn how to install qd-devel on CentOS 7. qd-devel is Double-Double and Quad-Double Arithmetic

Introduction

In this tutorial we learn how to install qd-devel on CentOS 7.

What is qd-devel

This package provides numeric types of twice the precision of IEEE double (106 mantissa bits, or approximately 32 decimal digits) and four times the precision of IEEE double (212 mantissa bits, or approximately 64 decimal digits). Due to features such as operator and function overloading, these facilities can be utilized with only minor modifications to conventional C++ and Fortran-90 programs. In addition to the basic arithmetic operations (add, subtract, multiply, divide, square root), common transcendental functions such as the exponential, logarithm, trigonometric and hyperbolic functions are also included.

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

Install qd-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install qd-devel

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

sudo dnf -y install qd-devel

How To Uninstall qd-devel on CentOS 7

To uninstall only the qd-devel package we can use the following command:

sudo dnf remove qd-devel

References

Summary

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