gtklp command not found

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

Introduction

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

gtklp: command not found

or when using sudo you get the following error message

sudo: gtklp: command not found

Solutions to gtklp: command not found

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

In Ubuntu gtklp is provided by gtklp package.

gtklp is:

GtkLP lets you print files under the Common Unix Printing System (CUPS). Written in GTK+ 2.0 and for the GNOME desktop environment, it supports multiple option settings for each printer it knows, with all the standard CUPS options available.

Other features include localized dialogs for several languages, as well as multiple interfaces; with a little more effort, you can use GtkLP as a drop-in replacement for `lp'.

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

sudo apt-get -y install gtklp

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

You can also use apt command to install gtklp.

sudo apt -y install gtklp

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

sudo aptitude install gtklp

Summary

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