How To Install libquadmath-devel on Rocky Linux 8

In this tutorial we learn how to install libquadmath-devel on Rocky Linux 8. libquadmath-devel is GCC __float128 support

Introduction

In this tutorial we learn how to install libquadmath-devel on Rocky Linux 8.

What is libquadmath-devel

This package contains headers for building Fortran programs using REAL*16 and programs using __float128 math.

We can use yum or dnf to install libquadmath-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libquadmath-devel.

Install libquadmath-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libquadmath-devel

Install libquadmath-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libquadmath-devel

How To Uninstall libquadmath-devel on Rocky Linux 8

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

sudo dnf remove libquadmath-devel

libquadmath-devel Package Contents on Rocky Linux 8

/usr/lib/gcc
/usr/lib/gcc/i686-redhat-linux
/usr/lib/gcc/i686-redhat-linux/8
/usr/lib/gcc/i686-redhat-linux/8/include
/usr/lib/gcc/i686-redhat-linux/8/include/quadmath.h
/usr/lib/gcc/i686-redhat-linux/8/include/quadmath_weak.h
/usr/lib/gcc/i686-redhat-linux/8/libquadmath.so
/usr/share/doc/libquadmath-devel
/usr/share/doc/libquadmath-devel/ChangeLog.libquadmath.bz2
/usr/lib/gcc
/usr/lib/gcc/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/8
/usr/lib/gcc/x86_64-redhat-linux/8/include
/usr/lib/gcc/x86_64-redhat-linux/8/include/quadmath.h
/usr/lib/gcc/x86_64-redhat-linux/8/include/quadmath_weak.h
/usr/lib/gcc/x86_64-redhat-linux/8/libquadmath.so
/usr/share/doc/libquadmath-devel
/usr/share/doc/libquadmath-devel/ChangeLog.libquadmath.bz2

References

Summary

In this tutorial we learn how to install libquadmath-devel on Rocky Linux 8 using yum and dnf.