How To Install ftp on CentOS 7

In this tutorial we learn how to install ftp on CentOS 7. ftp is The standard UNIX FTP (File Transfer Protocol) client

Introduction

In this tutorial we learn how to install ftp on CentOS 7.

What is ftp

The ftp package provides the standard UNIX command-line FTP (File Transfer Protocol) client. FTP is a widely used protocol for transferring files over the Internet and for archiving files. If your system is on a network, you should install ftp in order to do file transfers.

We can use yum or dnf to install ftp on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ftp.

Install ftp on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ftp using yum by running the following command:

sudo yum -y install ftp

Install ftp on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ftp using dnf by running the following command:

sudo dnf -y install ftp

How To Uninstall ftp on CentOS 7

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

sudo dnf remove ftp

References

Summary

In this tutorial we learn how to install ftp on CentOS 7 using yum and dnf.