How To Install mailman on AlmaLinux 8

In this tutorial we learn how to install mailman in AlmaLinux 8. mailman is Mailing list manager with built in Web access

Introduction

In this tutorial we learn how to install mailman on AlmaLinux 8.

What is mailman

Mailman is software to help manage email discussion lists, much like Majordomo and Smartmail. Unlike most similar products, Mailman gives each mailing list a webpage, and allows users to subscribe, unsubscribe, etc. over the Web. Even 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. Documentation can be found in When the package has finished installing, you will need to perform some additional installation steps, these are described in /usr/share/doc/mailman/INSTALL.REDHAT

We can use yum or dnf to install mailman on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mailman.

Install mailman on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mailman using dnf by running the following command:

sudo dnf -y install mailman

Install mailman on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mailman using yum by running the following command:

sudo yum -y install mailman

How To Uninstall mailman on AlmaLinux 8

To uninstall only the mailman package we can use the following command:

sudo dnf remove mailman

References

Summary

In this tutorial we learn how to install mailman on AlmaLinux 8 using yum and dnf.