How To Install perl-TestML on AlmaLinux 8

In this tutorial we learn how to install perl-TestML in AlmaLinux 8. perl-TestML is Generic software Testing Meta Language

Introduction

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

What is perl-TestML

TestML <http meta language for writing unit tests. The idea is that you can use the same test files in multiple implementations of a given programming idea. Then you can be more certain that your application written in, say, Python matches your Perl implementation. In a nutshell you write a bunch of data tests that have inputs and expected results. Using a simple syntax, you specify what functions the data must pass through to produce the expected results. You use a bridge class to write the data functions that pass the data through your application. In Perl 5, TestML module is the evolution of the Test a superset of Test the same as Test Currently, TestML is being redesigned. This package contains the new unstable implementation. The original, production-ready, implementation is available under TestML1 name in perl-TestML1 package.

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

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

sudo dnf -y install perl-TestML

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

sudo yum -y install perl-TestML

How To Uninstall perl-TestML on AlmaLinux 8

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

sudo dnf remove perl-TestML

References

Summary

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