Okular-24.02.2

Introduction to Okular

Okular is a document viewer for KDE. It can view documents of many types including PDF, PostScript, TIFF, DjVu, DVI, XPS, and ePub.

[Note]

Note

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.

Package Information

Okular Dependencies

Required

KDE Frameworks-6.1.0 and plasma-activities-6.0.3

Recommended

Optional

qca-2.3.8, discount, DjVuLibre, libspectre libepub, and LibZip

Installation of Okular

Install Okular by running the following commands:

[Note]

Note

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 -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
      -DCMAKE_BUILD_TYPE=Release         \
      -DBUILD_TESTING=OFF                \
      -DFORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
      -Wno-dev .. &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Contents

Installed Program: okular
Installed Library: Okular6Core.so
Installed Directories: $KF6_PREFIX/include/okular, $KF6_PREFIX/lib/cmake/Okular6, $KF6_PREFIX/lib/plugins/okular, $KF6_PREFIX/share/okular, and $KF6_PREFIX/share/doc/HTML/*/okular

Short Descriptions

okular

is a document viewer