How To Install listadmin on Debian 10

Learn how to install listadmin on Debian 10 with this tutorial. listadmin is command line mailman moderator queue manipulation

Introduction

In this tutorial we learn how to install listadmin on Debian 10.

What is listadmin

listadmin is:

listadmin is a command line tool to manipulate the queues of messages held for moderator approval by mailman. It is designed to keep user interaction to a minimum, in theory you could run it from cron to prune the queue. It can use the score from a header added by SpamAssassin to filter, or it can match specific senders, subjects, or reasons.

There are three methods to install listadmin 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 listadmin Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install listadmin

Install listadmin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install listadmin using apt by running the following command:

sudo apt -y install listadmin

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

sudo aptitude -y install listadmin

How To Uninstall listadmin on Debian 10

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

sudo apt-get remove listadmin

Uninstall listadmin And Its Dependencies

To uninstall listadmin and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove listadmin

Remove listadmin Configurations and Data

To remove listadmin configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge listadmin

Remove listadmin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge listadmin

Dependencies

listadmin have the following dependencies:

References

Summary

In this tutorial we learn how to install listadmin package on Debian 10 using different package management tools: apt, apt-get and aptitude.