# cp2k mit Homebrew, apt, dnf, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cp2k in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:cp2k
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install cp2k
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cp2k
```

  Evidenz: Debian stable package indexes: cp2k from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install cp2k
```

  Evidenz: Fedora Rawhide package metadata: cp2k from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cp2k
```

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

## Paketfakten

- **Paketschlüssel:** brew:cp2k
- **Paketmanager:** Homebrew
- **Version:** 2026.2
- **Quellzusammenfassung:** Quantum chemistry and solid state physics software package
- **Homepage:** <https://www.cp2k.org/>
- **Repository:** <https://github.com/cp2k/cp2k>
- **Zuletzt aktualisiert:** 2026-07-16T10:34:28Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- cp2k.popt (Alias)
- cp2k.psmp (Alias)
- dbm_miniapp.psmp (Alias)
- dbt_tas_unittest.psmp (Alias)
- dbt_unittest.psmp (Alias)
- dumpdcd.psmp (Alias)
- gemm_square_unittest.psmp (Alias)
- graph.psmp (Alias)
- grid_miniapp.psmp (Alias)
- grid_unittest.psmp (Alias)
- gx_ac_unittest.psmp (Alias)
- libcp2k_unittest.psmp (Alias)
- memory_utilities_unittest.psmp (Alias)
- nequip_unittest.psmp (Alias)
- orbital_transformation_matrices_unittest.psmp (Alias)
- parallel_rng_types_unittest.psmp (Alias)
- realspace_grid_cube_unittest.psmp (Alias)
- xyz2dcd.psmp (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2026.2
## Projektgeschichte und Nutzung

CP2K is an open-source quantum chemistry and solid-state physics package for atomistic simulations of molecular, periodic, materials, crystal, liquid, and biological systems.

### Projektgeschichte

The official CP2K site describes the program as a Fortran 2008 code supporting DFT, DFTB, MP2, RPA, semi-empirical methods, classical force fields, molecular dynamics, Monte Carlo, metadynamics, vibrational analysis, and related simulation workflows. It is GPL-licensed and developed openly on GitHub.

The official version history shows a long release line, with entries at least back to version 2.0 and continuing through date-based releases such as 2026.1. The project also documents trunk development in Git, indicating an active development branch alongside released versions.

### Adoptionsgeschichte

CP2K's official download page explicitly lists both source releases and distribution channels, including Debian, Fedora, Ubuntu, Arch, Homebrew, Docker, NVIDIA NGC, EasyBuild, Spack, conda-forge, Nix, and FreeBSD. That breadth reflects its role as an HPC/scientific package that downstream package systems carry for reproducible simulation environments.

The version history records packaging-relevant platform work such as migration from SVN to Git in version 7.1, macOS build fixes in 9.1, ARM64 support in 8.2, container support in 2023.2, and GPU/offload work across multiple releases.

### Wie es verwendet wird

Users run CP2K for computational chemistry and materials-science simulations, usually through input files and HPC-style execution rather than as an interactive desktop tool. The official site emphasizes both the manual and scientific references because results depend on the selected methods and modules.

### Warum Paket-Nerds sich dafür interessieren

CP2K is package-manager-significant because it combines a large Fortran scientific codebase, MPI/OpenMP/GPU build variants, bundled and external numerical libraries, test/regression expectations, and heavy downstream demand from HPC environments. Its official distribution list spans both general-purpose OS repositories and specialist scientific package managers.

### Zeitleiste

- 2.0: Earliest release listed on the official version-history page.
- 2019: Version 7.1 notes that development moved from SVN to Git.
- 2021: Version 8.2 added ARM64 support.
- 2023: Version 2023.2 added Apptainer/Singularity container support.
- 2026: Version 2026.1 was released on January 6, 2026.

### Related projects

- The official site names DBCSR as CP2K's sparse matrix library and documents its standalone availability. The version history also references integrations and adjacent scientific tools such as SIRIUS, COSMA, ELPA, libxc, Docker, Spack, and conda-forge.

### Quellen

- <https://www.cp2k.org/about>
- <https://www.cp2k.org/download>
- <https://www.cp2k.org/version_history>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - cp2k - 2025.1-1.1: normalized package name match | Debian stable package indexes: cp2k from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ab Initio Molecular Dynamics | http://www.cp2k.org
- Debian apt - cp2k-data - 2025.1-1.1: normalized package name match | Debian stable package indexes: cp2k-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ab Initio Molecular Dynamics (data files) | http://www.cp2k.org
- Nix - cp2k: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cp2k/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - cp2k - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Ab Initio Molecular Dynamics | https://www.cp2k.org/
- dnf - cp2k-common - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Molecular simulations software - common files | https://www.cp2k.org/
- dnf - cp2k-devel - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for cp2k | https://www.cp2k.org/
- dnf - cp2k-mpich - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-mpich from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Molecular simulations software - mpich version | https://www.cp2k.org/
- dnf - cp2k-mpich-devel - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-mpich-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for cp2k | https://www.cp2k.org/
- dnf - cp2k-openmpi - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-openmpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Molecular simulations software - openmpi version | https://www.cp2k.org/
- dnf - cp2k-openmpi-devel - 2026.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: cp2k-openmpi-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for cp2k | https://www.cp2k.org/


## Combined YAML source

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


## Quellen

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