How To Install perl-Array-Base on Fedora 36
Introduction
In this tutorial we learn how to install perl-Array-Base
on Fedora 36.
What is perl-Array-Base
This module implements automatic offsetting of array indices. In normal Perl, the first element of an array has index 0, the second element has index 1, and so on. This module allows array indexes to start at some other value. Most commonly it is used to give the first element of an array the index 1 (and the second 2, and so on), to imitate the indexing behavior of FORTRAN and many other languages. It is usually considered poor style to do this.
We can use yum
or dnf
to install perl-Array-Base
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Array-Base.
Install perl-Array-Base 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-Array-Base
using dnf
by running the following command:
sudo dnf -y install perl-Array-Base
Install perl-Array-Base 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-Array-Base
using yum
by running the following command:
sudo yum -y install perl-Array-Base
How To Uninstall perl-Array-Base on Fedora 36
To uninstall only the perl-Array-Base
package we can use the following command:
sudo dnf remove perl-Array-Base
perl-Array-Base Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/14bf1a85e0fb7c0f69d18101989dc0aca0f629
/usr/lib64/perl5/vendor_perl/Array
/usr/lib64/perl5/vendor_perl/Array/Base.pm
/usr/lib64/perl5/vendor_perl/auto/Array
/usr/lib64/perl5/vendor_perl/auto/Array/Base
/usr/lib64/perl5/vendor_perl/auto/Array/Base/Base.so
/usr/share/doc/perl-Array-Base
/usr/share/doc/perl-Array-Base/Changes
/usr/share/doc/perl-Array-Base/README
/usr/share/man/man3/Array::Base.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Array-Base
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).