# Install spack with Homebrew, zypper

Package manager that builds multiple versions and configurations of software. Version 1.2.2 via Homebrew; verified 2026-07-20. Also installable with zypper: sudo zypper install spack.

## Install

```sh
sudo av install brew:spack
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spack
```

  Evidence: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install spack
```

  Evidence: openSUSE Tumbleweed package metadata: spack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:spack
- **Package manager:** Homebrew
- **Version:** 1.2.2
- **Source summary:** Package manager that builds multiple versions and configurations of software
- **Homepage:** <https://spack.io>
- **Repository:** <https://github.com/spack/spack>
- **Last updated:** 2026-07-20T10:04:22Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- sbang (alias)
- spack (alias)
- spack-python (alias)
- spack-tmpconfig (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.2.2
## Project history and usage

Spack is a source-based, multi-platform package manager best known in high-performance and scientific computing. Its niche is letting users install many versions, compiler builds, variants, and dependency graphs side by side without overwriting an existing installation.

### Project history

The public GitHub repository was created in 2014. The project describes itself as a package manager for Linux, macOS, Windows, and supercomputers, with package recipes written in Python and a spec syntax for expressing versions, compilers, variants, and dependency choices.

### Adoption history

Spack grew around environments where system package managers and language package managers were too rigid for research software stacks. Its official README and documentation emphasize stable releases for multi-user site deployments, a community package repository, and communication channels for package authors, site administrators, and users.

### How it is used

Typical use starts by cloning Spack, sourcing its shell setup script, finding compilers, and running commands such as `spack list`, `spack spec`, and `spack install`. Configuration is YAML-based, with user configuration under `~/.spack/` and project environments described by `spack.yaml`.

### Why package nerds care

Package nerds care about Spack because it treats the dependency graph as something to solve, reproduce, and vary, not just a flat list of packages. It made HPC packaging culture more explicit: variants, compiler ABI choices, MPI providers, build caches, environment manifests, and site policy all become first-class package-manager concerns.

### Timeline

- 2014: Public GitHub repository created.
- 2020s: Documentation emphasizes stable releases, environment manifests, build caches, and large multi-user deployments.

### Related projects

- Spack overlaps culturally with Homebrew, MacPorts, Nix, EasyBuild, Conda, and environment modules, but is especially oriented toward source builds and combinatorial scientific software stacks.

### Sources

- <https://api.github.com/repos/spack/spack>
- <https://github.com/spack/spack>
- <https://spack.readthedocs.io/en/latest/configuration.html>
- <https://spack.readthedocs.io/en/latest/getting_started.html>
- input.source_facts.package-manager


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal


## 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: ~/.spack/config.yaml, ~/.spack/packages.yaml, spack.yaml
## Other Package-Manager Records

- zypper - spack - 0.23.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: spack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Package manager for HPC systems | https://spack.io
- zypper - spack-build-dependencies - 0.23.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: spack-build-dependencies from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Spack Build Dependencies | https://spack.io
- zypper - spack-info - 0.23.1-2.6: normalized package name match | openSUSE Tumbleweed package metadata: spack-info from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Info Page for Spack - Package manager for HPC systems | https://spack.io
- zypper - spack-man - 0.23.1-2.6: normalized package name match | openSUSE Tumbleweed package metadata: spack-man from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Man Page for Spack - Package manager for HPC systems | https://spack.io
- zypper - spack-recipes - 0.23.1-2.4: normalized package name match | openSUSE Tumbleweed package metadata: spack-recipes from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Spack built-in package recipes | https://spack.io


## Combined YAML source

View the package source record on GitHub. [combined/spack.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spack.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
