How To Install perl-Text-Shellwords on Fedora 36

In this tutorial we learn how to install perl-Text-Shellwords in Fedora 36. perl-Text-Shellwords is A thin wrapper around the shellwords.pl package

Introduction

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

What is perl-Text-Shellwords

This is a thin wrapper around the shellwords.pl package, which comes preinstalled with Perl. This module imports a single subroutine, shellwords(). The shellwords() routine parses lines of text and returns a set of tokens using the same rules that the Unix shell does for its command-line arguments. Tokens are separated by whitespace, and can be delimited by single or double quotes. The module also respects backslash escapes.

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

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

sudo dnf -y install perl-Text-Shellwords

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

sudo yum -y install perl-Text-Shellwords

How To Uninstall perl-Text-Shellwords on Fedora 36

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

sudo dnf remove perl-Text-Shellwords

perl-Text-Shellwords Package Contents on Fedora 36

/usr/share/doc/perl-Text-Shellwords
/usr/share/doc/perl-Text-Shellwords/Changes
/usr/share/doc/perl-Text-Shellwords/README
/usr/share/man/man3/Text::Shellwords.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Shellwords.pm

References

Summary

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