How To Install proftpd-mod-clamav on Debian 9

In this tutorial we learn how to install proftpd-mod-clamav on Debian 9. proftpd-mod-clamav is ProFTPD module mod_clamav

Introduction

In this tutorial we learn how to install proftpd-mod-clamav on Debian 9.

What is proftpd-mod-clamav

proftpd-mod-clamav is:

Mod_Clamav can be configured to either use Clamd via local unix sockets or TCP sockets. This allows one to combine ProFTPd with Mod_Clamav and Clamd on a system with local unix sockets for minimal administrative overhead and decent security. however, also allows for a large scale deployment with many ProFTPd servers utilizing a separate Clamd host over TCP for scalability and lower administrative overhead.

There are three methods to install proftpd-mod-clamav on Debian 9. 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-clamav 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-clamav using apt-get by running the following command:

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

Install proftpd-mod-clamav Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install proftpd-mod-clamav

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

sudo aptitude -y install proftpd-mod-clamav

How To Uninstall proftpd-mod-clamav on Debian 9

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

sudo apt-get remove proftpd-mod-clamav

Uninstall proftpd-mod-clamav And Its Dependencies

To uninstall proftpd-mod-clamav and its dependencies that are no longer needed by Debian 9, we can use the command below:

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

Remove proftpd-mod-clamav Configurations and Data

To remove proftpd-mod-clamav configuration and data from Debian 9 we can use the following command:

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

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

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

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

Dependencies

proftpd-mod-clamav have the following dependencies:

References

Summary

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