mailman-web command not found

In this troubleshooting guide we learn how to fix mailman-web command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mailman-web: command not found

or when using sudo you get the following error message

sudo: mailman-web: command not found

Solutions to mailman-web: command not found

How To Fix mailman-web: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mailman-web is provided by mailman3-web package.

mailman3-web is:

This django web application provides the Mailman3 Postorius web interface and the HyperKitty mailinglist archiver integrated into one project.

The package automates most of the necessary configuration for the Django project (database setup, webserver configuration, secret and API key generation, Django project configuration) to get a ready-to-use Mailman3 web suite.

The Mailman3 Django project runs as uWSGI daemon and optionally a webserver is configured as reverse proxy. In this case, the service can be accessed at ‘/mailman3’.

Default database backend is SQLite3 in order to not break automated installations. For productive setups, PostgreSQL or MySQL are much better options though. See README.Debian for further information.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mailman3-web

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mailman3-web.

sudo apt -y install mailman3-web

Or if you have aptitude installed you can use the following command.

sudo aptitude install mailman3-web

Summary

In this tutorial we learn how to fix mailman-web command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.