How To Install perl-Test-Assert on Fedora 36
Introduction
In this tutorial we learn how to install perl-Test-Assert
on Fedora 36.
What is perl-Test-Assert
This class provides a set of assertion methods useful for writing tests. The API is based on JUnit4 and Test
We can use yum
or dnf
to install perl-Test-Assert
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-Assert.
Install perl-Test-Assert 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-Assert
using dnf
by running the following command:
sudo dnf -y install perl-Test-Assert
Install perl-Test-Assert 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-Assert
using yum
by running the following command:
sudo yum -y install perl-Test-Assert
How To Uninstall perl-Test-Assert on Fedora 36
To uninstall only the perl-Test-Assert
package we can use the following command:
sudo dnf remove perl-Test-Assert
perl-Test-Assert Package Contents on Fedora 36
/usr/share/doc/perl-Test-Assert
/usr/share/doc/perl-Test-Assert/Changes
/usr/share/doc/perl-Test-Assert/README
/usr/share/doc/perl-Test-Assert/eg
/usr/share/doc/perl-Test-Assert/eg/assert_raises.pl
/usr/share/doc/perl-Test-Assert/eg/assert_test_differences.pl
/usr/share/licenses/perl-Test-Assert
/usr/share/licenses/perl-Test-Assert/LICENSE
/usr/share/man/man3/Exception::Assertion.3pm.gz
/usr/share/man/man3/Test::Assert.3pm.gz
/usr/share/perl5/vendor_perl/Exception
/usr/share/perl5/vendor_perl/Exception/Assertion.pm
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Assert.pm
References
Summary
In this tutorial we learn how to install perl-Test-Assert
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).