How To Install libquadmath on Fedora 34

libquadmath is GCC __float128 shared support library GCC __float128 shared support library

Introduction

In this tutorial we learn how to install libquadmath on Fedora 34.

What is libquadmath

This package contains GCC shared support library which is needed for __float128 math support and for Fortran REAL16 support. libquadmath 11.2.1 1.fc34 x86_64 209 k gcc-11.2.1-1.fc34.src.rpm updates GCC __float128 shared support library http GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD This package contains GCC shared support library which is needed for __float128 math support and for Fortran REAL16 support.

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

Install libquadmath on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libquadmath

Install libquadmath on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libquadmath

How To Uninstall libquadmath on Fedora 34

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

sudo dnf remove libquadmath

libquadmath Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/81/5331792608229e3138e5893bfad20866d8f022
/usr/lib/libquadmath.so.0
/usr/lib/libquadmath.so.0.0.0
/usr/share/info/libquadmath.info.gz
/usr/share/licenses/libquadmath
/usr/share/licenses/libquadmath/COPYING.LIB.libquadmath
/usr/lib/.build-id
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/bedea819446a4ca39d5aa056e388e023c40215
/usr/lib64/libquadmath.so.0
/usr/lib64/libquadmath.so.0.0.0
/usr/share/info/libquadmath.info.gz
/usr/share/licenses/libquadmath
/usr/share/licenses/libquadmath/COPYING.LIB.libquadmath
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/af7b9fb4eb7245ec1c2176048e56bf332bc83e
/usr/lib/libquadmath.so.0
/usr/lib/libquadmath.so.0.0.0
/usr/share/info/libquadmath.info.gz
/usr/share/licenses/libquadmath
/usr/share/licenses/libquadmath/COPYING.LIB.libquadmath
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/bc29fc2354bd3695af15774345566e51dd72dd
/usr/lib64/libquadmath.so.0
/usr/lib64/libquadmath.so.0.0.0
/usr/share/info/libquadmath.info.gz
/usr/share/licenses/libquadmath
/usr/share/licenses/libquadmath/COPYING.LIB.libquadmath

References

Summary

In this tutorial we learn how to install libquadmath on Fedora 34 using yum and dnf.