How To Install printer-driver-c2050 on Ubuntu 18.04

In this tutorial we learn how to install printer-driver-c2050 on Ubuntu 18.04. printer-driver-c2050 is printer driver for Lexmark 2050 Color Jetprinter

Introduction

In this tutorial we learn how to install printer-driver-c2050 on Ubuntu 18.04.

What is printer-driver-c2050

printer-driver-c2050 is:

Filter to convert a Postscript file to Lexmark 2050 format.

This driver allows you to print at 300dpi in color on A4 paper.

There are three methods to install printer-driver-c2050 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 printer-driver-c2050 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install printer-driver-c2050 using apt-get by running the following command:

sudo apt-get -y install printer-driver-c2050

Install printer-driver-c2050 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install printer-driver-c2050 using apt by running the following command:

sudo apt -y install printer-driver-c2050

Install printer-driver-c2050 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 printer-driver-c2050 using aptitude by running the following command:

sudo aptitude -y install printer-driver-c2050

How To Uninstall printer-driver-c2050 on Ubuntu 18.04

To uninstall only the printer-driver-c2050 package we can use the following command:

sudo apt-get remove printer-driver-c2050

Uninstall printer-driver-c2050 And Its Dependencies

To uninstall printer-driver-c2050 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove printer-driver-c2050

Remove printer-driver-c2050 Configurations and Data

To remove printer-driver-c2050 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge printer-driver-c2050

Remove printer-driver-c2050 configuration, data, and all of its dependencies

We can use the following command to remove printer-driver-c2050 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge printer-driver-c2050

References

Summary

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