How To Install perl-Net-FTP-RetrHandle on AlmaLinux 8

In this tutorial we learn how to install perl-Net-FTP-RetrHandle in AlmaLinux 8. perl-Net-FTP-RetrHandle is File reading interface for reading files on a remote FTP server

Introduction

In this tutorial we learn how to install perl-Net-FTP-RetrHandle on AlmaLinux 8.

What is perl-Net-FTP-RetrHandle

This Perl module provides a file reading interface for reading all or parts of files located on a remote FTP server, including emulation of seek and support for downloading only the parts of the file requested. 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 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 interface.

We can use yum or dnf to install perl-Net-FTP-RetrHandle on AlmaLinux 8. 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 AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

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

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

How To Uninstall perl-Net-FTP-RetrHandle on AlmaLinux 8

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