How To Install perl-Getopt-ArgvFile on CentOS 7

In this tutorial we learn how to install perl-Getopt-ArgvFile on CentOS 7. perl-Getopt-ArgvFile is Interpolates script options from files into @ARGV or another array

Introduction

In this tutorial we learn how to install perl-Getopt-ArgvFile on CentOS 7.

What is perl-Getopt-ArgvFile

This module simply interpolates option file hints in @ARGV by the contents of the pointed files. This enables option reading from files instead of or additional to the usual reading from the command line.

We can use yum or dnf to install perl-Getopt-ArgvFile on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Getopt-ArgvFile.

Install perl-Getopt-ArgvFile on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-Getopt-ArgvFile

Install perl-Getopt-ArgvFile on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install perl-Getopt-ArgvFile

How To Uninstall perl-Getopt-ArgvFile on CentOS 7

To uninstall only the perl-Getopt-ArgvFile package we can use the following command:

sudo dnf remove perl-Getopt-ArgvFile

References

Summary

In this tutorial we learn how to install perl-Getopt-ArgvFile on CentOS 7 using yum and dnf.