How To Install perl-ExtUtils-Miniperl on AlmaLinux 8

In this tutorial we learn how to install perl-ExtUtils-Miniperl in AlmaLinux 8. perl-ExtUtils-Miniperl is Write the C code for perlmain.c

Introduction

In this tutorial we learn how to install perl-ExtUtils-Miniperl on AlmaLinux 8.

What is perl-ExtUtils-Miniperl

writemain() takes an argument list of directories containing archive libraries that relate to perl modules and should be linked into a new perl binary. It writes a corresponding perlmain.c file that is a plain C file containing all the bootstrap code to make the If the first argument to writemain() is a reference to a scalar it is used as the file name to open for output. Any other reference is used as the file handle to write to. Otherwise output defaults to STDOUT.

We can use yum or dnf to install perl-ExtUtils-Miniperl on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-ExtUtils-Miniperl.

Install perl-ExtUtils-Miniperl on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-ExtUtils-Miniperl using dnf by running the following command:

sudo dnf -y install perl-ExtUtils-Miniperl

Install perl-ExtUtils-Miniperl on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-ExtUtils-Miniperl using yum by running the following command:

sudo yum -y install perl-ExtUtils-Miniperl

How To Uninstall perl-ExtUtils-Miniperl on AlmaLinux 8

To uninstall only the perl-ExtUtils-Miniperl package we can use the following command:

sudo dnf remove perl-ExtUtils-Miniperl

References

Summary

In this tutorial we learn how to install perl-ExtUtils-Miniperl on AlmaLinux 8 using yum and dnf.