How To Install perl-Term-Shell on Rocky Linux 8

In this tutorial we learn how to install perl-Term-Shell on Rocky Linux 8. perl-Term-Shell is Simple command-line shell framework

Introduction

In this tutorial we learn how to install perl-Term-Shell on Rocky Linux 8.

What is perl-Term-Shell

Term details like command-line parsing, terminal handling, and tab completion are handled for you.

We can use yum or dnf to install perl-Term-Shell on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Term-Shell.

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

sudo dnf -y install perl-Term-Shell

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

sudo yum -y install perl-Term-Shell

How To Uninstall perl-Term-Shell on Rocky Linux 8

To uninstall only the perl-Term-Shell package we can use the following command:

sudo dnf remove perl-Term-Shell

perl-Term-Shell Package Contents on Rocky Linux 8

/usr/share/doc/perl-Term-Shell
/usr/share/doc/perl-Term-Shell/Changes
/usr/share/doc/perl-Term-Shell/README
/usr/share/doc/perl-Term-Shell/examples
/usr/share/doc/perl-Term-Shell/examples/old-test.pl
/usr/share/doc/perl-Term-Shell/examples/psh.pl
/usr/share/doc/perl-Term-Shell/t
/usr/share/doc/perl-Term-Shell/t/00-compile.t
/usr/share/doc/perl-Term-Shell/t/01require.t
/usr/share/doc/perl-Term-Shell/t/02default.t
/usr/share/doc/perl-Term-Shell/t/03catchsmry.t
/usr/share/licenses/perl-Term-Shell
/usr/share/licenses/perl-Term-Shell/LICENSE
/usr/share/man/man3/Term::Shell.3pm.gz
/usr/share/perl5/vendor_perl/Term
/usr/share/perl5/vendor_perl/Term/Shell.pm

References

Summary

In this tutorial we learn how to install perl-Term-Shell on Rocky Linux 8 using yum and dnf.