How To Install aqute-bndlib.noarch on Amazon Linux 2

In this tutorial we learn how to install aqute-bndlib.noarch in Amazon Linux 2. aqute-bndlib.noarch is BND Library

Introduction

In this tutorial we learn how to install aqute-bndlib.noarch on Amazon Linux 2.

What is aqute-bndlib.noarch

The bnd tool helps you create and diagnose OSGi R4 bundles. The key functions are - Show the manifest and JAR contents of a bundle - Wrap a JAR so that it becomes a bundle - Create a Bundle from a specification and a class path - Verify the validity of the manifest entries The tool is capable of acting as - Command line tool - File format - Directives - Use of macros

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

Install aqute-bndlib.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 aqute-bndlib.noarch using yum by running the following command:

sudo yum -y install aqute-bndlib.noarch

How To Uninstall aqute-bndlib.noarch on Amazon Linux 2

To uninstall only the aqute-bndlib.noarch package we can use the following command:

sudo yum remove aqute-bndlib.noarch

aqute-bndlib.noarch Package Contents on Amazon Linux 2

/usr/share/doc/aqute-bndlib-1.50.0
/usr/share/doc/aqute-bndlib-1.50.0/LICENSE
/usr/share/java/aqute-bndlib.jar
/usr/share/maven-effective-poms/JPP-aqute-bndlib.pom
/usr/share/maven-fragments/aqute-bndlib.xml
/usr/share/maven-poms/JPP-aqute-bndlib.pom

References

Summary

In this tutorial we learn how to install aqute-bndlib.noarch on Amazon Linux 2 using yum.