How To Install mailman on Debian 10
Introduction
In this tutorial we learn how to install mailman
on Debian 10.
What is mailman
mailman is:
The GNU Mailing List Manager, which manages email discussion lists. Mailman gives each mailing list a web page, and allows users to subscribe, unsubscribe, etc. over the web. The list manager can administer his or her list entirely from the web.
Mailman also integrates most things people want to do with mailing lists, including archiving, mail <-> news gateways, and so on. It has all of the features you expect from such a product, plus integrated support for the web (including web based archiving), automated bounce handling and integrated spam prevention.
Note that this package contains the legacy (2.x) branch of Mailman. All new development happens in the Mailman 3 suite, available in Debian via the mailman3 metapackage.
There are three methods to install mailman
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mailman Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mailman
using apt-get
by running the following command:
sudo apt-get -y install mailman
Install mailman Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mailman
using apt
by running the following command:
sudo apt -y install mailman
Install mailman 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 mailman
using aptitude
by running the following command:
sudo aptitude -y install mailman
How To Uninstall mailman on Debian 10
To uninstall only the mailman
package we can use the following command:
sudo apt-get remove mailman
Uninstall mailman And Its Dependencies
To uninstall mailman
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove mailman
Remove mailman Configurations and Data
To remove mailman
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge mailman
Remove mailman configuration, data, and all of its dependencies
We can use the following command to remove mailman
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mailman
Dependencies
mailman have the following dependencies:
References
Summary
In this tutorial we learn how to install mailman
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.