# 安装 apache-spark

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

## 安装

```sh
sudo av install brew:apache-spark
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apache-spark
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:apache-spark
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/apache-spark>
- **版本:** 4.1.2
- **来源摘要:** Engine for large-scale data processing
- **主页:** <https://spark.apache.org/>
- **上游文档:** <https://spark.apache.org/>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=spark/spark-4.1.2/spark-4.1.2-bin-hadoop3.tgz>
- **更新:** 2026-05-21T19:24:07Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- docker-image-tool.sh (cli)
- find-spark-home (cli)
- load-spark-env.sh (cli)
- pyspark (cli)
- run-example (cli)
- spark-beeline (cli)
- spark-class (cli)
- spark-connect-shell (cli)
- spark-pipelines (cli)
- spark-shell (cli)
- spark-sql (cli)
- spark-submit (cli)
- sparkR (cli)
- docker-image-tool.sh (别名)
- find-spark-home (别名)
- load-spark-env.sh (别名)
- pyspark (别名)
- run-example (别名)
- spark-beeline (别名)
- spark-class (别名)
- spark-connect-shell (别名)
- spark-pipelines (别名)
- spark-shell (别名)
- spark-sql (别名)
- spark-submit (别名)
- sparkR (别名)

## 依赖

- openjdk@21

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 4.1.2
- 管理器更新时间: 2026-05-21
- 本地数据: ok
- 上游仓库: https://spark.apache.org/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## 相关链接

- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
