How To Install qd-devel on Fedora 36

In this tutorial we learn how to install qd-devel in Fedora 36. qd-devel is Double-Double and Quad-Double Arithmetic

Introduction

In this tutorial we learn how to install qd-devel on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install qd-devel.

Install qd-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install qd-devel

Install qd-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install qd-devel

How To Uninstall qd-devel on Fedora 36

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

sudo dnf remove qd-devel

qd-devel Package Contents on Fedora 36

---
title: "How To Install qd-devel on Fedora 36"
linkTitle: "qd-devel"
type: "docs"
description: "In this tutorial we learn how to install qd-devel in Fedora 36. qd-devel is Double-Double and Quad-Double Arithmetic"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/qd-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `qd-devel` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install qd-devel.

## Install qd-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install qd-devel

Install qd-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install qd-devel

How To Uninstall qd-devel on Fedora 36

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

sudo dnf remove qd-devel

qd-devel Package Contents on Fedora 36

/usr/bin/qd-config
/usr/include/qd
/usr/include/qd/bits.h
/usr/include/qd/c_dd.h
/usr/include/qd/c_qd.h
/usr/include/qd/dd_inline.h
/usr/include/qd/dd_real.h
/usr/include/qd/fpu.h
/usr/include/qd/inline.h
/usr/include/qd/qd_config.h
/usr/include/qd/qd_inline.h
/usr/include/qd/qd_real.h
/usr/lib/gfortran/modules/qd
/usr/lib/gfortran/modules/qd/ddext.mod
/usr/lib/gfortran/modules/qd/ddmodule.mod
/usr/lib/gfortran/modules/qd/qdext.mod
/usr/lib/gfortran/modules/qd/qdmodule.mod
/usr/lib/libqd.so
/usr/lib/libqd_f_main.so
/usr/lib/libqdmod.so
/usr/lib/pkgconfig/qd.pc
/usr/share/doc/qd-devel
/usr/share/doc/qd-devel/qd.pdf

References

Summary

In this tutorial we learn how to install qd-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/bin/qd-config /usr/include/qd /usr/include/qd/bits.h /usr/include/qd/c_dd.h /usr/include/qd/c_qd.h /usr/include/qd/dd_inline.h /usr/include/qd/dd_real.h /usr/include/qd/fpu.h /usr/include/qd/inline.h /usr/include/qd/qd_config.h /usr/include/qd/qd_inline.h /usr/include/qd/qd_real.h /usr/lib64/gfortran/modules/qd /usr/lib64/gfortran/modules/qd/ddext.mod /usr/lib64/gfortran/modules/qd/ddmodule.mod /usr/lib64/gfortran/modules/qd/qdext.mod /usr/lib64/gfortran/modules/qd/qdmodule.mod /usr/lib64/libqd.so /usr/lib64/libqd_f_main.so /usr/lib64/libqdmod.so /usr/lib64/pkgconfig/qd.pc /usr/share/doc/qd-devel /usr/share/doc/qd-devel/qd.pdf


## References

* [qd-devel website](https://www.davidhbailey.com/dhbsoftware/)

## Summary

In this tutorial we learn how to install `qd-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).