How To Install perl-Devel-Declare on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Devel-Declare
on Rocky Linux 8.
What is perl-Devel-Declare
Devel over Perl’s parser, allowing the creation of new syntax. This module is now deprecated core since perl 5.14, and better alternatives for Devel include Devel
We can use yum
or dnf
to install perl-Devel-Declare
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Devel-Declare.
Install perl-Devel-Declare 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-Devel-Declare
using dnf
by running the following command:
sudo dnf -y install perl-Devel-Declare
Install perl-Devel-Declare 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-Devel-Declare
using yum
by running the following command:
sudo yum -y install perl-Devel-Declare
How To Uninstall perl-Devel-Declare on Rocky Linux 8
To uninstall only the perl-Devel-Declare
package we can use the following command:
sudo dnf remove perl-Devel-Declare
perl-Devel-Declare Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/020c8f6a939b51906688a98d03cec519d4282f
/usr/lib64/perl5/vendor_perl/Devel
/usr/lib64/perl5/vendor_perl/Devel/Declare
/usr/lib64/perl5/vendor_perl/Devel/Declare.pm
/usr/lib64/perl5/vendor_perl/Devel/Declare/Context
/usr/lib64/perl5/vendor_perl/Devel/Declare/Context/Simple.pm
/usr/lib64/perl5/vendor_perl/Devel/Declare/MethodInstaller
/usr/lib64/perl5/vendor_perl/Devel/Declare/MethodInstaller/Simple.pm
/usr/lib64/perl5/vendor_perl/auto/Devel
/usr/lib64/perl5/vendor_perl/auto/Devel/Declare
/usr/lib64/perl5/vendor_perl/auto/Devel/Declare/Declare.so
/usr/share/doc/perl-Devel-Declare
/usr/share/doc/perl-Devel-Declare/Changes
/usr/share/doc/perl-Devel-Declare/README
/usr/share/man/man3/Devel::Declare.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Devel-Declare
on Rocky Linux 8 using yum and dnf.