How To Install aqute-bnd on CentOS 7

In this tutorial we learn how to install aqute-bnd on CentOS 7. aqute-bnd is BND Tool

Introduction

In this tutorial we learn how to install aqute-bnd on CentOS 7.

What is aqute-bnd

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 or dnf to install aqute-bnd on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install aqute-bnd.

Install aqute-bnd on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install aqute-bnd using yum by running the following command:

sudo yum -y install aqute-bnd

Install aqute-bnd on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install aqute-bnd using dnf by running the following command:

sudo dnf -y install aqute-bnd

How To Uninstall aqute-bnd on CentOS 7

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

sudo dnf remove aqute-bnd

References

Summary

In this tutorial we learn how to install aqute-bnd on CentOS 7 using yum and dnf.