How To Install perl-Statistics-Descriptive on CentOS 7

In this tutorial we learn how to install perl-Statistics-Descriptive on CentOS 7. perl-Statistics-Descriptive is Perl module of basic descriptive statistical functions

Introduction

In this tutorial we learn how to install perl-Statistics-Descriptive on CentOS 7.

What is perl-Statistics-Descriptive

This module provides basic functions used in descriptive statistics. It has an object oriented design and supports two different types of data storage and calculation objects and full. With the sparse method, none of the data is stored and only a few statistical measures are available. Using the full method, the entire data set is retained and additional functions are available.

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

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

sudo yum -y install perl-Statistics-Descriptive

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

sudo dnf -y install perl-Statistics-Descriptive

How To Uninstall perl-Statistics-Descriptive on CentOS 7

To uninstall only the perl-Statistics-Descriptive package we can use the following command:

sudo dnf remove perl-Statistics-Descriptive

References

Summary

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