gpr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpr: command not found
or when using sudo you get the following error message
sudo: gpr: command not found
Solutions to gpr: command not found
How To Fix gpr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpr is provided by gpr package.
gpr is:
gpr is a graphical interface to lpr that provides for easy configuration of printer-specific options. gpr interfaces with a PostScript printer’s PPD file to create a user-interface of configurable options. Based upon user choice, the device-specific option code is then inserted into the PostScript job and sent to the printer. This can be used to tell the printer to duplex or staple the print job, or tell it what paper tray to draw paper from. NOTE: gpr will detect if the file to be print is postscript, and, if not, it will call a2ps to preprocess it before sending it to ppdfilt and to lpr.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gpr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gpr.
sudo apt -y install gpr
Or if you have aptitude installed you can use the following command.
sudo aptitude install gpr
Summary
In this tutorial we learn how to fix gpr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.