How To Install proftpd-mod-fsync on Debian 12

Learn how to install proftpd-mod-fsync on Debian 12 with this tutorial. proftpd-mod-fsync is ProFTPD module mod_fsync

Introduction

In this tutorial we learn how to install proftpd-mod-fsync on Debian 12.

What is proftpd-mod-fsync

proftpd-mod-fsync is:

The mod_fsync module attempts to prevent such bottlenecks by forcibly flushing to disk the buffers used for files open for writing after a certain number of bytes have been written (for example, after 128 KB has been written to a file). This prevents the buffer cache from being dominated by data from files being written, freeing up space for data for files being read.

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

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

Install proftpd-mod-fsync Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install proftpd-mod-fsync

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

sudo aptitude -y install proftpd-mod-fsync

How To Uninstall proftpd-mod-fsync on Debian 12

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

sudo apt-get remove proftpd-mod-fsync

Uninstall proftpd-mod-fsync And Its Dependencies

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

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

Remove proftpd-mod-fsync Configurations and Data

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

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

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

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

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

Dependencies

proftpd-mod-fsync have the following dependencies:

References

Summary

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