How To Install perl-Return-Type on Rocky Linux 8

In this tutorial we learn how to install perl-Return-Type on Rocky Linux 8. perl-Return-Type is Specify a return type for a function

Introduction

In this tutorial we learn how to install perl-Return-Type on Rocky Linux 8.

What is perl-Return-Type

Return constraints from any Type library are supported.

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

Install perl-Return-Type on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Return-Type

Install perl-Return-Type on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Return-Type

How To Uninstall perl-Return-Type on Rocky Linux 8

To uninstall only the perl-Return-Type package we can use the following command:

sudo dnf remove perl-Return-Type

perl-Return-Type Package Contents on Rocky Linux 8

/usr/share/doc/perl-Return-Type
/usr/share/doc/perl-Return-Type/CREDITS
/usr/share/doc/perl-Return-Type/Changes
/usr/share/doc/perl-Return-Type/README
/usr/share/licenses/perl-Return-Type
/usr/share/licenses/perl-Return-Type/COPYRIGHT
/usr/share/licenses/perl-Return-Type/LICENSE
/usr/share/man/man3/Return::Type.3pm.gz
/usr/share/perl5/vendor_perl/Return
/usr/share/perl5/vendor_perl/Return/Type.pm

References

Summary

In this tutorial we learn how to install perl-Return-Type on Rocky Linux 8 using yum and dnf.