bnd command not found

In this troubleshooting guide we learn how to fix bnd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bnd: command not found

or when using sudo you get the following error message

sudo: bnd: command not found

Solutions to bnd: command not found

How To Fix bnd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bnd is provided by bnd package.

bnd is:

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
  • Maven Plugin
  • Ant Plugin

To fix this problem, we can install more using the command below.

sudo apt-get -y install bnd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bnd.

sudo apt -y install bnd

Or if you have aptitude installed you can use the following command.

sudo aptitude install bnd

Summary

In this tutorial we learn how to fix bnd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.