How To Install libdfp-devel on Rocky Linux 8

In this tutorial we learn how to install libdfp-devel on Rocky Linux 8. libdfp-devel is Development files for libdfp

Introduction

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

What is libdfp-devel

The libdfp-devel package contains libraries and header files for developing applications that use libdfp.

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

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

sudo dnf -y install libdfp-devel

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

sudo yum -y install libdfp-devel

How To Uninstall libdfp-devel on Rocky Linux 8

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

sudo dnf remove libdfp-devel

libdfp-devel Package Contents on Rocky Linux 8

/usr/include/decnumber
/usr/include/decnumber/decContext.h
/usr/include/decnumber/decConvert.h
/usr/include/decnumber/decNumber.h
/usr/include/dfp
/usr/include/dfp/bits
/usr/include/dfp/bits/dfp_dmathcalls.h
/usr/include/dfp/decimal
/usr/include/dfp/decimal/decimal
/usr/include/dfp/fenv.h
/usr/include/dfp/float.h
/usr/include/dfp/math.h
/usr/include/dfp/stdlib.h
/usr/include/dfp/wchar.h
/usr/lib/.build-id
/usr/lib/.build-id/76/decc42899f3732f26c2c23889a2a8aeb75f8da
/usr/lib64/libdecnumber.a
/usr/lib64/libdfp.so
/usr/lib64/pkgconfig/libdecnumber.pc
/usr/lib64/pkgconfig/libdfp.pc

References

Summary

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