How To Install perl-Expect-Simple on Fedora 36

In this tutorial we learn how to install perl-Expect-Simple in Fedora 36. perl-Expect-Simple is Wrapper around the Expect module

Introduction

In this tutorial we learn how to install perl-Expect-Simple on Fedora 36.

What is perl-Expect-Simple

Expect suffice for simple applications. It hides most of the Expect machinery; the Expect object is available for tweaking if need be.

We can use yum or dnf to install perl-Expect-Simple on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Expect-Simple.

Install perl-Expect-Simple on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Expect-Simple

Install perl-Expect-Simple on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Expect-Simple using yum by running the following command:

sudo yum -y install perl-Expect-Simple

How To Uninstall perl-Expect-Simple on Fedora 36

To uninstall only the perl-Expect-Simple package we can use the following command:

sudo dnf remove perl-Expect-Simple

perl-Expect-Simple Package Contents on Fedora 36

/usr/share/doc/perl-Expect-Simple
/usr/share/doc/perl-Expect-Simple/ChangeLog
/usr/share/doc/perl-Expect-Simple/Changes
/usr/share/doc/perl-Expect-Simple/README
/usr/share/licenses/perl-Expect-Simple
/usr/share/licenses/perl-Expect-Simple/LICENSE
/usr/share/man/man3/Expect::Simple.3pm.gz
/usr/share/perl5/vendor_perl/Expect
/usr/share/perl5/vendor_perl/Expect/Simple.pm

References

Summary

In this tutorial we learn how to install perl-Expect-Simple on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).