How To Install osgi-core on Fedora 36

In this tutorial we learn how to install osgi-core in Fedora 36. osgi-core is OSGi Core API

Introduction

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

What is osgi-core

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

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

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

sudo dnf -y install osgi-core

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

sudo yum -y install osgi-core

How To Uninstall osgi-core on Fedora 36

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

sudo dnf remove osgi-core

osgi-core Package Contents on Fedora 36

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

References

Summary

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