Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix 安装 basex

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install basex

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install basex

MacPorts ports tree · databases/basex/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install basex

Debian stable package indexes · basex · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#basex

nixpkgs package indexes · pkgs/by-name/ba/basex/package.nix · 来源: api.github.com

概览

软件包摘要

Light-weight XML database and XPath/XQuery processor

命令和别名

  • basex
  • basexclient
  • basexgui
  • basexhttp
  • basexhttpstop
  • basexserver
  • basexserverstop

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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

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

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.

时间线

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

来源

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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:http,database,client,server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
$BASEX_HOME/.basex$BASEX_HOME/.basexgui

可执行文件

已安装的可执行文件

命令类型暴露范围备注
basexcli全局可执行文件
basexclientcli全局可执行文件
basexguicli全局可执行文件
basexhttpcli全局可执行文件
basexhttpstopcli全局可执行文件
basexservercli全局可执行文件
basexserverstopcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本12.4
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://basex.org

  • 信息Release/tag comparison is only available for GitHub repositories.https://basex.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:basex
版本12.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/basex
主页https://basex.org
仓库https://github.com/BaseXdb/basex
上游文档https://docs.basex.org/main/Main_Page
许可证BSD-3-Clause
源码归档https://files.basex.org/releases/12.4/BaseX124.zip
最后更新2026-06-22T14:02:51-07:00
Pulseupdated
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebasex
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

basex 10.5-1

XML database and XPath/XQuery processor

http://basex.org

sudo apt install basex
  • Section: database
  • Architecture: all
  • 3 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Basex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: basex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

basex

nix profile install nixpkgs#basex
  • normalized package name match
  • 匹配方式:Basex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/basex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

basex 10.5-1

XML database and XPath/XQuery processor

http://basex.org

sudo apt install basex
  • Section: universe/database
  • Architecture: all
  • 3 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Basex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: basex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

basex

sudo port install basex
  • normalized package name match
  • 匹配方式:Basex
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/basex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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