away command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
away: command not found
or when using sudo you get the following error message
sudo: away: command not found
Solutions to away: command not found
How To Fix away: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu away is provided by away package.
away is:
Away is a simple program that locks your terminal, checks for new mail in any given number of mailboxes, and lets others know why you are inactive.
Away puts the message specified why your are away into the output of the ‘w’ command, so that users looking for you can see that and why you are away (and not only idle for some time)
Away will also notify you if you have new mail. By default Away only checks for mail in a user’s $MAIL file, but by using the awayrc file, a user can configure any given number of mailboxes to be checked.
Away also uses PAM to lock your terminal in the way xlock locks an X11 session.
To fix this problem, we can install more using the command below.
sudo apt-get -y install away
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install away.
sudo apt -y install away
Or if you have aptitude installed you can use the following command.
sudo aptitude install away
Summary
In this tutorial we learn how to fix away command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.