How To Install okular-devel on Rocky Linux 8

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

Introduction

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

What is okular-devel

Development files for okular.

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

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

sudo dnf -y install okular-devel

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

sudo yum -y install okular-devel

How To Uninstall okular-devel on Rocky Linux 8

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

sudo dnf remove okular-devel

okular-devel Package Contents on Rocky Linux 8

/usr/include/okular
/usr/include/okular/core
/usr/include/okular/core/action.h
/usr/include/okular/core/annotations.h
/usr/include/okular/core/area.h
/usr/include/okular/core/document.h
/usr/include/okular/core/fileprinter.h
/usr/include/okular/core/fontinfo.h
/usr/include/okular/core/form.h
/usr/include/okular/core/generator.h
/usr/include/okular/core/global.h
/usr/include/okular/core/observer.h
/usr/include/okular/core/okularcore_export.h
/usr/include/okular/core/page.h
/usr/include/okular/core/pagesize.h
/usr/include/okular/core/pagetransition.h
/usr/include/okular/core/printoptionswidget.h
/usr/include/okular/core/settings_core.h
/usr/include/okular/core/signatureutils.h
/usr/include/okular/core/sound.h
/usr/include/okular/core/sourcereference.h
/usr/include/okular/core/textdocumentgenerator.h
/usr/include/okular/core/textdocumentsettings.h
/usr/include/okular/core/textpage.h
/usr/include/okular/core/tile.h
/usr/include/okular/core/utils.h
/usr/include/okular/core/version.h
/usr/include/okular/interfaces
/usr/include/okular/interfaces/configinterface.h
/usr/include/okular/interfaces/guiinterface.h
/usr/include/okular/interfaces/printinterface.h
/usr/include/okular/interfaces/saveinterface.h
/usr/include/okular/interfaces/viewerinterface.h
/usr/lib64/cmake/Okular5
/usr/lib64/cmake/Okular5/Okular5Config.cmake
/usr/lib64/cmake/Okular5/Okular5ConfigVersion.cmake
/usr/lib64/cmake/Okular5/Okular5Targets-release.cmake
/usr/lib64/cmake/Okular5/Okular5Targets.cmake
/usr/lib64/libOkular5Core.so

References

Summary

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