How To Install mailutils-comsatd on Ubuntu 18.04

In this tutorial we learn how to install mailutils-comsatd on Ubuntu 18.04. mailutils-comsatd is GNU mailutils-based comsatd daemon

Introduction

In this tutorial we learn how to install mailutils-comsatd on Ubuntu 18.04.

What is mailutils-comsatd

mailutils-comsatd is:

GNU Mailutils is a rich and powerful protocol-independent mail framework. It contains a series of useful mail libraries, clients, and servers.

The GNU mailutils comsat daemon receives reports of incoming mail and notifies users who wish to get this service.

There are three methods to install mailutils-comsatd on Ubuntu 18.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 mailutils-comsatd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mailutils-comsatd using apt-get by running the following command:

sudo apt-get -y install mailutils-comsatd

Install mailutils-comsatd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mailutils-comsatd using apt by running the following command:

sudo apt -y install mailutils-comsatd

Install mailutils-comsatd 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 mailutils-comsatd using aptitude by running the following command:

sudo aptitude -y install mailutils-comsatd

How To Uninstall mailutils-comsatd on Ubuntu 18.04

To uninstall only the mailutils-comsatd package we can use the following command:

sudo apt-get remove mailutils-comsatd

Uninstall mailutils-comsatd And Its Dependencies

To uninstall mailutils-comsatd and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove mailutils-comsatd

Remove mailutils-comsatd Configurations and Data

To remove mailutils-comsatd configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mailutils-comsatd

Remove mailutils-comsatd configuration, data, and all of its dependencies

We can use the following command to remove mailutils-comsatd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mailutils-comsatd

References

Summary

In this tutorial we learn how to install mailutils-comsatd package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.