How To Install proftpd-mod-msg on Ubuntu 20.04

In this tutorial we learn how to install proftpd-mod-msg on Ubuntu 20.04. proftpd-mod-msg is ProFTPD module mod_msg

Introduction

In this tutorial we learn how to install proftpd-mod-msg on Ubuntu 20.04.

What is proftpd-mod-msg

proftpd-mod-msg is:

The mod_msg module allows system users to send messages to connected clients via the ftpdctl program. The module works by creating a SysV message queue, which is used to pass messages from the daemon process to session processes.

There are three methods to install proftpd-mod-msg on Ubuntu 20.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 proftpd-mod-msg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install proftpd-mod-msg

Install proftpd-mod-msg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install proftpd-mod-msg using apt by running the following command:

sudo apt -y install proftpd-mod-msg

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

sudo aptitude -y install proftpd-mod-msg

How To Uninstall proftpd-mod-msg on Ubuntu 20.04

To uninstall only the proftpd-mod-msg package we can use the following command:

sudo apt-get remove proftpd-mod-msg

Uninstall proftpd-mod-msg And Its Dependencies

To uninstall proftpd-mod-msg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove proftpd-mod-msg

Remove proftpd-mod-msg Configurations and Data

To remove proftpd-mod-msg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge proftpd-mod-msg

Remove proftpd-mod-msg configuration, data, and all of its dependencies

We can use the following command to remove proftpd-mod-msg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge proftpd-mod-msg

References

Summary

In this tutorial we learn how to install proftpd-mod-msg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.