How To Install perl-Perl6-Slurp on Fedora 36

In this tutorial we learn how to install perl-Perl6-Slurp in Fedora 36. perl-Perl6-Slurp is Implemention of the Perl 6 ‘slurp’ built-in

Introduction

In this tutorial we learn how to install perl-Perl6-Slurp on Fedora 36.

What is perl-Perl6-Slurp

slurp takes a filename, a filehandle, a typeglob reference, an IO a scalar reference, converts it to an input stream (using open() if necessary), and reads in the entire stream. If slurp fails to set up or read the stream, it throws an exception.

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

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

sudo dnf -y install perl-Perl6-Slurp

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

sudo yum -y install perl-Perl6-Slurp

How To Uninstall perl-Perl6-Slurp on Fedora 36

To uninstall only the perl-Perl6-Slurp package we can use the following command:

sudo dnf remove perl-Perl6-Slurp

perl-Perl6-Slurp Package Contents on Fedora 36

/usr/share/doc/perl-Perl6-Slurp
/usr/share/doc/perl-Perl6-Slurp/Changes
/usr/share/doc/perl-Perl6-Slurp/README
/usr/share/doc/perl-Perl6-Slurp/demo
/usr/share/doc/perl-Perl6-Slurp/demo/demo_list_context.pl
/usr/share/doc/perl-Perl6-Slurp/demo/demo_squeeze.pl
/usr/share/man/man3/Perl6::Slurp.3pm.gz
/usr/share/perl5/vendor_perl/Perl6
/usr/share/perl5/vendor_perl/Perl6/Slurp.pm

References

Summary

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