How To Install perl-Net-FTP-RetrHandle on CentOS 7

In this tutorial we learn how to install perl-Net-FTP-RetrHandle on CentOS 7. perl-Net-FTP-RetrHandle is Provides a file reading interface for reading files on a remote

Introduction

In this tutorial we learn how to install perl-Net-FTP-RetrHandle on CentOS 7.

What is perl-Net-FTP-RetrHandle

Support for skipping the beginning of the file is implemented with the FTP REST command, which starts a retrieval at any point in the file. Support for skipping the end of the file is implemented with the FTP ABOR command, which stops the transfer. With these two commands and some careful tracking of the current file position, we’re able to reliably emulate a seek/read pair, and get only the parts of the file that are actually read. This was originally designed for use with Archive reliable enough that the table of contents and individual files can be extracted from a remote ZIP archive without downloading the whole thing. An interface compatible with IO tie-based

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

Install perl-Net-FTP-RetrHandle on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Net-FTP-RetrHandle using yum by running the following command:

sudo yum -y install perl-Net-FTP-RetrHandle

Install perl-Net-FTP-RetrHandle 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 perl-Net-FTP-RetrHandle using dnf by running the following command:

sudo dnf -y install perl-Net-FTP-RetrHandle

How To Uninstall perl-Net-FTP-RetrHandle on CentOS 7

To uninstall only the perl-Net-FTP-RetrHandle package we can use the following command:

sudo dnf remove perl-Net-FTP-RetrHandle

References

Summary

In this tutorial we learn how to install perl-Net-FTP-RetrHandle on CentOS 7 using yum and dnf.