How To Install sleef-devel on Rocky Linux 8

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

Introduction

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

What is sleef-devel

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

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

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

sudo dnf -y install sleef-devel

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

sudo yum -y install sleef-devel

How To Uninstall sleef-devel on Rocky Linux 8

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

sudo dnf remove sleef-devel

sleef-devel Package Contents on Rocky Linux 8

/usr/include/sleef.h
/usr/lib64/libsleef.so
/usr/lib64/pkgconfig/sleef.pc

References

Summary

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