whiptail command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
whiptail: command not found
or when using sudo you get the following error message
sudo: whiptail: command not found
Solutions to whiptail: command not found
How To Fix whiptail: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu whiptail is provided by whiptail package.
whiptail is:
Whiptail is a “dialog” replacement using newt instead of ncurses. It provides a method of displaying several different types of dialog boxes from shell scripts. This allows a developer of a script to interact with the user in a much friendlier manner.
To fix this problem, we can install more using the command below.
sudo apt-get -y install whiptail
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install whiptail.
sudo apt -y install whiptail
Or if you have aptitude installed you can use the following command.
sudo aptitude install whiptail
Summary
In this tutorial we learn how to fix whiptail command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.