How To Install mupdf on Fedora 36

In this tutorial we learn how to install mupdf in Fedora 36. mupdf is A lightweight PDF viewer and toolkit

Introduction

In this tutorial we learn how to install mupdf on Fedora 36.

What is mupdf

MuPDF is a lightweight PDF viewer and toolkit written in portable C. The renderer in MuPDF is tailored for high quality anti-aliased graphics. MuPDF renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. MuPDF has a small footprint. A binary that includes the standard Roman fonts is only one megabyte. A build with full CJK support (including an Asian font) is approximately seven megabytes. MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit provides a simple API for accessing the internal structures of the PDF document. Example code for navigating interactive links and bookmarks, encrypting PDF files, extracting fonts, images, and searchable text, and rendering pages to image files is provided.

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

Install mupdf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mupdf

Install mupdf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mupdf

How To Uninstall mupdf on Fedora 36

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

sudo dnf remove mupdf

mupdf Package Contents on Fedora 36

/usr/bin/mupdf
/usr/bin/mupdf-gl
/usr/bin/mupdf-x11
/usr/bin/mupdf-x11-curl
/usr/bin/muraster
/usr/bin/mutool
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/4b684030c6008d4d5ff7d5963140d035024b77
/usr/lib/.build-id/29
/usr/lib/.build-id/29/31bd951e7014d8752dad3439a061fedfa60891
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/ae4d79dad172dff484bc0450acb7dec06ea780
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/c538fb183e120907a64e242bfd5b13af4ebb5b
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/10969b336593a378ec2aa18da18c2c2f5c9801
/usr/share/applications/mupdf-gl.desktop
/usr/share/applications/mupdf.desktop
/usr/share/doc/mupdf
/usr/share/doc/mupdf/CHANGES
/usr/share/doc/mupdf/README
/usr/share/doc/mupdf/android-sdk.html
/usr/share/doc/mupdf/api
/usr/share/doc/mupdf/api/changes.html
/usr/share/doc/mupdf/api/core.html
/usr/share/doc/mupdf/api/graphics.html
/usr/share/doc/mupdf/api/index.html
/usr/share/doc/mupdf/api/io.html
/usr/share/doc/mupdf/artifex-logo.png
/usr/share/doc/mupdf/building.html
/usr/share/doc/mupdf/coding-overview.html
/usr/share/doc/mupdf/coding-progressive.html
/usr/share/doc/mupdf/coding-style.html
/usr/share/doc/mupdf/ecosystem.dot
/usr/share/doc/mupdf/ecosystem.html
/usr/share/doc/mupdf/ecosystem.png
/usr/share/doc/mupdf/examples
/usr/share/doc/mupdf/examples/bbox-device.js
/usr/share/doc/mupdf/examples/create-thumbnail.js
/usr/share/doc/mupdf/examples/draw-device.js
/usr/share/doc/mupdf/examples/draw-document.js
/usr/share/doc/mupdf/examples/example.c
/usr/share/doc/mupdf/examples/fix-s22pdf.js
/usr/share/doc/mupdf/examples/jpx-to-pdf.js
/usr/share/doc/mupdf/examples/multi-threaded.c
/usr/share/doc/mupdf/examples/pdf-create-lowlevel.js
/usr/share/doc/mupdf/examples/pdf-create.js
/usr/share/doc/mupdf/examples/pdf-dejpx.js
/usr/share/doc/mupdf/examples/pdf-extract-rich-media.js
/usr/share/doc/mupdf/examples/pdf-merge.js
/usr/share/doc/mupdf/examples/pdf-portfolio.js
/usr/share/doc/mupdf/examples/pdf-trace.js
/usr/share/doc/mupdf/examples/trace-device.js
/usr/share/doc/mupdf/index.html
/usr/share/doc/mupdf/logo
/usr/share/doc/mupdf/logo/mupdf-icon.png
/usr/share/doc/mupdf/logo/mupdf-logo.svg
/usr/share/doc/mupdf/logo/mupdf-simplified-logo.png
/usr/share/doc/mupdf/logo/mupdf-simplified-logo.xcf.bz2
/usr/share/doc/mupdf/logo/mupdf.png
/usr/share/doc/mupdf/logo/mupdf.xpm
/usr/share/doc/mupdf/logo/new-mupdf-icon.svg
/usr/share/doc/mupdf/man
/usr/share/doc/mupdf/man/mupdf.1
/usr/share/doc/mupdf/man/mutool.1
/usr/share/doc/mupdf/manual-mupdf-gl.html
/usr/share/doc/mupdf/manual-mutool-clean.html
/usr/share/doc/mupdf/manual-mutool-convert.html
/usr/share/doc/mupdf/manual-mutool-create.html
/usr/share/doc/mupdf/manual-mutool-draw.html
/usr/share/doc/mupdf/manual-mutool-extract.html
/usr/share/doc/mupdf/manual-mutool-info.html
/usr/share/doc/mupdf/manual-mutool-merge.html
/usr/share/doc/mupdf/manual-mutool-pages.html
/usr/share/doc/mupdf/manual-mutool-poster.html
/usr/share/doc/mupdf/manual-mutool-run.html
/usr/share/doc/mupdf/manual-mutool-show.html
/usr/share/doc/mupdf/manual-mutool-sign.html
/usr/share/doc/mupdf/manual-mutool-trace.html
/usr/share/doc/mupdf/style.css
/usr/share/doc/mupdf/template.html
/usr/share/doc/mupdf/thirdparty.html
/usr/share/icons/hicolor/scalable/apps/mupdf-gl.svg
/usr/share/icons/hicolor/scalable/apps/mupdf.svg
/usr/share/licenses/mupdf
/usr/share/licenses/mupdf/COPYING
/usr/share/man/man1/mupdf.1.gz
/usr/share/man/man1/mutool.1.gz

References

Summary

In this tutorial we learn how to install mupdf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).