ps2lexmark command not found

In this troubleshooting guide we learn how to fix ps2lexmark command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ps2lexmark: command not found

or when using sudo you get the following error message

sudo: ps2lexmark: command not found

Solutions to ps2lexmark: command not found

How To Fix ps2lexmark: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ps2lexmark is provided by printer-driver-c2050 package.

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.

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install printer-driver-c2050.

sudo apt -y install printer-driver-c2050

Or if you have aptitude installed you can use the following command.

sudo aptitude install printer-driver-c2050

Summary

In this tutorial we learn how to fix ps2lexmark command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.