# Installer basex avec Homebrew, apt, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de basex pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:basex
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install basex
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install basex
```

  Preuve: MacPorts ports tree: databases/basex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install basex
```

  Preuve: Debian stable package indexes: basex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#basex
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ba/basex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:basex
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/basex>
- **Version:** 12.4
- **Résumé source:** Light-weight XML database and XPath/XQuery processor
- **Page d'accueil:** <https://basex.org>
- **Docs amont:** <https://basex.org>
- **Licence:** BSD-3-Clause
- **Archive source:** <https://files.basex.org/releases/12.4/BaseX124.zip>
- **Dernière mise à jour:** 2026-06-22T14:02:51-07:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- basex (cli)
- basexclient (cli)
- basexgui (cli)
- basexhttp (cli)
- basexhttpstop (cli)
- basexserver (cli)
- basexserverstop (cli)
- basex (alias)
- basexclient (alias)
- basexgui (alias)
- basexhttp (alias)
- basexhttpstop (alias)
- basexserver (alias)
- basexserverstop (alias)

## Dépendances

- openjdk

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 12.4
- gestionnaire mis à jour: 2026-06-22
- données locales: OK
- dépôt amont: https://basex.org
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

BaseX is a lightweight XML database engine and XQuery processor. In package-manager terms, it is the compact Java XML stack you install when you want a local command-line XQuery processor, an XML database server, a GUI, and HTTP/REST tooling without deploying a larger enterprise XML platform.

### Historique du projet

The official BaseX site describes the project as a high-performance XML database engine and XQuery processor with W3C Update and Full Text support. The official about page says BaseX started as a university research project whose development has been accompanied by publications, conference articles, and academic theses.

The project later became a maintained open source product around a broader XML framework. Its documentation describes the current BaseX 12 release, the GUI, client/server architecture, RESTXQ web application support, storage internals, and developer APIs, while the README points to GitHub as the official source-code location.

### Historique d'adoption

BaseX's adoption is strongest in XML-heavy environments: digital humanities, publishing, standards work, data transformation, and teams with large XML, HTML, JSON, CSV, or binary corpora that benefit from XQuery. The batch input shows packaging across Homebrew, Debian, Ubuntu, MacPorts, and Nix, which is a broad footprint for a specialist XML database.

The official docs also point users to mailing lists, Stack Overflow, and GitHub issues, showing the classic mature open source support surface: packaged binaries for users, documentation for XQuery/database work, and public project channels for bug reports and discussions.

### Modes d'utilisation

Users run BaseX as a console XQuery processor, a server, a command-line client, a GUI application, or an HTTP service. The README lists `BaseX`, `BaseXServer`, `BaseXClient`, and `BaseXGUI` entry points, and the batch input maps those roles to Homebrew executables such as `basex`, `basexserver`, `basexclient`, `basexgui`, and `basexhttp`.

Common package-manager usage is installing BaseX to evaluate XQuery locally, run a lightweight XML database server, develop RESTXQ applications, or inspect XML collections through the GUI. Configuration is exposed through BaseX home files such as `.basex` and `.basexgui`.

### Pourquoi les passionnés de paquets s'y intéressent

BaseX matters to package nerds because XML database tooling is a niche with a long memory. A small, BSD-licensed, Java-based XML database that ships useful CLIs, a GUI, and server modes fills a different slot than general SQL databases, document stores, or one-off XML command-line filters.

It is also a good example of why package managers keep specialist academic-origin tools alive: the user base may be smaller than for mainstream databases, but repeatable installation matters when a workflow depends on XQuery conformance, local XML collections, and command-line automation.

### Chronologie

- 2000s: BaseX begins as a university research project, according to the official about page.
- 2010s: BaseX grows into an open source XML database with CLI, GUI, client/server, and HTTP interfaces.
- 2025: Official documentation describes BaseX 12 as the current release line.
- 2026: The official site lists BaseX 12.4 as a current download.

### Related projects

- Related tools and standards include XQuery, XPath, W3C Update, W3C Full Text, RESTXQ, XML database systems, and general XML processing tools. In package-manager ecosystems, BaseX sits near Saxon, eXist-db, XMLStarlet, and libxml2-based command-line XML utilities.

### Sources

- Official README lists console, server, client, and GUI entry points and links GitHub source.
- Official about page says BaseX started as a university research project.
- Official docs describe BaseX 12, XQuery, GUI, client/server architecture, RESTXQ, storage, and developer APIs.
- Official homepage describes BaseX as a high-performance XML database engine and XQuery processor.
- input.source_facts.package-manager lists Homebrew, Debian, Ubuntu, MacPorts, and Nix packaging.


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal


## 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: $BASEX_HOME/.basex, $BASEX_HOME/.basexgui
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** basex
- **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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - basex - 10.5-1: normalized package name match | Debian stable package indexes: basex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | XML database and XPath/XQuery processor | http://basex.org
- Nix - basex: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/basex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - basex - 10.5-1: normalized package name match | Ubuntu 24.04 LTS package indexes: basex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | XML database and XPath/XQuery processor | http://basex.org
- MacPorts - basex: normalized package name match | MacPorts ports tree: databases/basex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://pkg.so/fr/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [mysql](https://pkg.so/fr/brew/mysql/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@14](https://pkg.so/fr/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@16](https://pkg.so/fr/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@17](https://pkg.so/fr/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@18](https://pkg.so/fr/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database.
- [postgresql@15](https://pkg.so/fr/brew/postgresql-15/) - Shares pkgdb curated category or tags: cli, data, database.
- [duckdb](https://pkg.so/fr/brew/duckdb/) - Shares pkgdb curated category or tags: cli, data, database.
- [mariadb](https://pkg.so/fr/brew/mariadb/) - Shares pkgdb curated category or tags: cli, data, database.
- [apgdiff](https://pkg.so/fr/brew/apgdiff/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openjdk.
- [arcadedb](https://pkg.so/fr/brew/arcadedb/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openjdk.
- [derby](https://pkg.so/fr/brew/derby/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, openjdk.

## Combined YAML source

View the package source record on GitHub. [combined/basex.yml](https://github.com/mxcl/pkgdb/blob/main/combined/basex.yml)


## Sources

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