Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman, apt 安装 opensearch

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install opensearch

local Homebrew formula metadata

Linux

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S opensearch

Arch Linux sync databases · opensearch · 来源: geo.mirror.pkgbuild.com

Ubuntu apt已验证 · 92%
sudo apt install libopensearch-java

Ubuntu 24.04 LTS package indexes · libopensearch-java · 来源: archive.ubuntu.com

概览

软件包摘要

Open source distributed and RESTful search engine

命令和别名

  • opensearch
  • opensearch-keystore
  • opensearch-plugin
  • opensearch-shard

历史

项目历史与用法

OpenSearch is an Apache-2.0 distributed search and analytics engine based on Apache Lucene. It indexes and queries text, logs, metrics, traces, vectors, and operational data, and it forms the engine side of the OpenSearch suite together with OpenSearch Dashboards.

项目历史

AWS announced OpenSearch in April 2021 as a community-driven open source fork of Elasticsearch and Kibana, derived from Elasticsearch 7.10.2 and Kibana 7.10.2. The project also became the home for features from Open Distro for Elasticsearch, including security, alerting, machine learning, SQL, index state management, and related functionality.

The public fork work began before announcement. OpenSearch maintainers said they started preparing the codebase for public release on January 21, 2021, migrated 7.10 branch history for attribution, and removed code incompatible with Apache License 2.0.

OpenSearch 1.0 reached general availability in July 2021 as the first production-ready release. In September 2024, AWS transferred OpenSearch into the OpenSearch Software Foundation under the Linux Foundation, a governance change intended to support vendor-neutral collaboration around search, analytics, observability, and vector database software.

采用历史

OpenSearch attracted early public support from organizations that depended on Apache-licensed Elasticsearch-compatible software, including Red Hat, SAP, Capital One, and Logz.io in the launch announcement. The project later gained a Linux Foundation home with premier members including AWS, SAP, and Uber.

Managed service adoption is an important part of the project's footprint. Amazon OpenSearch Service provides hosted OpenSearch clusters and supports OpenSearch plus legacy Elasticsearch OSS up to 7.10, making the open source package and the cloud service part of the same migration story for many operators.

使用方式

Developers and operators run OpenSearch clusters for full-text search, log analytics, observability, security analytics, application search, and vector or hybrid retrieval workloads. The official getting-started documentation describes OpenSearch as a distributed search and analytics engine based on Apache Lucene, with fielded search, multi-index search, scoring, sorting, and aggregations.

The Homebrew package exposes the server plus administrative helpers such as `opensearch-plugin`, `opensearch-keystore`, and `opensearch-shard`. In practice that means a local package install can run a development node, test plugins, manage secure settings, or inspect shard-level data without a full managed service.

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

OpenSearch is package-nerd catnip because it is a fork where packaging, licensing, compatibility, and ecosystem governance are inseparable. The formula ships a JVM search server, plugin interface, config tree, and operational commands whose version must align with Dashboards and client libraries.

Its upgrade paths from Elasticsearch OSS and Open Distro make it a live example of package lineage: one dependency graph, one API surface, and one file-format ecosystem had to be carried across a fork while preserving operator trust.

时间线

  • 2021-01-21: Maintainers began preparing the OpenSearch and Dashboards forks for public release.
  • 2021-04-12: AWS announced OpenSearch as a fork of Elasticsearch and Kibana.
  • 2021-07-12: OpenSearch 1.0 reached general availability.
  • 2024-09-16: The OpenSearch Software Foundation launched under the Linux Foundation and OpenSearch moved to that foundation.

Related projects

  • OpenSearch is paired with OpenSearch Dashboards and descends from Elasticsearch OSS. Related OpenSearch ecosystem projects include OpenSearch plugins, Data Prepper, client libraries, and managed services such as Amazon OpenSearch Service.

来源

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 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.

Linux
/etc/opensearch/opensearch.yml
Unix
/usr/share/opensearch/config/opensearch.yml/path/to/opensearch-3.7.0/config/opensearch.yml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
opensearchcli全局可执行文件
opensearch-keystorecli全局可执行文件
opensearch-plugincli全局可执行文件
opensearch-shardcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/opensearch-project/OpenSearch

安装元数据

软件包元数据

软件包键brew:opensearch
版本3.7.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/opensearch
主页https://github.com/opensearch-project/OpenSearch
仓库https://github.com/opensearch-project/OpenSearch
上游文档https://docs.opensearch.org/
许可证Apache-2.0
源码归档https://github.com/opensearch-project/OpenSearch.git
最后更新2026-06-22T14:05:44-07:00
Pulseupdated
依赖openjdk@25
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务declared
注意事项Data: $HOMEBREW_PREFIX/var/lib/opensearch/ Logs: $HOMEBREW_PREFIX/var/log/opensearch/opensearch_homebrew.log Plugins: $HOMEBREW_PREFIX/var/opensearch/plugins/ Config: $HOMEBREW_PREFIX/etc/opensearch/

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

opensearch

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

libopensearch-java 2.4.1+dfsg-2

text search engine library

https://www.opensearch.org

sudo apt install libopensearch-java
  • Section: universe/java
  • Architecture: all
  • Source Package: opensearch
  • 21 依赖
  • normalized package name match
  • 匹配方式:Opensearch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libopensearch-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

opensearch 3.6.0-3

Open source distributed and RESTful search engine

https://docs.opensearch.org/latest/about/

sudo pacman -S opensearch
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依赖
  • 32 可选依赖
  • normalized package name match
  • 匹配方式:Opensearch
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opensearch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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