# Install kokkos with Homebrew, dnf, MacPorts, Nix, apt, zypper

C++ Performance Portability Ecosystem for parallel execution and abstraction. Version 5.1.1 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:kokkos
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kokkos
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kokkos
```

  Evidence: MacPorts ports tree: devel/kokkos/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install kokkos
```

  Evidence: Fedora Rawhide package metadata: kokkos 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#kokkos
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ko/kokkos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install kokkos
```

  Evidence: Ubuntu 24.04 LTS package indexes: kokkos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install kokkos-devel
```

  Evidence: openSUSE Tumbleweed package metadata: kokkos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:kokkos
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kokkos>
- **Version:** 5.1.1
- **Source summary:** C++ Performance Portability Ecosystem for parallel execution and abstraction
- **Homepage:** <https://kokkos.org>
- **Repository:** <https://github.com/kokkos/kokkos>
- **Upstream docs:** <https://kokkos.org/kokkos-core-wiki>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/kokkos/kokkos/releases/download/5.1.1/kokkos-5.1.1.tar.gz>
- **Last updated:** 2026-06-25T13:37:47+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hpcbind (cli)
- kokkos_launch_compiler (cli)
- nvcc_wrapper (cli)
- hpcbind (alias)
- kokkos_launch_compiler (alias)
- nvcc_wrapper (alias)

## Dependencies

- libomp

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.1.1
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/kokkos/kokkos
- info: No cached GitHub release or tag data was available.
## Project history and usage

Kokkos is a C++ performance-portability ecosystem for writing parallel code that can target different CPU and accelerator backends. The Homebrew package exposes developer tools such as nvcc_wrapper and kokkos_launch_compiler, making a large HPC programming model feel like a normal installable developer dependency.

### Project history

Kokkos originated in the U.S. Department of Energy national-lab HPC world, with Sandia National Laboratories as the original developer. Its early evolution moved from node abstractions around 2008-2010 into a fuller programming model around 2010-2014, combining execution abstractions with data abstractions.

The 2014 Kokkos paper described the core idea: applications and domain libraries need performance portability across manycore architectures, and memory access patterns are as important as parallel execution. Sandia describes the Kokkos ecosystem as released in 2017 to provide a vendor-independent performance-portable programming system for scientific, engineering, and mathematical C++ applications.

The project later became part of the Linux Foundation's High Performance Software Foundation ecosystem. Kokkos documentation describes Core as the programming model, with related projects for math kernels, profiling/debugging tools, Python bindings, remote spaces, and resilience/checkpointing.

### Adoption history

Kokkos adoption tracks the HPC shift from single-architecture tuning toward heterogeneous systems with NVIDIA, AMD, Intel, and CPU backends. Its support for CUDA, HIP, SYCL, HPX, OpenMP, and C++ threads made it a common portability layer for DOE and scientific codes preparing for exascale machines.

Package-manager adoption matters because Kokkos is often both a library dependency and a compiler-wrapper/tooling dependency. Making it available through Homebrew, Linux distribution packages, MacPorts, Nix, and openSUSE helps developers test and build performance-portable code outside facility-specific software stacks.

### How it is used

Users build C++ applications against Kokkos Core to express parallel execution policies and memory spaces without hard-coding one backend. The package's CLI-visible tools support compilation flows, especially CUDA-oriented builds through wrappers such as nvcc_wrapper.

In practice, Kokkos often appears inside larger scientific applications and libraries rather than as an end-user command. Its package entry is still valuable because the build system has to find headers, libraries, compiler wrappers, enabled backends, and compatible C++ compiler settings.

### Why package nerds care

Kokkos is a stress test for package systems because it is C++, HPC, backend-sensitive, and toolchain-sensitive. A good package has to expose enough knobs for OpenMP, CUDA, HIP, SYCL, and compiler integration without making every user rebuild a bespoke supercomputer stack.

It is also a marker of HPC software moving into mainstream package indexes. Homebrew carrying Kokkos means macOS and workstation developers can inspect, compile, and prototype with an exascale-era programming model before moving to clusters.

### Timeline

- 2008-2010: Kokkos history materials describe early node abstractions and sparse-kernel work.
- 2010-2014: Kokkos evolved into a complete programming model with execution and data abstractions.
- 2014: The original Kokkos paper appeared in Journal of Parallel and Distributed Computing.
- 2017: Sandia describes the Kokkos ecosystem as released for vendor-independent performance portability.
- 2020-02-28: GitHub release metadata records Kokkos 3.0.00.
- 2023-03-03: GitHub release metadata records Kokkos 4.0.00.

### Related projects

- The Kokkos ecosystem includes kokkos-kernels, kokkos-tools, pykokkos, kokkos-remote-spaces, and kokkos-resilience. It is used alongside HPC projects and libraries such as Trilinos and LAMMPS, and conceptually relates to RAJA, OpenMP, CUDA, HIP, SYCL, and C++ standardization efforts such as mdspan.

### Sources

- <https://api.github.com/repos/kokkos/kokkos/releases>
- <https://kokkos.org/about/overview/>
- <https://kokkos.org/kokkos-core-wiki/>
- <https://kokkos.org/kokkos-core-wiki/citation.html>
- <https://www.osti.gov/servlets/purl/1765805>
- <https://www.sandia.gov/news/publications/hpc-annual-reports/article/kokkos/>


## Security Notes

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


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kokkos
- **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 - kokkos: normalized package name match | nixpkgs package indexes: pkgs/by-name/ko/kokkos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kokkos - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: kokkos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- Ubuntu apt - libkokkos-dev - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libkokkos-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- Ubuntu apt - libkokkos3.7 - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libkokkos3.7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- dnf - kokkos - 5.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Kokkos C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- dnf - kokkos-devel - 5.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development package for kokkos packages | https://github.com/kokkos/kokkos
- dnf - kokkos-rocm - 5.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-rocm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | kokkos ROCm package | https://github.com/kokkos/kokkos
- dnf - kokkos-rocm-devel - 5.0.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-rocm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | kokkos ROCm development package | https://github.com/kokkos/kokkos
- zypper - kokkos-devel - 5.1.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: kokkos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development package for kokkos packages | https://github.com/kokkos/kokkos
- zypper - libkokkos-5_1 - 5.1.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libkokkos-5_1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A C++ Performance Portability Programming Library | https://github.com/kokkos/kokkos
- MacPorts - kokkos: normalized package name match | MacPorts ports tree: devel/kokkos/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [precice](https://www.automicvault.com/pkg/brew/precice/) - Popular package that depends on this formula.
- [enchant](https://www.automicvault.com/pkg/brew/enchant/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, library.
- [gflags](https://www.automicvault.com/pkg/brew/gflags/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [libvterm](https://www.automicvault.com/pkg/brew/libvterm/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [lunar-date](https://www.automicvault.com/pkg/brew/lunar-date/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [notcurses](https://www.automicvault.com/pkg/brew/notcurses/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [notifiers](https://www.automicvault.com/pkg/brew/notifiers/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [tre](https://www.automicvault.com/pkg/brew/tre/) - Shares av.db curated category or tags: cli, developer-tools, library.
- [aarch64-elf-gcc](https://www.automicvault.com/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools.
- [ccache](https://www.automicvault.com/pkg/brew/ccache/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, compiler, developer, developer-tools.
- [open-mpi](https://www.automicvault.com/pkg/brew/open-mpi/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, hpc, parallel.

## Combined YAML source

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


## Sources

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