How To Install perl-String-ShellQuote on Rocky Linux 8

In this tutorial we learn how to install perl-String-ShellQuote on Rocky Linux 8. perl-String-ShellQuote is Perl module for quoting strings for passing through the shell

Introduction

In this tutorial we learn how to install perl-String-ShellQuote on Rocky Linux 8.

What is perl-String-ShellQuote

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 or dnf to install perl-String-ShellQuote on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-String-ShellQuote.

Install perl-String-ShellQuote on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-String-ShellQuote using dnf by running the following command:

sudo dnf -y install perl-String-ShellQuote

Install perl-String-ShellQuote on Rocky Linux 8 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 using yum by running the following command:

sudo yum -y install perl-String-ShellQuote

How To Uninstall perl-String-ShellQuote on Rocky Linux 8

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

sudo dnf remove perl-String-ShellQuote

perl-String-ShellQuote Package Contents on Rocky Linux 8

/usr/bin/shell-quote
/usr/share/doc/perl-String-ShellQuote
/usr/share/doc/perl-String-ShellQuote/Changes
/usr/share/doc/perl-String-ShellQuote/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 on Rocky Linux 8 using yum and dnf.