How To Install system-config-printer on Ubuntu 18.04

In this tutorial we learn how to install system-config-printer on Ubuntu 18.04. system-config-printer is graphical interface to configure the printing system

Introduction

In this tutorial we learn how to install system-config-printer on Ubuntu 18.04.

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 Ubuntu 18.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 18.04

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 Ubuntu 18.04, 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 Ubuntu 18.04 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

References

Summary

In this tutorial we learn how to install system-config-printer package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.