How To Install perl-Text-RecordParser on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Text-RecordParser
on AlmaLinux 8.
What is perl-Text-RecordParser
This module is for reading record-oriented data in a delimited text file. The most common example have records separated by newlines and fields separated by commas or tabs, but this module aims to provide a consistent interface for handling sequential records in a file however they may be delimited. Typically this data lists the fields in the first line of the file, in which case you should call bind_header to bind the field name (or not, and it will be called implicitly). If the first line contains data, you can still bind your own field names via bind_fields. Either way, you can then use many methods to get at the data as arrays or hashes.
We can use yum
or dnf
to install perl-Text-RecordParser
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-RecordParser.
Install perl-Text-RecordParser 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-Text-RecordParser
using dnf
by running the following command:
sudo dnf -y install perl-Text-RecordParser
Install perl-Text-RecordParser 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-Text-RecordParser
using yum
by running the following command:
sudo yum -y install perl-Text-RecordParser
How To Uninstall perl-Text-RecordParser on AlmaLinux 8
To uninstall only the perl-Text-RecordParser
package we can use the following command:
sudo dnf remove perl-Text-RecordParser
References
Summary
In this tutorial we learn how to install perl-Text-RecordParser
on AlmaLinux 8 using yum and dnf.