How To Install jopt-simple on Fedora 36
Introduction
In this tutorial we learn how to install jopt-simple
on Fedora 36.
What is jopt-simple
JOpt Simple is a Java library for parsing command line options, such as those you might pass to an invocation of javac.
We can use yum
or dnf
to install jopt-simple
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jopt-simple.
Install jopt-simple 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 jopt-simple
using dnf
by running the following command:
sudo dnf -y install jopt-simple
Install jopt-simple 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 jopt-simple
using yum
by running the following command:
sudo yum -y install jopt-simple
How To Uninstall jopt-simple on Fedora 36
To uninstall only the jopt-simple
package we can use the following command:
sudo dnf remove jopt-simple
jopt-simple Package Contents on Fedora 36
/usr/share/java/jopt-simple
/usr/share/java/jopt-simple/jopt-simple.jar
/usr/share/licenses/jopt-simple
/usr/share/licenses/jopt-simple/LICENSE.txt
/usr/share/maven-metadata/jopt-simple.xml
/usr/share/maven-poms/jopt-simple
/usr/share/maven-poms/jopt-simple/jopt-simple.pom
References
Summary
In this tutorial we learn how to install jopt-simple
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).