# 使用 Homebrew, apt 安装 bnd

查看 bnd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bnd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bnd
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install bnd
```

  证据: Debian stable package indexes: bnd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:bnd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bnd>
- **版本:** 7.3.0
- **来源摘要:** Swiss Army Knife for OSGi bundles
- **主页:** <https://bnd.bndtools.org/>
- **仓库:** <https://github.com/bndtools/bnd>
- **上游文档:** <https://bnd.bndtools.org/>
- **许可证:** Apache-2.0 OR EPL-2.0
- **源码归档:** <https://search.maven.org/remotecontent?filepath=biz/aQute/bnd/biz.aQute.bnd/7.3.0/biz.aQute.bnd-7.3.0.jar>
- **最后更新:** 2026-06-03T09:56:14Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- bnd (cli)
- bnd (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 7.3.0
- 管理器更新时间: 2026-06-03
- 本地数据: OK
- 上游仓库: https://bnd.bndtools.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

bnd is OSGi bundle tooling for Java: a command-line tool and library used to generate manifests, wrap JARs, resolve bundles, and support OSGi builds through Eclipse, Maven, and Gradle integrations.

### 项目历史

bnd grew out of the OSGi tooling world around Peter Kriens and aQute. The Bndtools about page describes how Richard Hall, the Apache Felix developer, and Peter Kriens worked together on a Maven plugin with bnd for Apache Felix.

The project expanded from manifest generation into a broader toolchain: Bnd/Bndtools now advertises tooling for OSGi bundles including Eclipse, Maven, and Gradle plugins.

### 采用历史

bnd became important because OSGi metadata is precise and tedious. Maven and Gradle users adopted bnd-derived plugins to turn ordinary Java artifacts into OSGi bundles without hand-writing every manifest header.

It also became the foundation for Bndtools, the Eclipse-based OSGi development environment, giving the same underlying model a GUI, workspace conventions, and repository tooling.

### 使用方式

Developers use bnd files such as bnd.bnd and cnf/build.bnd to describe bundle metadata, exports, imports, baselining, repositories, and launch/run configurations. The CLI is also used to inspect, build, wrap, and resolve bundles.

In build systems, bnd commonly appears indirectly through Maven Bundle Plugin, Gradle bnd plugins, or Bndtools projects rather than as a manually invoked command.

### 为什么软件包爱好者会关心

bnd is package-nerd-significant because it turns Java packaging metadata into a first-class build artifact. OSGi bundles are still JARs, but their manifests encode module boundaries, version ranges, capabilities, and wiring expectations.

For maintainers, bnd is the difference between a JAR that happens to load and a bundle that declares what it exports, imports, requires, and promises. That makes it a key tool in the long-running Java modularity story beside Maven, Gradle, Felix, Equinox, and later JPMS.

### 时间线

- 2000s: bnd emerges in the OSGi ecosystem around Peter Kriens/aQute and Apache Felix-related tooling.
- 2000s: bnd is used in a Maven plugin for Apache Felix, helping make OSGi manifest generation easier for Maven users.
- 2010s: Bndtools builds an Eclipse OSGi development environment on top of bnd.
- 2020s: The GitHub project presents Bnd/Bndtools as OSGi bundle tooling with Eclipse, Maven, and Gradle plugins.

### Related projects

- Bndtools: Eclipse-based OSGi development tools built on bnd.
- Apache Felix and Eclipse Equinox: OSGi framework implementations in the same ecosystem.
- Maven Bundle Plugin and Gradle bnd plugins: build-system integrations that expose bnd functionality.
- OSGi specifications: the modular Java component model whose metadata bnd generates and validates.

### 来源

- <https://bnd.bndtools.org/>
- <https://bnd.bndtools.org/commands/baseline.html>
- <https://bnd.bndtools.org/instructions/sub.html>
- <https://bndtools.org/about.html>
- <https://github.com/bndtools/bnd>
- source_facts.description


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: cnf/build.bnd, cnf/ext/*.bnd, bnd.bnd, *.bnd
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bnd
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - bnd - 5.0.1-5: normalized package name match | Debian stable package indexes: bnd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool to create and diagnose OSGi bundles | http://bnd.bndtools.org/
- Ubuntu apt - bnd - 5.0.1-5: normalized package name match | Ubuntu 24.04 LTS package indexes: bnd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool to create and diagnose OSGi bundles | http://bnd.bndtools.org/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [amdatu-bootstrap](https://www.automicvault.com/zh-hans/pkg/brew/amdatu-bootstrap/) - Shares av.db curated category or tags: cli, developer-tools, java, osgi.
- [pax-runner](https://www.automicvault.com/zh-hans/pkg/brew/pax-runner/) - Shares av.db curated category or tags: cli, developer-tools, java, osgi.
- [byteman](https://www.automicvault.com/zh-hans/pkg/brew/byteman/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [cfr-decompiler](https://www.automicvault.com/zh-hans/pkg/brew/cfr-decompiler/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [checkstyle](https://www.automicvault.com/zh-hans/pkg/brew/checkstyle/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [fastjar](https://www.automicvault.com/zh-hans/pkg/brew/fastjar/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [gcviewer](https://www.automicvault.com/zh-hans/pkg/brew/gcviewer/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [helidon](https://www.automicvault.com/zh-hans/pkg/brew/helidon/) - Shares av.db curated category or tags: cli, developer-tools, java.

## Combined YAML source

View the package source record on GitHub. [combined/bnd.yml](https://github.com/automic-vault/db/blob/main/combined/bnd.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
