How To Install ftp on Rocky Linux 8
Introduction
In this tutorial we learn how to install ftp
on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ftp.
Install ftp on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the ftp
package we can use the following command:
sudo dnf remove ftp
ftp Package Contents on Rocky Linux 8
/usr/bin/ftp
/usr/bin/pftp
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/f6528a238c94be62d0e5da97eae8c1a777912e
/usr/share/man/man1/ftp.1.gz
/usr/share/man/man1/pftp.1.gz
/usr/share/man/man5/netrc.5.gz
References
Summary
In this tutorial we learn how to install ftp
on Rocky Linux 8 using yum and dnf.