How To Install pnm2ppa on CentOS 8

pnm2ppa is Drivers for printing to HP PPA printers

Introduction

In this tutorial we learn how to install pnm2ppa on CentOS 8.

What is pnm2ppa

Pnm2ppa is a color driver for HP PPA host-based printers such as the HP710C, 712C, 720C, 722C, 820Cse, 820Cxi, 1000Cse, and 1000Cxi. Pnm2ppa accepts Ghostscript output in PPM format and sends it to the printer in PPA format. Install pnm2ppa if you need to print to a PPA printer.

We can use yum or dnf to install pnm2ppa on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pnm2ppa.

Install pnm2ppa on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install pnm2ppa using dnf by running the following command:

sudo dnf -y install pnm2ppa

Install pnm2ppa on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install pnm2ppa using yum by running the following command:

sudo yum -y install pnm2ppa

How To Uninstall pnm2ppa on CentOS 8

To uninstall only the pnm2ppa package we can use the following command:

sudo dnf remove pnm2ppa

pnm2ppa Package Contents on CentOS 8

/etc/pbm2ppa.conf
/etc/pnm2ppa.conf
/usr/bin/calibrate_ppa
/usr/bin/detect_ppa
/usr/bin/pbm2ppa
/usr/bin/pbmtpg
/usr/bin/pnm2ppa
/usr/bin/test_ppa
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/399cec83f73d4652c53d62bcd3bc347de3454c
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/ad6ec084f37458ccecd7d15841c523aa0221fd
/usr/lib/.build-id/21
/usr/lib/.build-id/21/907497513f010e0f90c67ed3b5fc00316bb5ca
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/31a3e9e5b561dc17690717c711b86bbf8bdc09
/usr/share/doc/pnm2ppa
/usr/share/doc/pnm2ppa/CALIBRATION.html
/usr/share/doc/pnm2ppa/CALIBRATION.txt
/usr/share/doc/pnm2ppa/COLOR.html
/usr/share/doc/pnm2ppa/COLOR.txt
/usr/share/doc/pnm2ppa/CREDITS
/usr/share/doc/pnm2ppa/INSTALL
/usr/share/doc/pnm2ppa/INSTALL.REDHAT.html
/usr/share/doc/pnm2ppa/INSTALL.REDHAT.txt
/usr/share/doc/pnm2ppa/README
/usr/share/doc/pnm2ppa/RELEASE-NOTES
/usr/share/doc/pnm2ppa/TODO
/usr/share/doc/pnm2ppa/pbm2ppa
/usr/share/doc/pnm2ppa/pbm2ppa/CALIBRATION
/usr/share/doc/pnm2ppa/pbm2ppa/CREDITS
/usr/share/doc/pnm2ppa/pbm2ppa/INSTALL
/usr/share/doc/pnm2ppa/pbm2ppa/INSTALL-MORE
/usr/share/doc/pnm2ppa/pbm2ppa/LICENSE
/usr/share/doc/pnm2ppa/pbm2ppa/README
/usr/share/doc/pnm2ppa/test.ps
/usr/share/licenses/pnm2ppa
/usr/share/licenses/pnm2ppa/LICENSE
/usr/share/man/man1/pbm2ppa.1.gz
/usr/share/man/man1/pnm2ppa.1.gz

References

Summary

In this tutorial we learn how to install pnm2ppa on CentOS 8 using yum and dnf.