mupdf command not found

In this troubleshooting guide we learn how to fix mupdf command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mupdf: command not found

or when using sudo you get the following error message

sudo: mupdf: command not found

Solutions to mupdf: command not found

How To Fix mupdf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mupdf is provided by mupdf package.

mupdf is:

MuPDF is a lightweight PDF viewer and toolkit written in portable C. It also reads XPS, OpenXPS and ePub documents.

The renderer in MuPDF is tailored for high quality anti-aliased graphics. It 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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mupdf

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mupdf.

sudo apt -y install mupdf

Or if you have aptitude installed you can use the following command.

sudo aptitude install mupdf

Summary

In this tutorial we learn how to fix mupdf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.