gdialog command not found

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

Introduction

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

gdialog: command not found

or when using sudo you get the following error message

sudo: gdialog: command not found

Solutions to gdialog: command not found

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

In Ubuntu gdialog is provided by zenity package.

zenity is:

Zenity allows you to display GTK+ dialogs from shell scripts; it is a rewrite of the `gdialog’ command from GNOME 1.

Zenity includes a gdialog wrapper script so that it can be used with legacy scripts.

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

sudo apt-get -y install zenity

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

You can also use apt command to install zenity.

sudo apt -y install zenity

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

sudo aptitude install zenity

Summary

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