How To Install libqalculate-devel on Rocky Linux 8

In this tutorial we learn how to install libqalculate-devel on Rocky Linux 8. libqalculate-devel is Development tools for the Qalculate calculator library

Introduction

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

What is libqalculate-devel

The libqalculate-devel package contains the header files needed for development with libqalculate.

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

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

sudo dnf -y install libqalculate-devel

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

sudo yum -y install libqalculate-devel

How To Uninstall libqalculate-devel on Rocky Linux 8

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

sudo dnf remove libqalculate-devel

libqalculate-devel Package Contents on Rocky Linux 8

/usr/include/libqalculate
/usr/include/libqalculate/BuiltinFunctions.h
/usr/include/libqalculate/Calculator.h
/usr/include/libqalculate/DataSet.h
/usr/include/libqalculate/ExpressionItem.h
/usr/include/libqalculate/Function.h
/usr/include/libqalculate/MathStructure.h
/usr/include/libqalculate/Number.h
/usr/include/libqalculate/Prefix.h
/usr/include/libqalculate/QalculateDateTime.h
/usr/include/libqalculate/Unit.h
/usr/include/libqalculate/Variable.h
/usr/include/libqalculate/includes.h
/usr/include/libqalculate/qalculate.h
/usr/include/libqalculate/util.h
/usr/lib64/libqalculate.so
/usr/lib64/pkgconfig/libqalculate.pc

References

Summary

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