How To Install pure-ftpd on CentOS 7

In this tutorial we learn how to install pure-ftpd on CentOS 7. pure-ftpd is Lightweight, fast and secure FTP server

Introduction

In this tutorial we learn how to install pure-ftpd on CentOS 7.

What is pure-ftpd

Pure-FTPd is a fast, production-quality, standard-comformant FTP server, based upon Troll-FTPd. Unlike other popular FTP servers, it has no known security flaw, it is really trivial to set up and it is especially designed for modern Linux and FreeBSD kernels (setfsuid, sendfile, capabilities) . Features include PAM support, IPv6, chroot()ed home directories, virtual domains, built-in LS, anti-warez system, bandwidth throttling, FXP, bounded ports for passive downloads, UL/DL ratios, native LDAP and SQL support, Apache log files and more. Rebuild switches –without ldap disable ldap support –without mysql disable mysql support –without pgsql disable postgresql support –without extauth disable external authentication –without tls disable SSL/TLS

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

Install pure-ftpd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install pure-ftpd using yum by running the following command:

sudo yum -y install pure-ftpd

Install pure-ftpd 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 pure-ftpd using dnf by running the following command:

sudo dnf -y install pure-ftpd

How To Uninstall pure-ftpd on CentOS 7

To uninstall only the pure-ftpd package we can use the following command:

sudo dnf remove pure-ftpd

References

Summary

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