How to Install Okular on Fedora 36 Linux

Okular is a free and open-source multiplatform document viewer developed by the KDE community and based on Qt and KDE Frameworks libraries. The document viewer is distributed as part of the KDE Applications bundle. Its origins are from KPDF, and it replaces KPDF, KGhostView, KFax, KFaxview, and KDVI in KDE 4.


  • Supported Formats: PDF, PS, Tiff, CHM, DjVu, Images, DVI, XPS, Fiction Book, Comic Book, Plucker, EPub, Fax
  • Sidebar with contents, thumbnails, reviews, and bookmarks
  • Annotations support

For users that may be undecided about trying out Okular, I would suggest checking out the official website to see some examples of Okular document viewers.

In the following tutorial, you will learn to install the Okular on Fedora 36 Linux Jammy Jellyfish using one of the two listed methods: dnf package manager, flatpak package manager, with some tips for maintaining or removing Okular in the future.

Update Fedora Linux

Before you begin, make sure your system is up-to-date to avoid any conflicts during the installation, and for good practice, use the terminal command as follows.

sudo dnf upgrade --refresh

Install Okular – DNF Method

The first option is to use the Fedora default DNF repository. This is a stable and secure version and is most recommended to install over any other package manager but can be outdated compared to Flatpaks alternative option that is usually up-to-date.

First, execute the following DNF install command.

sudo dnf install okular -y

An alternative version will be to install Okular using Flatpak, which is also natively installed; this sometimes may contain newer versions. Still, unlike other Linux distributions, often the Fedora repository contains the same version or one behind compared to CentOS, which may be several.

Install Okular – Flatpak Method

The second option is to use the Flatpak package manager. This comes installed on Fedora unless you removed it. This is another popular option similar to Snap but is featured amongst many distributions as an alternative third-party installation package manager for the latest packages.

First, re-install Flatpak if you have removed the package manager previously.

sudo dnf install flatpak -y

Next, you need to enable Flatpack using the following command in your terminal.

sudo flatpak remote-add --if-not-exists flathub

Ideally, you should reboot at this stage; if you skip this and notice icons not appearing, the reboot will generate the paths required for the future.


Now run the installation using the following flatpak command.

flatpak install flathub org.kde.okular -y

If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’ use the following command.

flatpak remote-modify --enable flathub

This will fix the issue.

How to Launch Okular

Now that you have the software installed, launching can be done in a few ways.

First, you can launch the application immediately by typing the following command in your terminal.


If you would like to launch Okular and continue using the terminal, use the <application-name> & command.

okular &

Lastly, Flatpak users can run from the terminal using the following command.

flatpak run org.kde.okular

However, this isn’t practical, and you would use the following path on your desktop to open it.

Activities (top-right corner) > Show Applications > Okular


How to Install Okular on Fedora 36 Linux

Once you open Okular, you will see the first default landing screen, where you can begin to use the document viewer. Compared to the bare-bones default viewer window, the settings menu has a few configuration operations to customize the look and operation.


How to Install Okular on Fedora 36 Linux

How to Update/Upgrade Okular

Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless use one of the following commands to check for updates.

DNF Method

sudo dnf update --refresh

Flatpak Method

flatpak update

How to Remove (Uninstall) Okular

Use one of the following commands to suit the original installation method for users who no longer require the application.

DNF Remove Method

sudo dnf autoremove okular -y

Note that autoremove will also delete any unused packages from Okular and any other leftovers from previous applications. Most times, this is safe to do and should be done to keep your system from being bloated.

Flatpak Remove Method

flatpak remove  --delete-data org.kde.okular -y

Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the DNF remove example command.

flatpak remove --unused

Comments and Conclusion

In the tutorial, you have learned how to install Okular on Fedora 36 Linux using one of the three installation methods.

If you are looking for a versatile and powerful document viewer who can work on multiple platforms, Okular is excellent. It has all the features you need to view your documents easily, and the KDE community is constantly improving it. Give it a try today!


Like to get automatic updates? Follow us on one of our social media accounts!