How To Install perl-Env-C on Fedora 36

In this tutorial we learn how to install perl-Env-C in Fedora 36. perl-Env-C is Get/set/unset environment variables on the C level

Introduction

In this tutorial we learn how to install perl-Env-C on Fedora 36.

What is perl-Env-C

This module provides a Perl API for getenv(3), setenv(3) and unsetenv(3). It also can return all the environ variables.

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

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

sudo dnf -y install perl-Env-C

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

sudo yum -y install perl-Env-C

How To Uninstall perl-Env-C on Fedora 36

To uninstall only the perl-Env-C package we can use the following command:

sudo dnf remove perl-Env-C

perl-Env-C Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/dc5aab91aaaa72f56829e03859730eee23ccf0
/usr/lib64/perl5/vendor_perl/Env
/usr/lib64/perl5/vendor_perl/Env/C.pm
/usr/lib64/perl5/vendor_perl/auto/Env
/usr/lib64/perl5/vendor_perl/auto/Env/C
/usr/lib64/perl5/vendor_perl/auto/Env/C/C.so
/usr/share/doc/perl-Env-C
/usr/share/doc/perl-Env-C/Changes
/usr/share/doc/perl-Env-C/README
/usr/share/licenses/perl-Env-C
/usr/share/licenses/perl-Env-C/LICENSE
/usr/share/man/man3/Env::C.3pm.gz

References

Summary

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