How To Install perl-Class-XSAccessor on Fedora 36
Introduction
In this tutorial we learn how to install perl-Class-XSAccessor
on Fedora 36.
What is perl-Class-XSAccessor
Class XS. Additionally, it can provide predicates such as has_foo() for testing whether the attribute foo is defined in the object. It only works with objects that are implemented as ordinary hashes. Class implements the same interface for objects that use arrays for their internal representation.
We can use yum
or dnf
to install perl-Class-XSAccessor
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Class-XSAccessor.
Install perl-Class-XSAccessor 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-Class-XSAccessor
using dnf
by running the following command:
sudo dnf -y install perl-Class-XSAccessor
Install perl-Class-XSAccessor 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-Class-XSAccessor
using yum
by running the following command:
sudo yum -y install perl-Class-XSAccessor
How To Uninstall perl-Class-XSAccessor on Fedora 36
To uninstall only the perl-Class-XSAccessor
package we can use the following command:
sudo dnf remove perl-Class-XSAccessor
perl-Class-XSAccessor Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/eef14d2a0a344ef93d3060bb847000be91edb7
/usr/lib64/perl5/vendor_perl/Class
/usr/lib64/perl5/vendor_perl/Class/XSAccessor
/usr/lib64/perl5/vendor_perl/Class/XSAccessor.pm
/usr/lib64/perl5/vendor_perl/Class/XSAccessor/Array.pm
/usr/lib64/perl5/vendor_perl/Class/XSAccessor/Heavy.pm
/usr/lib64/perl5/vendor_perl/auto/Class
/usr/lib64/perl5/vendor_perl/auto/Class/XSAccessor
/usr/lib64/perl5/vendor_perl/auto/Class/XSAccessor/XSAccessor.so
/usr/share/doc/perl-Class-XSAccessor
/usr/share/doc/perl-Class-XSAccessor/Changes
/usr/share/doc/perl-Class-XSAccessor/README
/usr/share/man/man3/Class::XSAccessor.3pm.gz
/usr/share/man/man3/Class::XSAccessor::Array.3pm.gz
/usr/share/man/man3/Class::XSAccessor::Heavy.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Class-XSAccessor
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).