How To Install oniguruma-devel on Rocky Linux 8

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

Introduction

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

What is oniguruma-devel

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

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

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

sudo dnf -y install oniguruma-devel

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

sudo yum -y install oniguruma-devel

How To Uninstall oniguruma-devel on Rocky Linux 8

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

sudo dnf remove oniguruma-devel

oniguruma-devel Package Contents on Rocky Linux 8

/usr/bin/onig-config
/usr/include/oniggnu.h
/usr/include/onigposix.h
/usr/include/oniguruma.h
/usr/lib/libonig.so
/usr/lib/pkgconfig/oniguruma.pc
/usr/share/doc/oniguruma-devel
/usr/share/doc/oniguruma-devel/API
/usr/share/doc/oniguruma-devel/API.ja
/usr/share/doc/oniguruma-devel/CALLOUTS.API
/usr/share/doc/oniguruma-devel/CALLOUTS.API.ja
/usr/share/doc/oniguruma-devel/CALLOUTS.BUILTIN
/usr/share/doc/oniguruma-devel/CALLOUTS.BUILTIN.ja
/usr/share/doc/oniguruma-devel/FAQ
/usr/share/doc/oniguruma-devel/FAQ.ja
/usr/share/doc/oniguruma-devel/RE
/usr/share/doc/oniguruma-devel/RE.ja
/usr/bin/onig-config
/usr/include/oniggnu.h
/usr/include/onigposix.h
/usr/include/oniguruma.h
/usr/lib64/libonig.so
/usr/lib64/pkgconfig/oniguruma.pc
/usr/share/doc/oniguruma-devel
/usr/share/doc/oniguruma-devel/API
/usr/share/doc/oniguruma-devel/API.ja
/usr/share/doc/oniguruma-devel/CALLOUTS.API
/usr/share/doc/oniguruma-devel/CALLOUTS.API.ja
/usr/share/doc/oniguruma-devel/CALLOUTS.BUILTIN
/usr/share/doc/oniguruma-devel/CALLOUTS.BUILTIN.ja
/usr/share/doc/oniguruma-devel/FAQ
/usr/share/doc/oniguruma-devel/FAQ.ja
/usr/share/doc/oniguruma-devel/RE
/usr/share/doc/oniguruma-devel/RE.ja

References

Summary

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