How To Install aqute-bnd on Fedora 36

In this tutorial we learn how to install aqute-bnd in Fedora 36. aqute-bnd is BND Tool

Introduction

In this tutorial we learn how to install aqute-bnd on Fedora 36.

What is aqute-bnd

The bnd tool helps you create and diagnose OSGi 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 or dnf to install aqute-bnd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install aqute-bnd.

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

sudo dnf -y install aqute-bnd

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

sudo yum -y install aqute-bnd

How To Uninstall aqute-bnd on Fedora 36

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

sudo dnf remove aqute-bnd

aqute-bnd Package Contents on Fedora 36

/etc/ant.d/aqute-bnd
/usr/bin/bnd
/usr/share/java/aqute-bnd
/usr/share/java/aqute-bnd/biz.aQute.bnd.ant.jar
/usr/share/java/aqute-bnd/biz.aQute.bnd.jar
/usr/share/licenses/aqute-bnd
/usr/share/licenses/aqute-bnd/LICENSE
/usr/share/maven-metadata/aqute-bnd.xml
/usr/share/maven-poms/aqute-bnd
/usr/share/maven-poms/aqute-bnd/biz.aQute.bnd.ant.pom
/usr/share/maven-poms/aqute-bnd/biz.aQute.bnd.pom

References

Summary

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