How To Install perl-Text-ParseWords.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Text-ParseWords.noarch
on Amazon Linux 2.
What is perl-Text-ParseWords.noarch
The nested_quotewords() and quotewords() functions accept a delimiter (which can be a regular expression) and a list of lines and then breaks those lines up into a list of words ignoring delimiters that appear inside quotes. quotewords() returns all of the tokens in a single long list, while nested_quotewords() returns a list of token lists corresponding to the elements of @lines. parse_line() does tokenizing on a single string. The quotewords() functions simply call &parse_line(), so if you’re only splitting one line you can call parse_line() directly and save a function call.
We can use yum
to install perl-Text-ParseWords.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-ParseWords.noarch.
Install perl-Text-ParseWords.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Text-ParseWords.noarch
using yum
by running the following command:
sudo yum -y install perl-Text-ParseWords.noarch
How To Uninstall perl-Text-ParseWords.noarch on Amazon Linux 2
To uninstall only the perl-Text-ParseWords.noarch
package we can use the following command:
sudo yum remove perl-Text-ParseWords.noarch
perl-Text-ParseWords.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-Text-ParseWords-3.29
/usr/share/doc/perl-Text-ParseWords-3.29/CHANGES
/usr/share/doc/perl-Text-ParseWords-3.29/README
/usr/share/doc/perl-Text-ParseWords-3.29/license.email
/usr/share/man/man3/Text::ParseWords.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/ParseWords.pm
References
Summary
In this tutorial we learn how to install perl-Text-ParseWords.noarch
on Amazon Linux 2 using yum.