How To Install okular on Rocky Linux 8

In this tutorial we learn how to install okular on Rocky Linux 8. okular is A document viewer

Introduction

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

What is okular

A document viewer.

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

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

sudo dnf -y install okular

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

sudo yum -y install okular

How To Uninstall okular on Rocky Linux 8

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

sudo dnf remove okular

okular Package Contents on Rocky Linux 8

/usr/bin/okular
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/06d36f8234b572701a2f11a5f3d5fde246c56d
/usr/share/applications/okularApplication_comicbook.desktop
/usr/share/applications/okularApplication_dvi.desktop
/usr/share/applications/okularApplication_fax.desktop
/usr/share/applications/okularApplication_fb.desktop
/usr/share/applications/okularApplication_ghostview.desktop
/usr/share/applications/okularApplication_kimgio.desktop
/usr/share/applications/okularApplication_md.desktop
/usr/share/applications/okularApplication_mobi.desktop
/usr/share/applications/okularApplication_ooo.desktop
/usr/share/applications/okularApplication_pdf.desktop
/usr/share/applications/okularApplication_plucker.desktop
/usr/share/applications/okularApplication_tiff.desktop
/usr/share/applications/okularApplication_txt.desktop
/usr/share/applications/okularApplication_xps.desktop
/usr/share/applications/org.kde.okular.desktop
/usr/share/doc/HTML/ca/okular
/usr/share/doc/HTML/ca/okular/bookmark-management.png
/usr/share/doc/HTML/ca/okular/bookmarks.png
/usr/share/doc/HTML/ca/okular/configure-annotations.png
/usr/share/doc/HTML/ca/okular/configure-backends.png
/usr/share/doc/HTML/ca/okular/configure-editor.png
/usr/share/doc/HTML/ca/okular/configure.png
/usr/share/doc/HTML/ca/okular/enhance-lowcontrast.png
/usr/share/doc/HTML/ca/okular/enhance-shape.png
/usr/share/doc/HTML/ca/okular/enhance-solid.png
/usr/share/doc/HTML/ca/okular/enhance-thinline.png
/usr/share/doc/HTML/ca/okular/index.cache.bz2
/usr/share/doc/HTML/ca/okular/index.docbook
/usr/share/doc/HTML/ca/okular/mainwindow.png
/usr/share/doc/HTML/ca/okular/presentation.png
/usr/share/doc/HTML/ca/okular/tool-ellipse-okular.png
/usr/share/doc/HTML/ca/okular/tool-highlighter-okular.png
/usr/share/doc/HTML/ca/okular/tool-ink-okular.png
/usr/share/doc/HTML/ca/okular/tool-line-okular.png
/usr/share/doc/HTML/ca/okular/tool-note-inline-okular.png
/usr/share/doc/HTML/ca/okular/tool-note-okular.png
/usr/share/doc/HTML/ca/okular/tool-polygon-okular.png
/usr/share/doc/HTML/ca/okular/tool-stamp-okular.png
/usr/share/doc/HTML/ca/okular/tool-typewriter-okular.png
/usr/share/doc/HTML/ca/okular/tool-underline-okular.png
/usr/share/doc/HTML/de/okular
/usr/share/doc/HTML/de/okular/annotation-properties.png
/usr/share/doc/HTML/de/okular/configure-annotations.png
/usr/share/doc/HTML/de/okular/configure-editor.png
/usr/share/doc/HTML/de/okular/configure.png
/usr/share/doc/HTML/de/okular/embedded-files-bar.png
/usr/share/doc/HTML/de/okular/index.cache.bz2
/usr/share/doc/HTML/de/okular/index.docbook
/usr/share/doc/HTML/de/okular/mainwindow.png
/usr/share/doc/HTML/en/okular
/usr/share/doc/HTML/en/okular/annotation-properties.png
/usr/share/doc/HTML/en/okular/annotations.png
/usr/share/doc/HTML/en/okular/bookmark-management.png
/usr/share/doc/HTML/en/okular/bookmarks.png
/usr/share/doc/HTML/en/okular/configure-annotations.png
/usr/share/doc/HTML/en/okular/configure-backends.png
/usr/share/doc/HTML/en/okular/configure-editor.png
/usr/share/doc/HTML/en/okular/configure.png
/usr/share/doc/HTML/en/okular/embedded-files-bar.png
/usr/share/doc/HTML/en/okular/enhance-lowcontrast.png
/usr/share/doc/HTML/en/okular/enhance-shape.png
/usr/share/doc/HTML/en/okular/enhance-solid.png
/usr/share/doc/HTML/en/okular/enhance-thinline.png
/usr/share/doc/HTML/en/okular/forms-bar.png
/usr/share/doc/HTML/en/okular/index.cache.bz2
/usr/share/doc/HTML/en/okular/index.docbook
/usr/share/doc/HTML/en/okular/mainwindow.png
/usr/share/doc/HTML/en/okular/presentation.png
/usr/share/doc/HTML/en/okular/signatures-bar.png
/usr/share/doc/HTML/en/okular/signatures-panel.png
/usr/share/doc/HTML/en/okular/tool-ellipse-okular.png
/usr/share/doc/HTML/en/okular/tool-highlighter-okular.png
/usr/share/doc/HTML/en/okular/tool-ink-okular.png
/usr/share/doc/HTML/en/okular/tool-line-okular.png
/usr/share/doc/HTML/en/okular/tool-note-inline-okular.png
/usr/share/doc/HTML/en/okular/tool-note-okular.png
/usr/share/doc/HTML/en/okular/tool-polygon-okular.png
/usr/share/doc/HTML/en/okular/tool-stamp-okular.png
/usr/share/doc/HTML/en/okular/tool-typewriter-okular.png
/usr/share/doc/HTML/en/okular/tool-underline-okular.png
/usr/share/doc/HTML/es/okular
/usr/share/doc/HTML/es/okular/configure.png
/usr/share/doc/HTML/es/okular/embedded-files-bar.png
/usr/share/doc/HTML/es/okular/index.cache.bz2
/usr/share/doc/HTML/es/okular/index.docbook
/usr/share/doc/HTML/fr/okular
/usr/share/doc/HTML/fr/okular/annotation-properties.png
/usr/share/doc/HTML/fr/okular/annotations.png
/usr/share/doc/HTML/fr/okular/bookmark-management.png
/usr/share/doc/HTML/fr/okular/configure-annotations.png
/usr/share/doc/HTML/fr/okular/configure-backends.png
/usr/share/doc/HTML/fr/okular/configure-editor.png
/usr/share/doc/HTML/fr/okular/configure.png
/usr/share/doc/HTML/fr/okular/forms-bar.png
/usr/share/doc/HTML/fr/okular/index.cache.bz2
/usr/share/doc/HTML/fr/okular/index.docbook
/usr/share/doc/HTML/fr/okular/mainwindow.png
/usr/share/doc/HTML/fr/okular/presentation.png
/usr/share/doc/HTML/gl/okular
/usr/share/doc/HTML/gl/okular/index.cache.bz2
/usr/share/doc/HTML/gl/okular/index.docbook
/usr/share/doc/HTML/it/okular
/usr/share/doc/HTML/it/okular/index.cache.bz2
/usr/share/doc/HTML/it/okular/index.docbook
/usr/share/doc/HTML/ja/okular
/usr/share/doc/HTML/ja/okular/configure.png
/usr/share/doc/HTML/ja/okular/embedded-files-bar.png
/usr/share/doc/HTML/ja/okular/index.cache.bz2
/usr/share/doc/HTML/ja/okular/index.docbook
/usr/share/doc/HTML/nl/okular
/usr/share/doc/HTML/nl/okular/index.cache.bz2
/usr/share/doc/HTML/nl/okular/index.docbook
/usr/share/doc/HTML/pl/okular
/usr/share/doc/HTML/pl/okular/annotation-properties.png
/usr/share/doc/HTML/pl/okular/annotations.png
/usr/share/doc/HTML/pl/okular/bookmark-management.png
/usr/share/doc/HTML/pl/okular/configure-annotations.png
/usr/share/doc/HTML/pl/okular/configure-backends.png
/usr/share/doc/HTML/pl/okular/configure-editor.png
/usr/share/doc/HTML/pl/okular/configure.png
/usr/share/doc/HTML/pl/okular/embedded-files-bar.png
/usr/share/doc/HTML/pl/okular/enhance-lowcontrast.png
/usr/share/doc/HTML/pl/okular/enhance-shape.png
/usr/share/doc/HTML/pl/okular/enhance-solid.png
/usr/share/doc/HTML/pl/okular/enhance-thinline.png
/usr/share/doc/HTML/pl/okular/forms-bar.png
/usr/share/doc/HTML/pl/okular/index.cache.bz2
/usr/share/doc/HTML/pl/okular/index.docbook
/usr/share/doc/HTML/pl/okular/mainwindow.png
/usr/share/doc/HTML/pl/okular/presentation.png
/usr/share/doc/HTML/pl/okular/rating.png
/usr/share/doc/HTML/pl/okular/tool-ellipse-okular.png
/usr/share/doc/HTML/pl/okular/tool-highlighter-okular.png
/usr/share/doc/HTML/pl/okular/tool-ink-okular.png
/usr/share/doc/HTML/pl/okular/tool-line-okular.png
/usr/share/doc/HTML/pl/okular/tool-note-inline-okular.png
/usr/share/doc/HTML/pl/okular/tool-note-okular.png
/usr/share/doc/HTML/pl/okular/tool-polygon-okular.png
/usr/share/doc/HTML/pl/okular/tool-stamp-okular.png
/usr/share/doc/HTML/pl/okular/tool-underline-okular.png
/usr/share/doc/HTML/pt/okular
/usr/share/doc/HTML/pt/okular/index.cache.bz2
/usr/share/doc/HTML/pt/okular/index.docbook
/usr/share/doc/HTML/pt_BR/okular
/usr/share/doc/HTML/pt_BR/okular/annotation-properties.png
/usr/share/doc/HTML/pt_BR/okular/annotations.png
/usr/share/doc/HTML/pt_BR/okular/bookmark-management.png
/usr/share/doc/HTML/pt_BR/okular/configure-annotations.png
/usr/share/doc/HTML/pt_BR/okular/configure-backends.png
/usr/share/doc/HTML/pt_BR/okular/configure-editor.png
/usr/share/doc/HTML/pt_BR/okular/configure.png
/usr/share/doc/HTML/pt_BR/okular/embedded-files-bar.png
/usr/share/doc/HTML/pt_BR/okular/forms-bar.png
/usr/share/doc/HTML/pt_BR/okular/index.cache.bz2
/usr/share/doc/HTML/pt_BR/okular/index.docbook
/usr/share/doc/HTML/pt_BR/okular/mainwindow.png
/usr/share/doc/HTML/pt_BR/okular/presentation.png
/usr/share/doc/HTML/pt_BR/okular/signatures-bar.png
/usr/share/doc/HTML/pt_BR/okular/signatures-panel.png
/usr/share/doc/HTML/sv/okular
/usr/share/doc/HTML/sv/okular/configure.png
/usr/share/doc/HTML/sv/okular/index.cache.bz2
/usr/share/doc/HTML/sv/okular/index.docbook
/usr/share/doc/HTML/uk/okular
/usr/share/doc/HTML/uk/okular/annotation-properties.png
/usr/share/doc/HTML/uk/okular/annotations.png
/usr/share/doc/HTML/uk/okular/bookmark-management.png
/usr/share/doc/HTML/uk/okular/configure-annotations.png
/usr/share/doc/HTML/uk/okular/configure-backends.png
/usr/share/doc/HTML/uk/okular/configure-editor.png
/usr/share/doc/HTML/uk/okular/configure.png
/usr/share/doc/HTML/uk/okular/embedded-files-bar.png
/usr/share/doc/HTML/uk/okular/forms-bar.png
/usr/share/doc/HTML/uk/okular/index.cache.bz2
/usr/share/doc/HTML/uk/okular/index.docbook
/usr/share/doc/HTML/uk/okular/mainwindow.png
/usr/share/doc/HTML/uk/okular/signatures-bar.png
/usr/share/doc/HTML/uk/okular/signatures-panel.png
/usr/share/icons/hicolor/128x128/apps/okular.png
/usr/share/icons/hicolor/16x16/apps/okular.png
/usr/share/icons/hicolor/22x22/apps/okular.png
/usr/share/icons/hicolor/32x32/apps/okular.png
/usr/share/icons/hicolor/48x48/apps/okular.png
/usr/share/icons/hicolor/64x64/apps/okular.png
/usr/share/kconf_update/okular.upd
/usr/share/licenses/okular
/usr/share/licenses/okular/COPYING
/usr/share/man/ca/man1/okular.1.gz
/usr/share/man/de/man1/okular.1.gz
/usr/share/man/es/man1/okular.1.gz
/usr/share/man/et/man1/okular.1.gz
/usr/share/man/fr/man1/okular.1.gz
/usr/share/man/it/man1/okular.1.gz
/usr/share/man/man1/okular.1.gz
/usr/share/man/nl/man1/okular.1.gz
/usr/share/man/pt/man1/okular.1.gz
/usr/share/man/pt_BR/man1/okular.1.gz
/usr/share/man/ru/man1/okular.1.gz
/usr/share/man/sv/man1/okular.1.gz
/usr/share/man/uk/man1/okular.1.gz
/usr/share/metainfo/org.kde.okular-comicbook.metainfo.xml
/usr/share/metainfo/org.kde.okular-dvi.metainfo.xml
/usr/share/metainfo/org.kde.okular-fax.metainfo.xml
/usr/share/metainfo/org.kde.okular-fb.metainfo.xml
/usr/share/metainfo/org.kde.okular-kimgio.metainfo.xml
/usr/share/metainfo/org.kde.okular-md.metainfo.xml
/usr/share/metainfo/org.kde.okular-mobipocket.metainfo.xml
/usr/share/metainfo/org.kde.okular-ooo.metainfo.xml
/usr/share/metainfo/org.kde.okular-plucker.metainfo.xml
/usr/share/metainfo/org.kde.okular-poppler.metainfo.xml
/usr/share/metainfo/org.kde.okular-spectre.metainfo.xml
/usr/share/metainfo/org.kde.okular-tiff.metainfo.xml
/usr/share/metainfo/org.kde.okular-txt.metainfo.xml
/usr/share/metainfo/org.kde.okular-xps.metainfo.xml
/usr/share/metainfo/org.kde.okular.appdata.xml
/usr/share/okular
/usr/share/okular/drawingtools.xml
/usr/share/okular/icons
/usr/share/okular/icons/hicolor
/usr/share/okular/icons/hicolor/16x16
/usr/share/okular/icons/hicolor/16x16/apps
/usr/share/okular/icons/hicolor/16x16/apps/okular-fb2.png
/usr/share/okular/icons/hicolor/16x16/apps/okular-gv.png
/usr/share/okular/icons/hicolor/32x32
/usr/share/okular/icons/hicolor/32x32/apps
/usr/share/okular/icons/hicolor/32x32/apps/okular-fb2.png
/usr/share/okular/icons/hicolor/32x32/apps/okular-gv.png
/usr/share/okular/icons/hicolor/48x48
/usr/share/okular/icons/hicolor/48x48/apps
/usr/share/okular/icons/hicolor/48x48/apps/okular-fb2.png
/usr/share/okular/pics
/usr/share/okular/pics/checkmark.png
/usr/share/okular/pics/circle.png
/usr/share/okular/pics/comment.png
/usr/share/okular/pics/cross.png
/usr/share/okular/pics/help.png
/usr/share/okular/pics/insert.png
/usr/share/okular/pics/key.png
/usr/share/okular/pics/newparagraph.png
/usr/share/okular/pics/note.png
/usr/share/okular/pics/paperclip.png
/usr/share/okular/pics/paragraph.png
/usr/share/okular/pics/pushpin.png
/usr/share/okular/pics/rightarrow.png
/usr/share/okular/pics/rightpointer.png
/usr/share/okular/pics/stamps.svg
/usr/share/okular/pics/star.png
/usr/share/okular/pics/tool-base-okular.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/tool-highlighter-okular-colorizable.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/tool-ink-okular-colorizable.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/tool-note-inline-okular-colorizable.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/tool-note-inline.png
/usr/share/okular/pics/tool-note-okular-colorizable.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/tool-note.png
/usr/share/okular/pics/tool-typewriter-okular-colorizable.png
/usr/share/okular/pics/[email protected]
/usr/share/okular/pics/uparrow.png
/usr/share/okular/pics/upleftarrow.png
/usr/share/okular/tools.xml
/usr/share/qlogging-categories5/okular.categories

References

Summary

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