# 安装 root

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

## 安装

```sh
sudo av install brew:root
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install root
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install root
```

  证据: Fedora Rawhide package metadata: root from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#root
```

  证据: nixpkgs package indexes: pkgs/by-name/ro/root/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S root
```

  证据: Arch Linux sync databases: root from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:root
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/root>
- **版本:** 6.40.00
- **来源摘要:** Analyzing petabytes of data, scientifically
- **主页:** <https://root.cern>
- **上游文档:** <https://root.cern>
- **许可证:** LGPL-2.1-or-later
- **源码归档:** <https://root.cern/download/root_v6.40.00.source.tar.gz>
- **更新:** 2026-05-21T16:28:53Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- g2root (cli)
- genreflex (cli)
- h2root (cli)
- hadd (cli)
- hist2workspace (cli)
- prepareHistFactory (cli)
- rmkdepend (cli)
- root (cli)
- root-config (cli)
- root.exe (cli)
- rootbrowse (cli)
- rootcint (cli)
- rootcling (cli)
- rootcp (cli)
- rootdrawtree (cli)
- rooteventselector (cli)
- rootls (cli)
- rootmkdir (cli)
- rootmv (cli)
- rootn.exe (cli)
- rootnb.exe (cli)
- rootprint (cli)
- rootreadspeed (cli)
- rootrm (cli)
- roots (cli)
- roots.exe (cli)
- rootslimtree (cli)
- rootssh (cli)
- setxrd.csh (cli)
- thisroot.csh (cli)
- thisroot.fish (cli)
- thisroot.sh (cli)
- g2root (别名)
- genreflex (别名)
- h2root (别名)
- hadd (别名)
- hist2workspace (别名)
- prepareHistFactory (别名)
- rmkdepend (别名)
- root (别名)
- root-config (别名)
- root.exe (别名)
- rootbrowse (别名)
- rootcint (别名)
- rootcling (别名)
- rootcp (别名)
- rootdrawtree (别名)
- rooteventselector (别名)
- rootls (别名)
- rootmkdir (别名)
- rootmv (别名)
- rootn.exe (别名)
- rootnb.exe (别名)
- rootprint (别名)
- rootreadspeed (别名)
- rootrm (别名)
- roots (别名)
- roots.exe (别名)
- rootslimtree (别名)
- rootssh (别名)
- setxrd.csh (别名)
- thisroot.csh (别名)
- thisroot.fish (别名)
- thisroot.sh (别名)

## 依赖

- cfitsio
- davix
- fftw
- freetype
- ftgl
- gcc
- giflib
- gl2ps
- glew
- graphviz
- gsl
- jpeg-turbo
- libpng
- libtiff
- lz4
- nlohmann-json
- numpy
- openblas
- openssl@3
- pcre2
- python@3.14
- sqlite
- tbb
- xrootd
- xxhash
- xz
- zstd

## 构建依赖

- cmake
- ninja
- pkgconf

## macOS 提供的库

- curl
- libxcrypt
- libxml2
- ncurses

## 安装行为

- post-install 钩子: 未定义
- Caveats: As of ROOT 6.22, you should not need the thisroot scripts; but if you depend on the custom variables set by them, you can still run them: For bash users: . $HOMEBREW_PREFIX/bin/thisroot.sh For zsh users: pushd $HOMEBREW_PREFIX >/dev/null; . bin/thisroot.sh; popd >/dev/null For csh/tcsh users: source $HOMEBREW_PREFIX/bin/thisroot.csh For fish users: . $HOMEBREW_PREFIX/bin/thisroot.fish
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

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

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.

## 来源

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