How To Install felix-osgi-core.noarch on Amazon Linux 2

In this tutorial we learn how to install felix-osgi-core.noarch in Amazon Linux 2. felix-osgi-core.noarch is Felix OSGi R4 Core Bundle

Introduction

In this tutorial we learn how to install felix-osgi-core.noarch on Amazon Linux 2.

What is felix-osgi-core.noarch

OSGi Service Platform Release 4 Core Interfaces and Classes.

We can use yum to install felix-osgi-core.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install felix-osgi-core.noarch.

Install felix-osgi-core.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install felix-osgi-core.noarch using yum by running the following command:

sudo yum -y install felix-osgi-core.noarch

How To Uninstall felix-osgi-core.noarch on Amazon Linux 2

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

sudo yum remove felix-osgi-core.noarch

felix-osgi-core.noarch Package Contents on Amazon Linux 2

/usr/share/doc/felix-osgi-core-1.4.0
/usr/share/doc/felix-osgi-core-1.4.0/LICENSE
/usr/share/java/felix/org.osgi.core.jar
/usr/share/maven-effective-poms/JPP.felix-org.osgi.core.pom
/usr/share/maven-fragments/felix-osgi-core.xml
/usr/share/maven-poms/JPP.felix-org.osgi.core.pom

References

Summary

In this tutorial we learn how to install felix-osgi-core.noarch on Amazon Linux 2 using yum.