Okular is a document viewer for KDE. It can view documents of many types including PDF, PostScript, TIFF, DjVu, DVI, XPS, and ePub.
![[Note]](../images/note.png) 
          Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.kde.org/stable/release-service/25.08.0/src/okular-25.08.0.tar.xz
Download MD5 sum: 1a3315cc4c487e6c499f738f14b9396b
Download size: 7.8 MB
Estimated disk space required: 96 MB
Estimated build time: 1.1 SBU (using parallelism=4)
KDE Frameworks-6.17.0 and plasma-activities-6.4.4
libkexiv2-25.08.0, libtiff-4.7.1, phonon-4.12.0, and Poppler-25.10.0 (built with Qt6, required for PDF support)
qca-2.3.10, discount, DjVuLibre, libspectre, libepub, and LibZip
Install Okular by running the following commands:
![[Note]](../images/note.png) 
          If any of the optional dependencies are installed, remove the associated reference in the SKIP_OPTIONAL environment variable.
mkdir build &&
cd    build &&
SKIP_OPTIONAL='Discount;DjVuLibre;EPub;LibSpectre;LibZip'
cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \
      -D CMAKE_BUILD_TYPE=Release         \
      -D BUILD_TESTING=OFF                \
      -D FORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
      -W no-dev .. &&
make
        This package does not come with a test suite.
          Now, as the root user:
        
make install