xpdf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xpdf: command not found
or when using sudo you get the following error message
sudo: xpdf: command not found
Solutions to xpdf: command not found
How To Fix xpdf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xpdf is provided by xpdf package.
xpdf is:
xpdf is a light-weight open source viewer for Portable Document Format (PDF) files (also called ‘Adobe Acrobat’ or ‘Acrobat’ files). This is just the xpdf viewer client; various command-line pdf tools are now provided via the poppler-utils package.
Debian’s xpdf is a fork of Xpdf version 3, modified to use the Poppler PDF rendering library but keeping the Motif toolkit, and nowadays maintained as the xpopple project.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xpdf
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xpdf.
sudo apt -y install xpdf
Or if you have aptitude installed you can use the following command.
sudo aptitude install xpdf
Summary
In this tutorial we learn how to fix xpdf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.