How To Install jmock-junit5 on Fedora 36
Introduction
In this tutorial we learn how to install jmock-junit5
on Fedora 36.
What is jmock-junit5
jMock JUnit 5 Integration.
We can use yum
or dnf
to install jmock-junit5
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jmock-junit5.
Install jmock-junit5 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 jmock-junit5
using dnf
by running the following command:
sudo dnf -y install jmock-junit5
Install jmock-junit5 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 jmock-junit5
using yum
by running the following command:
sudo yum -y install jmock-junit5
How To Uninstall jmock-junit5 on Fedora 36
To uninstall only the jmock-junit5
package we can use the following command:
sudo dnf remove jmock-junit5
jmock-junit5 Package Contents on Fedora 36
/usr/share/java/jmock
/usr/share/java/jmock/jmock-junit5.jar
/usr/share/maven-metadata/jmock-jmock-junit5.xml
/usr/share/maven-poms/jmock
/usr/share/maven-poms/jmock/jmock-junit5.pom
References
Summary
In this tutorial we learn how to install jmock-junit5
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).