# Install derby with Homebrew, apt, MacPorts, zypper

Apache Derby is an embedded relational database running on JVM. Version 10.17.1.0 via Homebrew; verified 2026-06-06.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install derby
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install derby
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:derby
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/derby>
- **Version:** 10.17.1.0
- **Source summary:** Apache Derby is an embedded relational database running on JVM
- **Homepage:** <https://db.apache.org/derby/>
- **Repository:** <https://svn.apache.org/repos/asf/db/derby/code/trunk>
- **Upstream docs:** <https://db.apache.org/derby/docs>
- **License:** Apache-2.0
- **Source archive:** <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>
- **Last updated:** 2026-06-06T11:29:12Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

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

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 10.17.1.0
- Package-manager updated: 2026-06-06
- Local data: ok
- Upstream repository: https://db.apache.org/derby/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

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

- **Geiger risk:** orange / medium
- 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 Details

- **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

## Other Package-Manager Records

- 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/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [berkeley-db](https://www.automicvault.com/pkg/brew/berkeley-db/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [dbxml](https://www.automicvault.com/pkg/brew/dbxml/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [ejdb](https://www.automicvault.com/pkg/brew/ejdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [gdbm](https://www.automicvault.com/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [lmdb](https://www.automicvault.com/pkg/brew/lmdb/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [mariadb](https://www.automicvault.com/pkg/brew/mariadb/) - Shares av.db curated category or tags: cli, data, database, relational-database.
- [orientdb](https://www.automicvault.com/pkg/brew/orientdb/) - Shares av.db curated category or tags: cli, data, database, java.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Shares av.db curated category or tags: cli, data, database, embedded-database.
- [h2](https://www.automicvault.com/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)


## Sources

- 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
