How To Install ftpd on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ftpd
on Ubuntu 18.04.
What is ftpd
ftpd is:
This is the netkit ftp server. You are recommended to use one of its alternatives, such as vsftpd, proftpd, or pure-ftpd.
This server supports IPv6, and can be used in standalone mode as well as in inetd-slave mode, but other servers have better long-term security screening.
The server can be used with GNU/Linux, GNU/kFreeBSD, and GNU/Hurd.
There are three methods to install ftpd
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 ftpd Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ftpd
using apt-get
by running the following command:
sudo apt-get -y install ftpd
Install ftpd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ftpd
using apt
by running the following command:
sudo apt -y install ftpd
Install ftpd 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 ftpd
using aptitude
by running the following command:
sudo aptitude -y install ftpd
How To Uninstall ftpd on Ubuntu 18.04
To uninstall only the ftpd
package we can use the following command:
sudo apt-get remove ftpd
Uninstall ftpd And Its Dependencies
To uninstall ftpd
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ftpd
Remove ftpd Configurations and Data
To remove ftpd
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ftpd
Remove ftpd configuration, data, and all of its dependencies
We can use the following command to remove ftpd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ftpd
References
Summary
In this tutorial we learn how to install ftpd
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.