How To Install byteman-bmunit on Fedora 36

In this tutorial we learn how to install byteman-bmunit in Fedora 36. byteman-bmunit is TestNG and JUnit integration for Byteman.

Introduction

In this tutorial we learn how to install byteman-bmunit on Fedora 36.

What is byteman-bmunit

The Byteman bmunit jar provides integration of Byteman into TestNG and JUnit tests.

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

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

sudo dnf -y install byteman-bmunit

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

sudo yum -y install byteman-bmunit

How To Uninstall byteman-bmunit on Fedora 36

To uninstall only the byteman-bmunit package we can use the following command:

sudo dnf remove byteman-bmunit

byteman-bmunit Package Contents on Fedora 36

/usr/share/byteman/lib/byteman-bmunit.jar
/usr/share/java/byteman
/usr/share/java/byteman/byteman-bmunit-sources.jar
/usr/share/java/byteman/byteman-bmunit.jar
/usr/share/licenses/byteman-bmunit
/usr/share/licenses/byteman-bmunit/copyright.txt
/usr/share/maven-metadata/byteman-bmunit.xml
/usr/share/maven-poms/byteman
/usr/share/maven-poms/byteman/byteman-bmunit.pom

References

Summary

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