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

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

Introduction

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

What is aqute-bnd.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-bnd.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install aqute-bnd.noarch.

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

sudo yum -y install aqute-bnd.noarch

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

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

sudo yum remove aqute-bnd.noarch

aqute-bnd.noarch Package Contents on Amazon Linux 2

/usr/share/doc/aqute-bnd-0.0.363
/usr/share/doc/aqute-bnd-0.0.363/LICENSE
/usr/share/java/aqute-bnd.jar
/usr/share/maven-fragments/aqute-bnd
/usr/share/maven-poms/JPP-aqute-bnd.pom

References

Summary

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