How To Install jakarta-annotations on Fedora 36
Introduction
In this tutorial we learn how to install jakarta-annotations
on Fedora 36.
What is jakarta-annotations
Jakarta Annotations defines a collection of annotations representing common semantic concepts that enable a declarative style of programming that applies across a variety of Java technologies.
We can use yum
or dnf
to install jakarta-annotations
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jakarta-annotations.
Install jakarta-annotations 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 jakarta-annotations
using dnf
by running the following command:
sudo dnf -y install jakarta-annotations
Install jakarta-annotations 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 jakarta-annotations
using yum
by running the following command:
sudo yum -y install jakarta-annotations
How To Uninstall jakarta-annotations on Fedora 36
To uninstall only the jakarta-annotations
package we can use the following command:
sudo dnf remove jakarta-annotations
jakarta-annotations Package Contents on Fedora 36
/usr/share/doc/jakarta-annotations
/usr/share/doc/jakarta-annotations/README.md
/usr/share/java/jakarta-annotations
/usr/share/java/jakarta-annotations/jakarta.annotation-api.jar
/usr/share/licenses/jakarta-annotations
/usr/share/licenses/jakarta-annotations/LICENSE.md
/usr/share/licenses/jakarta-annotations/NOTICE.md
/usr/share/maven-metadata/jakarta-annotations.xml
/usr/share/maven-poms/jakarta-annotations
/usr/share/maven-poms/jakarta-annotations/ca-parent.pom
/usr/share/maven-poms/jakarta-annotations/jakarta.annotation-api.pom
References
Summary
In this tutorial we learn how to install jakarta-annotations
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).