How To Install aqute-bndlib on CentOS 7

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

Introduction

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

What is aqute-bndlib

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

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

sudo yum -y install aqute-bndlib

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

sudo dnf -y install aqute-bndlib

How To Uninstall aqute-bndlib on CentOS 7

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

sudo dnf remove aqute-bndlib

References

Summary

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