How To Install proftpd-mod-dnsbl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install proftpd-mod-dnsbl
on Ubuntu 18.04.
What is proftpd-mod-dnsbl
proftpd-mod-dnsbl is:
ProFTPD module for mod-dnsbl (DNS Black-List/Block-List)
A DNS blacklist is a way in which the DNS can be used to “blacklist” sites/addresses that have been deemd to be “bad” in some way. These blacklists are often used by email servers, for determining and rejecting email sent by addresses known to be sources of spam.
There are three methods to install proftpd-mod-dnsbl
on Ubuntu 18.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-dnsbl 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-dnsbl
using apt-get
by running the following command:
sudo apt-get -y install proftpd-mod-dnsbl
Install proftpd-mod-dnsbl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install proftpd-mod-dnsbl
using apt
by running the following command:
sudo apt -y install proftpd-mod-dnsbl
Install proftpd-mod-dnsbl 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-dnsbl
using aptitude
by running the following command:
sudo aptitude -y install proftpd-mod-dnsbl
How To Uninstall proftpd-mod-dnsbl on Ubuntu 18.04
To uninstall only the proftpd-mod-dnsbl
package we can use the following command:
sudo apt-get remove proftpd-mod-dnsbl
Uninstall proftpd-mod-dnsbl And Its Dependencies
To uninstall proftpd-mod-dnsbl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove proftpd-mod-dnsbl
Remove proftpd-mod-dnsbl Configurations and Data
To remove proftpd-mod-dnsbl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge proftpd-mod-dnsbl
Remove proftpd-mod-dnsbl configuration, data, and all of its dependencies
We can use the following command to remove proftpd-mod-dnsbl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge proftpd-mod-dnsbl
References
Summary
In this tutorial we learn how to install proftpd-mod-dnsbl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.