How To Install away on Debian 11
Introduction
In this tutorial we learn how to install away
on Debian 11.
What is away
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.
There are three methods to install away
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install away Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install away
using apt-get
by running the following command:
sudo apt-get -y install away
Install away Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install away
using apt
by running the following command:
sudo apt -y install away
Install away Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install away
using aptitude
by running the following command:
sudo aptitude -y install away
How To Uninstall away on Debian 11
To uninstall only the away
package we can use the following command:
sudo apt-get remove away
Uninstall away And Its Dependencies
To uninstall away
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove away
Remove away Configurations and Data
To remove away
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge away
Remove away configuration, data, and all of its dependencies
We can use the following command to remove away
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge away
Dependencies
away have the following dependencies:
References
Summary
In this tutorial we learn how to install away
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.