How To Install osgi-compendium on Fedora 36

In this tutorial we learn how to install osgi-compendium in Fedora 36. osgi-compendium is Interfaces and Classes for use in compiling OSGi bundles

Introduction

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

What is osgi-compendium

OSGi Compendium, Interfaces and Classes for use in compiling bundles.

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

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

sudo dnf -y install osgi-compendium

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

sudo yum -y install osgi-compendium

How To Uninstall osgi-compendium on Fedora 36

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

sudo dnf remove osgi-compendium

osgi-compendium Package Contents on Fedora 36

/usr/share/doc/osgi-compendium
/usr/share/doc/osgi-compendium/about.html
/usr/share/java/osgi-compendium
/usr/share/java/osgi-compendium/osgi.cmpn.jar
/usr/share/licenses/osgi-compendium
/usr/share/licenses/osgi-compendium/LICENSE
/usr/share/maven-metadata/osgi-compendium.xml
/usr/share/maven-poms/osgi-compendium
/usr/share/maven-poms/osgi-compendium/osgi.cmpn.pom

References

Summary

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