hello command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
hello: command not found
or when using sudo you get the following error message
sudo: hello: command not found
Solutions to hello: command not found
How To Fix hello: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu hello is provided by hello-traditional package.
hello-traditional is:
The GNU hello program produces a familiar, friendly greeting. It allows non-programmers to use a classic computer science tool which would otherwise be unavailable to them.
Seriously, though: this is an example of how to do a Debian package. It is the Debian version of the GNU Project’s `hello world’ program (which is itself an example for the GNU Project).
This is the same as the hello package, except it does not use debhelper (hence the “traditional” suffix).
To fix this problem, we can install more using the command below.
sudo apt-get -y install hello-traditional
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hello-traditional.
sudo apt -y install hello-traditional
Or if you have aptitude installed you can use the following command.
sudo aptitude install hello-traditional
Summary
In this tutorial we learn how to fix hello command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.