How To Install erlang-ftp on Ubuntu 18.04

In this tutorial we learn how to install erlang-ftp on Ubuntu 18.04. erlang-ftp is Erlang/OTP FTP client

Introduction

In this tutorial we learn how to install erlang-ftp on Ubuntu 18.04.

What is erlang-ftp

erlang-ftp is:

The ftp application implements a client for file transfer according to a subset of the File Transfer Protocol (FTP).

There are three methods to install erlang-ftp 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 erlang-ftp Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install erlang-ftp using apt-get by running the following command:

sudo apt-get -y install erlang-ftp

Install erlang-ftp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install erlang-ftp using apt by running the following command:

sudo apt -y install erlang-ftp

Install erlang-ftp 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 erlang-ftp using aptitude by running the following command:

sudo aptitude -y install erlang-ftp

How To Uninstall erlang-ftp on Ubuntu 18.04

To uninstall only the erlang-ftp package we can use the following command:

sudo apt-get remove erlang-ftp

Uninstall erlang-ftp And Its Dependencies

To uninstall erlang-ftp and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove erlang-ftp

Remove erlang-ftp Configurations and Data

To remove erlang-ftp configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge erlang-ftp

Remove erlang-ftp configuration, data, and all of its dependencies

We can use the following command to remove erlang-ftp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge erlang-ftp

References

Summary

In this tutorial we learn how to install erlang-ftp package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.