How To Install ftp on AlmaLinux 8

In this tutorial we learn how to install ftp in AlmaLinux 8. ftp is The standard UNIX FTP (File Transfer Protocol) client

Introduction

In this tutorial we learn how to install ftp on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ftp.

Install ftp on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ftp

Install ftp on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ftp

How To Uninstall ftp on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.