Tuesday, June 28, 2016

How to install MuPDF 1.9 on ubuntu

MuPDF is a free, 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.9, which has been recently released, coming with changes.

Headline changes:

    New command line tools: create and run.
    New low-level Java interface for desktop and android.
    Bidirectional layout for Arabic and Hebrew scripts.
    Shaping complex scripts for EPUB text layout.
    Noto fallback fonts for EPUB layout.

mutool create:

    Create new PDF files from scratch.
    Read an annotated content stream in a text file and write a PDF file, automatically embedding font and image resources.

mutool run:

    Run javascript scripts with MuPDF bindings.
    The interface is similar to the new Java interface.

mutool draw:

    Optional multi-threaded operation (Windows and pthreads).
    Optional low memory mode (primarily for testing).

Installation instructions:

In order to successfully install MuPDF on your Ubuntu system, you need to do is add the PPA to your system, update the local repository index and install the MuPDF package:

Open terminal and insert command line...

$ sudo add-apt-repository ppa:ubuntuhandbook1/apps

$ sudo apt-get update

$ sudo apt-get install mupdf mupdf-tools

Optional, to remove mupdf, do:

$ sudo apt-get remove mupdf mupdf-tools

No comments:

Post a Comment