when command not found
In this troubleshooting guide we learn how to fix when command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
when: command not found
or when using sudo you get the following error message
sudo: when: command not found
Solutions to when: command not found
How To Fix when: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu when is provided by when package.
when is:
Minimalistic personal calendar. It runs from the command line, and it uses a plain text file format, which you can edit using your favorite editor.
To fix this problem, we can install more using the command below.
sudo apt-get -y install when
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install when.
sudo apt -y install when
Or if you have aptitude installed you can use the following command.
sudo aptitude install when
Summary
In this tutorial we learn how to fix when command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.