How To Install perl-String-ShellQuote.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-String-ShellQuote.noarch in Amazon Linux 2. perl-String-ShellQuote.noarch is Perl module for quoting strings for passing through the shell

Introduction

In this tutorial we learn how to install perl-String-ShellQuote.noarch on Amazon Linux 2.

What is perl-String-ShellQuote.noarch

This package contains a Perl module and a command line utility which are useful for quoting strings which are going to pass through the shell or a shell-like object.

We can use yum to install perl-String-ShellQuote.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-String-ShellQuote.noarch.

Install perl-String-ShellQuote.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-String-ShellQuote.noarch using yum by running the following command:

sudo yum -y install perl-String-ShellQuote.noarch

How To Uninstall perl-String-ShellQuote.noarch on Amazon Linux 2

To uninstall only the perl-String-ShellQuote.noarch package we can use the following command:

sudo yum remove perl-String-ShellQuote.noarch

perl-String-ShellQuote.noarch Package Contents on Amazon Linux 2

/usr/bin/shell-quote
/usr/share/doc/perl-String-ShellQuote-1.04
/usr/share/doc/perl-String-ShellQuote-1.04/Changes
/usr/share/doc/perl-String-ShellQuote-1.04/README
/usr/share/man/man1/shell-quote.1.gz
/usr/share/man/man3/String::ShellQuote.3pm.gz
/usr/share/perl5/vendor_perl/String
/usr/share/perl5/vendor_perl/String/ShellQuote.pm

References

Summary

In this tutorial we learn how to install perl-String-ShellQuote.noarch on Amazon Linux 2 using yum.