How To Install perl-Scalar-Construct on Fedora 36

In this tutorial we learn how to install perl-Scalar-Construct in Fedora 36. perl-Scalar-Construct is Build custom kinds of scalar

Introduction

In this tutorial we learn how to install perl-Scalar-Construct on Fedora 36.

What is perl-Scalar-Construct

This module supplies functions to construct Perl scalar objects. While writable (variable) scalars can easily be constructed using the ordinary facilities of the Perl language, immutable (constant) scalars require a library such as this.

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

Install perl-Scalar-Construct 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-Scalar-Construct using dnf by running the following command:

sudo dnf -y install perl-Scalar-Construct

Install perl-Scalar-Construct 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-Scalar-Construct using yum by running the following command:

sudo yum -y install perl-Scalar-Construct

How To Uninstall perl-Scalar-Construct on Fedora 36

To uninstall only the perl-Scalar-Construct package we can use the following command:

sudo dnf remove perl-Scalar-Construct

perl-Scalar-Construct Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/557bb62af688163018d36e7afe0379adf77d16
/usr/lib64/perl5/vendor_perl/Scalar
/usr/lib64/perl5/vendor_perl/Scalar/Construct.pm
/usr/lib64/perl5/vendor_perl/auto/Scalar
/usr/lib64/perl5/vendor_perl/auto/Scalar/Construct
/usr/lib64/perl5/vendor_perl/auto/Scalar/Construct/Construct.so
/usr/share/doc/perl-Scalar-Construct
/usr/share/doc/perl-Scalar-Construct/Changes
/usr/share/doc/perl-Scalar-Construct/README
/usr/share/man/man3/Scalar::Construct.3pm.gz

References

Summary

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