How To Install libsafec-devel on Rocky Linux 8

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

Introduction

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

What is libsafec-devel

Development files for libsafec

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

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

sudo dnf -y install libsafec-devel

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

sudo yum -y install libsafec-devel

How To Uninstall libsafec-devel on Rocky Linux 8

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

sudo dnf remove libsafec-devel

libsafec-devel Package Contents on Rocky Linux 8

/usr/include/libsafec
/usr/include/libsafec/safe_compile.h
/usr/include/libsafec/safe_config.h
/usr/include/libsafec/safe_lib.h
/usr/include/libsafec/safe_lib_errno.h
/usr/include/libsafec/safe_mem_lib.h
/usr/include/libsafec/safe_str_lib.h
/usr/include/libsafec/safe_types.h
/usr/lib64/libsafec-3.3.so
/usr/lib64/pkgconfig/safec-3.3.pc

References

Summary

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