# cp2k を Homebrew, apt, dnf, Nix でインストール

cp2k のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cp2k
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cp2k
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:cp2k
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2026.2
- **ソース概要:** Quantum chemistry and solid state physics software package
- **ホームページ:** <https://www.cp2k.org/>
- **リポジトリ:** <https://github.com/cp2k/cp2k>
- **最終更新:** 2026-07-16T10:34:28Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cp2k.popt (エイリアス)
- cp2k.psmp (エイリアス)
- dbm_miniapp.psmp (エイリアス)
- dbt_tas_unittest.psmp (エイリアス)
- dbt_unittest.psmp (エイリアス)
- dumpdcd.psmp (エイリアス)
- gemm_square_unittest.psmp (エイリアス)
- graph.psmp (エイリアス)
- grid_miniapp.psmp (エイリアス)
- grid_unittest.psmp (エイリアス)
- gx_ac_unittest.psmp (エイリアス)
- libcp2k_unittest.psmp (エイリアス)
- memory_utilities_unittest.psmp (エイリアス)
- nequip_unittest.psmp (エイリアス)
- orbital_transformation_matrices_unittest.psmp (エイリアス)
- parallel_rng_types_unittest.psmp (エイリアス)
- realspace_grid_cube_unittest.psmp (エイリアス)
- xyz2dcd.psmp (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2026.2
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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)


## ソース

- 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
