How To Install perl-Test-Valgrind on Fedora 36

In this tutorial we learn how to install perl-Test-Valgrind in Fedora 36. perl-Test-Valgrind is Generate suppressions, analyze and test any command with valgrind

Introduction

In this tutorial we learn how to install perl-Test-Valgrind on Fedora 36.

What is perl-Test-Valgrind

The Test the valgrind memory debugger, to test for memory errors and leaks. The Test available yet, it will first generate suppressions for the current perl interpreter and store them in the portable flavor of ~/.perl/Test-Valgrind/suppressions/$VERSION. The actual run will then take place, and tests will be passed or failed according to the result of the analysis. The complete API is much more versatile than this. By declaring an appropriate Test Perl scripts) under valgrind, generate the corresponding suppressions on-the-fly and convert the analysis result to TAP output so that it can be incorporated into your project’s test suite. If you’re not interested in producing TAP, you can output the results in whatever format you like (for example HTML pages) by defining your own Test

We can use yum or dnf to install perl-Test-Valgrind on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-Valgrind.

Install perl-Test-Valgrind on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Test-Valgrind

Install perl-Test-Valgrind on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Test-Valgrind

How To Uninstall perl-Test-Valgrind on Fedora 36

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

sudo dnf remove perl-Test-Valgrind

perl-Test-Valgrind Package Contents on Fedora 36

/usr/share/doc/perl-Test-Valgrind
/usr/share/doc/perl-Test-Valgrind/Changes
/usr/share/doc/perl-Test-Valgrind/README
/usr/share/doc/perl-Test-Valgrind/samples
/usr/share/doc/perl-Test-Valgrind/samples/map.pl
/usr/share/doc/perl-Test-Valgrind/samples/xml-output-protocol4.txt
/usr/share/doc/perl-Test-Valgrind/samples/xml-output.txt
/usr/share/man/man3/Test::Valgrind.3pm.gz
/usr/share/man/man3/Test::Valgrind::Action.3pm.gz
/usr/share/man/man3/Test::Valgrind::Action::Captor.3pm.gz
/usr/share/man/man3/Test::Valgrind::Action::Suppressions.3pm.gz
/usr/share/man/man3/Test::Valgrind::Action::Test.3pm.gz
/usr/share/man/man3/Test::Valgrind::Carp.3pm.gz
/usr/share/man/man3/Test::Valgrind::Command.3pm.gz
/usr/share/man/man3/Test::Valgrind::Command::Aggregate.3pm.gz
/usr/share/man/man3/Test::Valgrind::Command::Perl.3pm.gz
/usr/share/man/man3/Test::Valgrind::Command::PerlScript.3pm.gz
/usr/share/man/man3/Test::Valgrind::Component.3pm.gz
/usr/share/man/man3/Test::Valgrind::Parser.3pm.gz
/usr/share/man/man3/Test::Valgrind::Parser::Suppressions::Text.3pm.gz
/usr/share/man/man3/Test::Valgrind::Parser::Text.3pm.gz
/usr/share/man/man3/Test::Valgrind::Parser::XML.3pm.gz
/usr/share/man/man3/Test::Valgrind::Parser::XML::Twig.3pm.gz
/usr/share/man/man3/Test::Valgrind::Report.3pm.gz
/usr/share/man/man3/Test::Valgrind::Session.3pm.gz
/usr/share/man/man3/Test::Valgrind::Suppressions.3pm.gz
/usr/share/man/man3/Test::Valgrind::Tool.3pm.gz
/usr/share/man/man3/Test::Valgrind::Tool::memcheck.3pm.gz
/usr/share/man/man3/Test::Valgrind::Util.3pm.gz
/usr/share/man/man3/Test::Valgrind::Version.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Valgrind
/usr/share/perl5/vendor_perl/Test/Valgrind.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Action
/usr/share/perl5/vendor_perl/Test/Valgrind/Action.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Action/Captor.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Action/Suppressions.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Action/Test.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Carp.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Command
/usr/share/perl5/vendor_perl/Test/Valgrind/Command.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Command/Aggregate.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Command/Perl.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Command/PerlScript.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Component.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/Suppressions
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/Suppressions/Text.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/Text.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/XML
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/XML.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Parser/XML/Twig.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Report.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Session.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Suppressions.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Tool
/usr/share/perl5/vendor_perl/Test/Valgrind/Tool.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Tool/memcheck.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Util.pm
/usr/share/perl5/vendor_perl/Test/Valgrind/Version.pm

References

Summary

In this tutorial we learn how to install perl-Test-Valgrind on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).