How To Install perl-Data-Uniqid on CentOS 7

In this tutorial we learn how to install perl-Data-Uniqid on CentOS 7. perl-Data-Uniqid is Perl extension for simple generating of unique id’s

Introduction

In this tutorial we learn how to install perl-Data-Uniqid on CentOS 7.

What is perl-Data-Uniqid

Data ids. These ids are coded with a Base62 system to make them short and handy (e.g. to use it as part of a URL).

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

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

sudo yum -y install perl-Data-Uniqid

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

sudo dnf -y install perl-Data-Uniqid

How To Uninstall perl-Data-Uniqid on CentOS 7

To uninstall only the perl-Data-Uniqid package we can use the following command:

sudo dnf remove perl-Data-Uniqid

References

Summary

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