# 使用 Homebrew, apt, MacPorts, zypper 安装 derby

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

## 安装

```sh
sudo av install brew:derby
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install derby
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install derby
```

  证据: MacPorts ports tree: java/derby/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install derby-doc
```

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

- zypper (92%):

```sh
sudo zypper install sysinfo
```

  证据: openSUSE Tumbleweed package metadata: sysinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:derby
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/derby>
- **版本:** 10.17.1.0
- **来源摘要:** Apache Derby is an embedded relational database running on JVM
- **主页:** <https://db.apache.org/derby/>
- **仓库:** <https://svn.apache.org/repos/asf/db/derby/code/trunk>
- **上游文档:** <https://db.apache.org/derby/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=db/derby/db-derby-10.17.1.0/db-derby-10.17.1.0-bin.tar.gz>
- **最后更新:** 2026-06-06T11:29:12Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- NetworkServerControl (cli)
- dblook (cli)
- ij (cli)
- setEmbeddedCP (cli)
- setNetworkClientCP (cli)
- setNetworkServerCP (cli)
- startNetworkServer (cli)
- stopNetworkServer (cli)
- sysinfo (cli)
- NetworkServerControl (别名)
- dblook (别名)
- ij (别名)
- setEmbeddedCP (别名)
- setNetworkClientCP (别名)
- setNetworkServerCP (别名)
- startNetworkServer (别名)
- stopNetworkServer (别名)
- sysinfo (别名)

## 依赖

- openjdk

## 安装行为

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

## 版本和新鲜度

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

Apache Derby is an Apache DB relational database implemented entirely in Java. It is packaged as an embedded JDBC engine and as a client/server database with the Derby Network Server, which made it useful to Java developers who wanted a small SQL database without operating a separate database service.

### 项目历史

Derby entered Apache through the Incubator in 2004, when the Apache DB PMC voted to sponsor the project. The project graduated to an Apache DB subproject in July 2005, then continued releasing 10.x versions for nearly two decades before the developers voted on 2025-10-10 to retire Derby into a read-only state.

### 采用历史

Derby was adopted in Java and JDBC workflows because it could run embedded in an application, while still offering a network server mode when a more familiar client/server deployment was needed. Its release history shows steady maintenance from the first incubating 10.0 release in 2004 through the 10.17.1.0 release announced in November 2023.

### 使用方式

Package users usually encounter Derby through command-line tools such as ij, dblook, sysinfo, and NetworkServerControl, plus scripts for setting embedded, client, or server classpaths. Its configuration centers on Derby system properties, including the derby.properties file under derby.system.home.

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

Derby matters in package-manager history as a compact pure-Java SQL engine: one install gives both a JDBC library and small administrative tools, making it a useful test database, embedded database, and compatibility target for Java packaging ecosystems.

### 时间线

- 2004: Apache DB PMC voted to sponsor Derby.
- 2004: Derby 10.0.2.1 Incubator Release was published.
- 2005: Derby graduated to an Apache DB subproject.
- 2023: Derby 10.17.1.0 was announced.
- 2025: Derby developers voted to retire the project into a read-only state.

### Related projects

- Related Apache DB and Java database projects include Apache Torque, Apache JDO, and other JVM-oriented persistence tools; Derby's closest user-facing peers are embedded SQL databases and JDBC test databases.

### 来源

- <https://db.apache.org/derby/>
- <https://db.apache.org/derby/derby_downloads.html>
- <https://db.apache.org/derby/dev/derby_source.html>
- <https://db.apache.org/derby/docs>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## 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: ${derby.system.home}/derby.properties
## 源数据库详情

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

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

- Debian apt - derby-doc - 10.14.2.0-3: normalized package name match | Debian stable package indexes: derby-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Derby API documentation and examples | https://db.apache.org/derby/
- Debian apt - derby-tools - 10.14.2.0-3: normalized package name match | Debian stable package indexes: derby-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Derby Tools | https://db.apache.org/derby/
- Debian apt - libderby-java - 10.14.2.0-3: normalized package name match | Debian stable package indexes: libderby-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Derby Database Engine and Embedded JDBC Driver | https://db.apache.org/derby/
- Debian apt - libderbyclient-java - 10.14.2.0-3: normalized package name match | Debian stable package indexes: libderbyclient-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Apache Derby Client JDBC Driver | https://db.apache.org/derby/
- Ubuntu apt - derby-doc - 10.14.2.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: derby-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Derby API documentation and examples | https://db.apache.org/derby/
- Ubuntu apt - derby-tools - 10.14.2.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: derby-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Derby Tools | https://db.apache.org/derby/
- Ubuntu apt - libderby-java - 10.14.2.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libderby-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Derby Database Engine and Embedded JDBC Driver | https://db.apache.org/derby/
- Ubuntu apt - libderbyclient-java - 10.14.2.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: libderbyclient-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Apache Derby Client JDBC Driver | https://db.apache.org/derby/
- MacPorts - derby: normalized package name match | MacPorts ports tree: java/derby/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- zypper - sysinfo - 20251011-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: sysinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | System diagnosis tools from hxtools | https://inai.de/projects/hxtools/


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [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.
- [berkeley-db](https://www.automicvault.com/zh-hans/pkg/brew/berkeley-db/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [dbxml](https://www.automicvault.com/zh-hans/pkg/brew/dbxml/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [ejdb](https://www.automicvault.com/zh-hans/pkg/brew/ejdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [gdbm](https://www.automicvault.com/zh-hans/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [lmdb](https://www.automicvault.com/zh-hans/pkg/brew/lmdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [mariadb](https://www.automicvault.com/zh-hans/pkg/brew/mariadb/) - Shares av.db curated category or tags: cli, data, database, relational-database.
- [orientdb](https://www.automicvault.com/zh-hans/pkg/brew/orientdb/) - Shares av.db curated category or tags: cli, data, database, java.
- [sqlite](https://www.automicvault.com/zh-hans/pkg/brew/sqlite/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [h2](https://www.automicvault.com/zh-hans/pkg/brew/h2/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, database, embedded, embedded-database.

## Combined YAML source

View the package source record on GitHub. [combined/derby.yml](https://github.com/automic-vault/db/blob/main/combined/derby.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
