# Install root with Homebrew, dnf, Nix, pacman

Analyzing petabytes of data, scientifically. Version 6.40.02 via Homebrew; verified 2026-07-05.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install root
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install python3-distrdf
```

  Evidence: Fedora Rawhide package metadata: python3-distrdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:root
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/root>
- **Version:** 6.40.02
- **Source summary:** Analyzing petabytes of data, scientifically
- **Homepage:** <https://root.cern>
- **Repository:** <https://github.com/root-project/root>
- **Upstream docs:** <https://root.cern/doc/master>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://root.cern/download/root_v6.40.02.source.tar.gz>
- **Last updated:** 2026-07-05T18:13:19Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 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 (alias)
- genreflex (alias)
- h2root (alias)
- hadd (alias)
- hist2workspace (alias)
- prepareHistFactory (alias)
- rmkdepend (alias)
- root (alias)
- root-config (alias)
- root.exe (alias)
- rootbrowse (alias)
- rootcint (alias)
- rootcling (alias)
- rootcp (alias)
- rootdrawtree (alias)
- rooteventselector (alias)
- rootls (alias)
- rootmkdir (alias)
- rootmv (alias)
- rootn.exe (alias)
- rootnb.exe (alias)
- rootprint (alias)
- rootreadspeed (alias)
- rootrm (alias)
- roots (alias)
- roots.exe (alias)
- rootslimtree (alias)
- rootssh (alias)
- setxrd.csh (alias)
- thisroot.csh (alias)
- thisroot.fish (alias)
- thisroot.sh (alias)

## Dependencies

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

## Build dependencies

- cmake
- ninja
- pkgconf

## Uses from macOS

- curl
- libxcrypt
- libxml2
- ncurses

## Install behavior

- Post-install hook: not defined
- 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: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.40.02
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://root.cern
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for root. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: $ROOTSYS/etc/system.rootrc, ~/.rootrc, ./.rootrc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** root
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - root: normalized package name match | nixpkgs package indexes: pkgs/by-name/ro/root/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - python3-distrdf - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: python3-distrdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Distributed RDataFrame | https://root.cern/
- dnf - python3-jupyroot - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: python3-jupyroot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ROOT Jupyter kernel | https://root.cern/
- dnf - python3-root - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: python3-root from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python extension for ROOT | https://root.cern/
- dnf - root - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Numerical data analysis framework | https://root.cern/
- dnf - root-cli - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ROOT command line utilities | https://root.cern/
- dnf - root-cling - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-cling from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Cling C++ interpreter | https://root.cern/
- dnf - root-core - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ROOT core libraries | https://root.cern/
- dnf - root-fftw - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-fftw from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | FFTW library for ROOT | https://root.cern/
- dnf - root-foam - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-foam from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Compact Version of the Cellular Event Generator | https://root.cern/
- dnf - root-font-files - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-font-files from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ROOT font collection | https://root.cern/
- dnf - root-fumili - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-fumili from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fumili library for ROOT | https://root.cern/
- dnf - root-gdml - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-gdml from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GDML import/export for ROOT geometries | https://root.cern/
- dnf - root-genetic - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-genetic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Genetic algorithms for ROOT | https://root.cern/
- dnf - root-genvector - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-genvector from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Generalized vector library for ROOT | https://root.cern/
- dnf - root-geom - 6.38.04-6.fc45: normalized package name match | Fedora Rawhide package metadata: root-geom from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Geometry library for ROOT | https://root.cern/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [cfitsio](https://www.automicvault.com/pkg/brew/cfitsio/) - Runtime dependency declared by Homebrew.
- [civetweb](https://www.automicvault.com/pkg/brew/civetweb/) - Runtime dependency declared by Homebrew.
- [davix](https://www.automicvault.com/pkg/brew/davix/) - Runtime dependency declared by Homebrew.
- [fftw](https://www.automicvault.com/pkg/brew/fftw/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [giflib](https://www.automicvault.com/pkg/brew/giflib/) - Runtime 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.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [healpix](https://www.automicvault.com/pkg/brew/healpix/) - Shares av.db curated category or tags: cli, data-analysis, science, scientific-computing.
- [xlispstat](https://www.automicvault.com/pkg/brew/xlispstat/) - Shares av.db curated category or tags: cli, data-analysis, science, scientific-computing.
- [gnuastro](https://www.automicvault.com/pkg/brew/gnuastro/) - Shares av.db curated category or tags: cli, data-analysis, science.
- [metis](https://www.automicvault.com/pkg/brew/metis/) - Shares av.db curated category or tags: cli, science, scientific-computing.
- [numpy](https://www.automicvault.com/pkg/brew/numpy/) - Shares av.db curated category or tags: cli, science, scientific-computing.
- [qsoas](https://www.automicvault.com/pkg/brew/qsoas/) - Shares av.db curated category or tags: cli, data-analysis, science.
- [snakemake](https://www.automicvault.com/pkg/brew/snakemake/) - Shares av.db curated category or tags: cli, data-analysis, science.
- [clhep](https://www.automicvault.com/pkg/brew/clhep/) - Shares av.db curated category or tags: c-plus-plus, cern, cli, science.
- [opencv](https://www.automicvault.com/pkg/brew/opencv/) - Both packages touch the same language runtime or ecosystem. Shared terms: c-plus-plus, cli, freetype, jpeg, jpeg-turbo.
- [vtk](https://www.automicvault.com/pkg/brew/vtk/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, computing, freetype, jpeg, jpeg-turbo.
- [itk](https://www.automicvault.com/pkg/brew/itk/) - Local package facts share a topical domain. Shared terms: cli, computing, fftw, freetype, jpeg.

## Combined YAML source

View the package source record on GitHub. [combined/root.yml](https://github.com/automic-vault/db/blob/main/combined/root.yml)


## Sources

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