MuPDF-1.16.1

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 50. PostScript

- Prev

  fop-2.3

- Next

  paps-0.6.8

- Up
- Home

# MuPDF-1.16.1

## Introduction to MuPDF

MuPDF is a lightweight PDF and XPS viewer.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): http://www.mupdf.com/downloads/archive/mupdf-1.16.1-source.tar.gz

- Download MD5 sum: fe6ef7a800d4283c6ca14b22e0e7f748

- Download size: 58 MB

- Estimated disk space required: 238 MB

- Estimated build time: 0.1 SBU (Using parallelism=4)

### Additional Downloads

- Recommended patch: http://www.linuxfromscratch.org/patches/blfs/9.0/mupdf-1.16.1-shared_libs-1.patch

### MuPDF Dependencies

#### Required

Xorg Libraries

#### Recommended

Freeglut-3.0.0, HarfBuzz-2.6.0, libjpeg-turbo-2.0.2, OpenJPEG-2.3.1, and cURL-7.65.3

#### Optional

xdg-utils-1.1.3 (runtime), jbig2dec, and MuJS

#### Required (runtime)

X Window System

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mupdf

## Installation of MuPDF

Install MuPDF by running the following commands:

    patch -Np1 -i ../mupdf-1.16.1-shared_libs-1.patch &&

    USE_SYSTEM_LIBS=yes make

This package does not come with a test suite.

Now, as the `root` user:

    USE_SYSTEM_LIBS=yes                     \
    make prefix=/usr                        \
         build=release                      \
         docdir=/usr/share/doc/mupdf-1.16.1 \
         install                            &&

    ln -sfv mupdf-x11 /usr/bin/mupdf        &&
    ldconfig

## Command Explanations

ln -sfv mupdf-x11 /usr/bin/mupdf : This symbolic link chooses between mupdf-gl and mupdf-x11 when running mupdf.

## Contents

Installed Program: mupdf(symlink), mupdf-gl, mupdf-x11, and mutool
Installed Libraries: libmupdf.so, libmupdfthird.so, libmupkcs7.so, and libmuthreads.so
Installed Directories: /usr/include/mupdf, /usr/share/doc/mupdf-1.16.1

### Short Descriptions

mupdf | is a program for viewing PDF, XPS, EPUB, and CBZ documents, and various image formats such as PNG, JPEG, GIFF, and TIFF.
mupdf-gl | same as mupdf, using an opengl renderer.
mupdf-x11 | same as mupdf, using an X Window renderer.
`libmupdf.so` | contains the mupdf API functions.
`libmupdfthird.so` | contains the third party libraries compiled for mudpf.

Last updated on 2019-08-19 11:11:15 -0700

- Prev

  fop-2.3

- Next

  paps-0.6.8

- Up
- Home