dumppdf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dumppdf: command not found
or when using sudo you get the following error message
sudo: dumppdf: command not found
Solutions to dumppdf: command not found
How To Fix dumppdf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dumppdf is provided by python3-pdfminer package.
python3-pdfminer is:
PDFMiner is a tool for extracting information from PDF documents, which focuses entirely on getting and analyzing text data. It allows one to obtain the exact location of text portions in a page, as well as other information such as fonts or lines. It includes a PDF converter that can transform PDF files into other text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes than text analysis.
This package provides the Python3 module and the command-line tools: pdf2txt, dumppdf and latin2ascii.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pdfminer
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pdfminer.
sudo apt -y install python3-pdfminer
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pdfminer
Summary
In this tutorial we learn how to fix dumppdf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.