How To Install jaxb-xjc on Fedora 36
Introduction
In this tutorial we learn how to install jaxb-xjc
on Fedora 36.
What is jaxb-xjc
JAXB Binding Compiler. Contains source code needed for binding customization files into java sources. In other words generate java classes for the given xml representation.
We can use yum
or dnf
to install jaxb-xjc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jaxb-xjc.
Install jaxb-xjc 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 jaxb-xjc
using dnf
by running the following command:
sudo dnf -y install jaxb-xjc
Install jaxb-xjc 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 jaxb-xjc
using yum
by running the following command:
sudo yum -y install jaxb-xjc
How To Uninstall jaxb-xjc on Fedora 36
To uninstall only the jaxb-xjc
package we can use the following command:
sudo dnf remove jaxb-xjc
jaxb-xjc Package Contents on Fedora 36
/usr/share/java/jaxb
/usr/share/java/jaxb/jaxb-xjc.jar
/usr/share/licenses/jaxb-xjc
/usr/share/licenses/jaxb-xjc/LICENSE.md
/usr/share/licenses/jaxb-xjc/NOTICE.md
/usr/share/maven-metadata/jaxb-jaxb-xjc.xml
/usr/share/maven-poms/jaxb
/usr/share/maven-poms/jaxb/jaxb-xjc.pom
References
Summary
In this tutorial we learn how to install jaxb-xjc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).