Introduction
In this tutorial we learn how to install system-config-printer
on Kali Linux.
What is system-config-printer
system-config-printer is:
System-config-printer is a GUI written in Python using GTK+ to
configure a CUPS server. Its primary use is to configure the printing
system on the local host, but can also be used to setup a remote
printer.
In terms of features, it aims to be as complete as the CUPS web
administration tool, while being integrated to the desktop.
There are three methods to install system-config-printer
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 system-config-printer Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install system-config-printer
using apt-get
by running the following command:
sudo apt-get -y install system-config-printer
Install system-config-printer Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install system-config-printer
using apt
by running the following command:
sudo apt -y install system-config-printer
Install system-config-printer 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 update
After updating apt database, We can install system-config-printer
using aptitude
by running the following command:
sudo aptitude -y install system-config-printer
How To Uninstall system-config-printer on Kali Linux
To uninstall only the system-config-printer
package we can use the following command:
sudo apt-get remove system-config-printer
Uninstall system-config-printer And Its Dependencies
To uninstall system-config-printer
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove system-config-printer
Remove system-config-printer Configurations and Data
To remove system-config-printer
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge system-config-printer
Remove system-config-printer configuration, data, and all of its dependencies
We can use the following command to remove system-config-printer
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge system-config-printer
Dependencies
system-config-printer have the following dependencies:
- gir1.2-gdkpixbuf-2.0
- gir1.2-glib-2.0
- gir1.2-gtk-3.0
- gir1.2-notify-0.7
- gir1.2-packagekitglib-1.0
- gir1.2-pango-1.0
- gir1.2-polkit-1.0
- python3-cups
- python3-cupshelpers
- python3-dbus
- python3-gi
- system-config-printer-common
- python3
References
Summary
In this tutorial we learn how to install system-config-printer
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.