How To Install perl-String-ShellQuote on AlmaLinux 8

In this tutorial we learn how to install perl-String-ShellQuote in AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove perl-String-ShellQuote

References

Summary

In this tutorial we learn how to install perl-String-ShellQuote on AlmaLinux 8 using yum and dnf.