How To Install perl-Text-RecordParser on Fedora 36

In this tutorial we learn how to install perl-Text-RecordParser in Fedora 36. perl-Text-RecordParser is Read record-oriented files

Introduction

In this tutorial we learn how to install perl-Text-RecordParser on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the perl-Text-RecordParser package we can use the following command:

sudo dnf remove perl-Text-RecordParser

perl-Text-RecordParser Package Contents on Fedora 36

/usr/share/doc/perl-Text-RecordParser
/usr/share/doc/perl-Text-RecordParser/Changes
/usr/share/doc/perl-Text-RecordParser/README
/usr/share/doc/perl-Text-RecordParser/TODO
/usr/share/man/man1/tab2graph.1.gz
/usr/share/man/man1/tablify.1.gz
/usr/share/man/man1/tabmerge.1.gz
/usr/share/man/man3/Text::RecordParser.3pm.gz
/usr/share/man/man3/Text::RecordParser::Object.3pm.gz
/usr/share/man/man3/Text::RecordParser::Tab.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/RecordParser
/usr/share/perl5/vendor_perl/Text/RecordParser.pm
/usr/share/perl5/vendor_perl/Text/RecordParser/Object.pm
/usr/share/perl5/vendor_perl/Text/RecordParser/Tab.pm

References

Summary

In this tutorial we learn how to install perl-Text-RecordParser on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).