How To Install perl-Shell on Fedora 36
Introduction
In this tutorial we learn how to install perl-Shell
on Fedora 36.
What is perl-Shell
Using Shell while importing “foo” creates a subroutine “foo” in the name space of the importing package. Calling “foo” with arguments “arg1”, “arg2”, … results in a shell command “foo arg1 arg2…”, where the function name and the arguments are joined with a blank. This package is included as a show case, illustrating a few Perl features. It shouldn’t be used for production programs.
We can use yum
or dnf
to install perl-Shell
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Shell.
Install perl-Shell 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-Shell
using dnf
by running the following command:
sudo dnf -y install perl-Shell
Install perl-Shell 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-Shell
using yum
by running the following command:
sudo yum -y install perl-Shell
How To Uninstall perl-Shell on Fedora 36
To uninstall only the perl-Shell
package we can use the following command:
sudo dnf remove perl-Shell
perl-Shell Package Contents on Fedora 36
/usr/share/doc/perl-Shell
/usr/share/doc/perl-Shell/Changes
/usr/share/doc/perl-Shell/README
/usr/share/man/man3/Shell.3pm.gz
/usr/share/perl5/vendor_perl/Shell.pm
References
Summary
In this tutorial we learn how to install perl-Shell
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).