How To Install jaxb-api on Fedora 36
Introduction
In this tutorial we learn how to install jaxb-api
on Fedora 36.
What is jaxb-api
The Jakarta XML Binding provides an API and tools that automate the mapping between XML documents and Java objects.
We can use yum
or dnf
to install jaxb-api
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jaxb-api.
Install jaxb-api 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-api
using dnf
by running the following command:
sudo dnf -y install jaxb-api
Install jaxb-api 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-api
using yum
by running the following command:
sudo yum -y install jaxb-api
How To Uninstall jaxb-api on Fedora 36
To uninstall only the jaxb-api
package we can use the following command:
sudo dnf remove jaxb-api
jaxb-api Package Contents on Fedora 36
/usr/share/java/glassfish-jaxb-api
/usr/share/java/glassfish-jaxb-api/jakarta.xml.bind-api.jar
/usr/share/java/jaxb-api.jar
/usr/share/licenses/jaxb-api
/usr/share/licenses/jaxb-api/LICENSE.md
/usr/share/licenses/jaxb-api/NOTICE.md
/usr/share/maven-metadata/jaxb-api.xml
/usr/share/maven-poms/glassfish-jaxb-api
/usr/share/maven-poms/glassfish-jaxb-api/jakarta.xml.bind-api.pom
/usr/share/maven-poms/jaxb-api
/usr/share/maven-poms/jaxb-api.pom
/usr/share/maven-poms/jaxb-api/jakarta.xml.bind-api-parent.pom
References
Summary
In this tutorial we learn how to install jaxb-api
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).