How To Install perl-Data-Binary on Fedora 36

In this tutorial we learn how to install perl-Data-Binary in Fedora 36. perl-Data-Binary is Simple detection of binary versus text in strings

Introduction

In this tutorial we learn how to install perl-Data-Binary on Fedora 36.

What is perl-Data-Binary

This simple module provides string equivalents to the -T / -B operators. Since these only work on file names and file handles, this module provides the same functions but on strings. Note that the actual implementation is currently different, basically because the -T / -B functions are in C/XS, and this module is written in pure Perl. For now, anyway.

We can use yum or dnf to install perl-Data-Binary on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Data-Binary.

Install perl-Data-Binary 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-Data-Binary using dnf by running the following command:

sudo dnf -y install perl-Data-Binary

Install perl-Data-Binary 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-Data-Binary using yum by running the following command:

sudo yum -y install perl-Data-Binary

How To Uninstall perl-Data-Binary on Fedora 36

To uninstall only the perl-Data-Binary package we can use the following command:

sudo dnf remove perl-Data-Binary

perl-Data-Binary Package Contents on Fedora 36

/usr/share/doc/perl-Data-Binary
/usr/share/doc/perl-Data-Binary/README
/usr/share/doc/perl-Data-Binary/changes.txt
/usr/share/doc/perl-Data-Binary/readme.txt
/usr/share/man/man3/Data::Binary.3pm.gz
/usr/share/perl5/vendor_perl/Data
/usr/share/perl5/vendor_perl/Data/Binary.pm

References

Summary

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