How To Install proftpd-mod-case on Ubuntu 22.04
Introduction
In this tutorial we learn how to install proftpd-mod-case
on Ubuntu 22.04.
What is proftpd-mod-case
proftpd-mod-case is:
The mod_case module is designed to help ProFTPD be case-insensitive, for those sites that may need it (e.g. those that are migrating from a Windows environment or have mounted Windows filesystems).
mod_case works by performing two checks on the filename used in FTP commands. First, mod_case will scan the directory to see if there is already a file whose name exactly matches the given filename. If not, mod_case will scan the directory again, this time looking for case-insensitive matches.
There are three methods to install proftpd-mod-case
on Ubuntu 22.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-case 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-case
using apt-get
by running the following command:
sudo apt-get -y install proftpd-mod-case
Install proftpd-mod-case Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install proftpd-mod-case
using apt
by running the following command:
sudo apt -y install proftpd-mod-case
Install proftpd-mod-case 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-case
using aptitude
by running the following command:
sudo aptitude -y install proftpd-mod-case
How To Uninstall proftpd-mod-case on Ubuntu 22.04
To uninstall only the proftpd-mod-case
package we can use the following command:
sudo apt-get remove proftpd-mod-case
Uninstall proftpd-mod-case And Its Dependencies
To uninstall proftpd-mod-case
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove proftpd-mod-case
Remove proftpd-mod-case Configurations and Data
To remove proftpd-mod-case
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge proftpd-mod-case
Remove proftpd-mod-case configuration, data, and all of its dependencies
We can use the following command to remove proftpd-mod-case
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge proftpd-mod-case
References
Summary
In this tutorial we learn how to install proftpd-mod-case
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.