How To Install osgi-annotation on Fedora 36

In this tutorial we learn how to install osgi-annotation in Fedora 36. osgi-annotation is Annotations for use in compiling OSGi bundles

Introduction

In this tutorial we learn how to install osgi-annotation on Fedora 36.

What is osgi-annotation

Annotations for use in compiling OSGi bundles. This package is not normally needed at run-time.

We can use yum or dnf to install osgi-annotation on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install osgi-annotation.

Install osgi-annotation 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 osgi-annotation using dnf by running the following command:

sudo dnf -y install osgi-annotation

Install osgi-annotation 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 osgi-annotation using yum by running the following command:

sudo yum -y install osgi-annotation

How To Uninstall osgi-annotation on Fedora 36

To uninstall only the osgi-annotation package we can use the following command:

sudo dnf remove osgi-annotation

osgi-annotation Package Contents on Fedora 36

/usr/share/java/osgi-annotation
/usr/share/java/osgi-annotation/osgi.annotation.jar
/usr/share/licenses/osgi-annotation
/usr/share/licenses/osgi-annotation/LICENSE
/usr/share/licenses/osgi-annotation/NOTICE
/usr/share/maven-metadata/osgi-annotation.xml
/usr/share/maven-poms/osgi-annotation
/usr/share/maven-poms/osgi-annotation/osgi.annotation.pom

References

Summary

In this tutorial we learn how to install osgi-annotation on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).