gxmessage command not found

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

Introduction

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

gxmessage: command not found

or when using sudo you get the following error message

sudo: gxmessage: command not found

Solutions to gxmessage: command not found

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

In Ubuntu gxmessage is provided by gxmessage package.

gxmessage is:

gxmessage provides an easy way to display scriptable pop-up dialogs. Based on the GIMP Toolkit, gxmessage fits in well with desktops such as GNOME, Xfce, and ROX.

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

sudo apt-get -y install gxmessage

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

You can also use apt command to install gxmessage.

sudo apt -y install gxmessage

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

sudo aptitude install gxmessage

Summary

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