Okular is a document viewer for KDE. It can view documents of many types including PDF, PostScript, TIFF, Microsoft CHM, DjVu, DVI, XPS and ePub.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://download.kde.org/stable/release-service/22.04.1/src/okular-22.04.1.tar.xz
Download MD5 sum: 01650a632a06b9b21d4772f935785296
Download size: 7.8 MB
Estimated disk space required: 76 MB
Estimated build time: 0.8 SBU (using parallelism=4)
libkexiv2-22.04.1, libtiff-4.3.0, and Poppler-22.05.0 (built with Qt5, required for PDF support)
qca-2.3.4, DjVuLibre, kpimtextedit, libspectre (for PostScript support), libchm, libepub, and Mobipocket
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/okular5
Install Okular by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev .. && make
This package does not come with a test suite.
Now, as the root
user:
make install