Hello Linux Geeksters. As you may know, MuPDF is an open-source, lightweight PDF viewer written in C, with all the basic features of any other PDF viewer and vim-like keybinds.
The latest version available is MuPDF 1.7, which has been recently released, coming with the below changes:
Headline changes:
- New ‘Indie dev’ licensing options – contact sales@artifex.com for more details.
- New HTML layout engine, and (DRM-free) EPUB viewer.
- Reduced memory usage – displaylists and internal PDF representation take much less memory, reducing total memory use on some files by over 60%.
Important API changes:
- Bound contexts have been removed; we now pass fz_contexts explicitly.
- Reference counting of paths and text structures.
Features:
- Add mutool pages option.
- Tweaked rendering to prevent feature dropout in common cases.
- Viewer tweaks
- Better mouse wheel handling
- Shift-space support
- Mouse button control of presentation mode
- Failed reloads do not close document
Internal changes:
- PDF filter revamp – simpler interface.
- Devices use derived structures rather than user pointer.
- Sparse PDF xrefs held in more compact form.
- New gsview viewer split out to its own repository.
Bug fixes
- Improved handling of broken files.
- Fix BBoxes of Type 3 fonts.
- Updated fonts (including greek and cyrillic).
- Various memory leaks and crashes.
- And many more.
In this article I will show you how to install MuPDF 1.7 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2 and other Ubuntu derivative systems.
For Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04 and derivative systems, MuPDF 1.7 is available via PPA, so installing it is easy. All you have to do is add the ppa to your system, update the local repository index and install the mupdf and mupdf-tools packages . Like this:
$ sudo add-apt-repository ppa:ubuntuhandbook1/apps
$ sudo apt-get update
$ sudo apt-get install mupdf mupdf-tools
For Ubuntu 14.10, we have to download the MuPDF files for Ubuntu 14.04 and the required dependencies and install the via command-line. Follow the instructions for your system’s architecture exactly, in order to get a successful installation.
How to install MuPDF 1.7 on 32 bit Ubuntu 14.10 systems:
$ sudo apt-get install gdebi
$ wget http://ftp.de.debian.org/debian/pool/main/o/openjpeg2/libopenjp2-7_2.1.0-2_i386.deb
$ sudo gdebi libopenjp2-7_2.1.0-2_i386.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/mupdf_1.7-3%7Etrusty0_i386.deb
$ sudo gdebi mupdf_1.7-3%7Etrusty0_i386.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/mupdf-tools_1.7-3%7Etrusty0_i386.deb
$ sudo gdebi mupdf-tools_1.7-3%7Etrusty0_i386.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/libmupdf-dev_1.7-3%7Etrusty0_i386.deb
$ sudo gdebi libmupdf-dev_1.7-3%7Etrusty0_i386.deb
How to install MuPDF 1.7 on 64 bit Ubuntu 14.10 systems:
$ sudo apt-get install gdebi
$ wget http://ftp.de.debian.org/debian/pool/main/o/openjpeg2/libopenjp2-7_2.1.0-2_amd64.deb
$ sudo gdebi libopenjp2-7_2.1.0-2_i386.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/mupdf_1.7-3%7Etrusty0_amd64.deb
$ sudo gdebi mupdf_1.7-3%7Etrusty0_amd64.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/mupdf-tools_1.7-3%7Etrusty0_amd64.deb
$ sudo gdebi mupdf-tools_1.7-3%7Etrusty0_amd64.deb
$ wget https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/apps/+files/libmupdf-dev_1.7-3%7Etrusty0_amd64.deb
$ sudo gdebi libmupdf-dev_1.7-3%7Etrusty0_amd64.deb