How To Install perl-libwhisker2 on CentOS 7

In this tutorial we learn how to install perl-libwhisker2 on CentOS 7. perl-libwhisker2 is Perl module geared specifically for HTTP testing

Introduction

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

What is perl-libwhisker2

Libwhisker is a Perl library useful for HTTP testing scripts. It contains a pure-Perl implementation of functionality found in the LWP, URI, Digest HTML GetOpt single perl file), fast (general benchmarks show libwhisker is faster than LWP), and flexible (great care was taken to ensure the library does exactly what you want to do, even if it means breaking the protocol).

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

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

sudo yum -y install perl-libwhisker2

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

sudo dnf -y install perl-libwhisker2

How To Uninstall perl-libwhisker2 on CentOS 7

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

sudo dnf remove perl-libwhisker2

References

Summary

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