hp-systray command not found

In this troubleshooting guide we learn how to fix hp-systray command not found error message

Introduction

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

hp-systray: command not found

or when using sudo you get the following error message

sudo: hp-systray: command not found

Solutions to hp-systray: command not found

How To Fix hp-systray: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hp-systray is provided by hplip-gui package.

hplip-gui is:

The HP Linux Printing and Imaging System provides full support for printing on most HP SFP (single function peripheral) inkjets and many LaserJets, and for scanning, sending faxes and for photo-card access on most HP MFP (multi-function peripheral) printers.

This package contains utilities with graphical user interface (GUI) for HPLIP: HP Toolbox, HP Fax, …

Note that all GUI utilities are based on the Qt GUI environment. There are currently no equivalent utilities based on GTK+.

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

sudo apt-get -y install hplip-gui

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

You can also use apt command to install hplip-gui.

sudo apt -y install hplip-gui

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

sudo aptitude install hplip-gui

Summary

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