How To Install uw-mailutils on Ubuntu 20.04
Introduction
In this tutorial we learn how to install uw-mailutils
on Ubuntu 20.04.
What is uw-mailutils
uw-mailutils is:
IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server.
The UW (University of Washington) IMAP toolkit provides the c-client mail-handling library supporting various network transport methods, file system storage formats, and authentication and authorization methods.
This package contains helper tools for the libc-client library:
- mailutil: utility program which helps manage email mailboxes (both local and IMAP/POP3/NNTP);
- dmail: MDA (Mail Delivery Agent) for use with procmail;
- tmail: MDA for use with the system mailer (such as Sendmail or Postfix).
There are three methods to install uw-mailutils
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install uw-mailutils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install uw-mailutils
using apt-get
by running the following command:
sudo apt-get -y install uw-mailutils
Install uw-mailutils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install uw-mailutils
using apt
by running the following command:
sudo apt -y install uw-mailutils
Install uw-mailutils 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install uw-mailutils
using aptitude
by running the following command:
sudo aptitude -y install uw-mailutils
How To Uninstall uw-mailutils on Ubuntu 20.04
To uninstall only the uw-mailutils
package we can use the following command:
sudo apt-get remove uw-mailutils
Uninstall uw-mailutils And Its Dependencies
To uninstall uw-mailutils
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove uw-mailutils
Remove uw-mailutils Configurations and Data
To remove uw-mailutils
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge uw-mailutils
Remove uw-mailutils configuration, data, and all of its dependencies
We can use the following command to remove uw-mailutils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge uw-mailutils
References
Summary
In this tutorial we learn how to install uw-mailutils
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.