How To Install djview4 on Fedora 34

djview4 is DjVu viewer

Introduction

In this tutorial we learn how to install djview4 on Fedora 34.

What is djview4

DjView4 is a DjVu document viewer with the following features o continuous scrolling of pages o side-by-side display of pages o display thumbnails as a grid o display outlines o page names supported o metadata dialog It is based on DjVuLibre and Qt5.

We can use yum or dnf to install djview4 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install djview4.

Install djview4 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install djview4 using dnf by running the following command:

sudo dnf -y install djview4

Install djview4 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install djview4 using yum by running the following command:

sudo yum -y install djview4

How To Uninstall djview4 on Fedora 34

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

sudo dnf remove djview4

djview4 Package Contents on Fedora 34

/usr/bin/djview4
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/219e14393a77b9b8a5204de70a451eb074ca11
/usr/share/applications/djvulibre-djview4.desktop
/usr/share/djvu
/usr/share/djvu/djview4
/usr/share/djvu/djview4/djview_cs.qm
/usr/share/djvu/djview4/djview_de.qm
/usr/share/djvu/djview4/djview_es.qm
/usr/share/djvu/djview4/djview_fr.qm
/usr/share/djvu/djview4/djview_ru.qm
/usr/share/djvu/djview4/djview_uk.qm
/usr/share/djvu/djview4/djview_zh_cn.qm
/usr/share/djvu/djview4/djview_zh_tw.qm
/usr/share/doc/djview4
/usr/share/doc/djview4/COPYING
/usr/share/doc/djview4/COPYRIGHT
/usr/share/doc/djview4/NEWS
/usr/share/doc/djview4/README
/usr/share/icons/hicolor/32x32/mimetypes/djvulibre-djview4.png
/usr/share/icons/hicolor/64x64/mimetypes/djvulibre-djview4.png
/usr/share/icons/hicolor/scalable/mimetypes/djvulibre-djview4.svgz
/usr/share/man/man1/djview4.1*.gz

References

Summary

In this tutorial we learn how to install djview4 on Fedora 34 using yum and dnf.