How To Install printer-driver-pnm2ppa on Kali Linux
Introduction
In this tutorial we learn how to install printer-driver-pnm2ppa on Kali Linux.
What is printer-driver-pnm2ppa
printer-driver-pnm2ppa is:
Using pnm2ppa it’s possible to run HP-GDI printers on Linux. These printers are normally “Windows-only” and use the PPA protocol which is proprietary. pnm2ppa supports color.
pnm2ppa supports the following printers: HP Deskjet 7XX Series, HP Deskjet 820 Series and HP Deskjet 1000 Series.
There are three methods to install printer-driver-pnm2ppa on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install printer-driver-pnm2ppa Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install printer-driver-pnm2ppa using apt-get by running the following command:
sudo apt-get -y install printer-driver-pnm2ppaInstall printer-driver-pnm2ppa Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install printer-driver-pnm2ppa using apt by running the following command:
sudo apt -y install printer-driver-pnm2ppaInstall printer-driver-pnm2ppa Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install printer-driver-pnm2ppa using aptitude by running the following command:
sudo aptitude -y install printer-driver-pnm2ppaHow To Uninstall printer-driver-pnm2ppa on Kali Linux
To uninstall only the printer-driver-pnm2ppa package we can use the following command:
sudo apt-get remove printer-driver-pnm2ppaUninstall printer-driver-pnm2ppa And Its Dependencies
To uninstall printer-driver-pnm2ppa and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove printer-driver-pnm2ppaRemove printer-driver-pnm2ppa Configurations and Data
To remove printer-driver-pnm2ppa configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge printer-driver-pnm2ppaRemove printer-driver-pnm2ppa configuration, data, and all of its dependencies
We can use the following command to remove printer-driver-pnm2ppa configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge printer-driver-pnm2ppaDependencies
printer-driver-pnm2ppa have the following dependencies:
References
Summary
In this tutorial we learn how to install printer-driver-pnm2ppa package on Kali Linux using different package management tools: apt, apt-get and aptitude.