macOS
brew install cp2klocal Homebrew formula metadata
安装
brew install cp2klocal Homebrew formula metadata
sudo dnf install cp2kFedora Rawhide package metadata · cp2k · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cp2knixpkgs package indexes · pkgs/by-name/cp/cp2k/package.nix · 来源: api.github.com
概览
Quantum chemistry and solid state physics software package
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cp2k.psmp | cli | 全局可执行文件 | |
dbm_miniapp.psmp | cli | 全局可执行文件 | |
dbt_tas_unittest.psmp | cli | 全局可执行文件 | |
dbt_unittest.psmp | cli | 全局可执行文件 | |
dumpdcd.psmp | cli | 全局可执行文件 | |
gemm_square_unittest.psmp | cli | 全局可执行文件 | |
graph.psmp | cli | 全局可执行文件 | |
grid_miniapp.psmp | cli | 全局可执行文件 | |
grid_unittest.psmp | cli | 全局可执行文件 | |
gx_ac_unittest.psmp | cli | 全局可执行文件 | |
libcp2k_unittest.psmp | cli | 全局可执行文件 | |
memory_utilities_unittest.psmp | cli | 全局可执行文件 | |
nequip_unittest.psmp | cli | 全局可执行文件 | |
parallel_rng_types_unittest.psmp | cli | 全局可执行文件 | |
xyz2dcd.psmp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cp2k |
|---|---|
| 版本 | 2026.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cp2k |
| 主页 | https://www.cp2k.org/ |
| 仓库 | https://github.com/cp2k/cp2k |
| 上游文档 | https://manual.cp2k.org/ |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/cp2k/cp2k/releases/download/v2026.2/cp2k-2026.2.tar.bz2 |
| 最后更新 | 2026-07-16T10:34:28Z |
| Pulse | updated |
| 依赖 | dbcsr, fftw, gcc, libint, libomp, libxc, open-mpi, openblas, scalapack |
| 构建依赖 | cmake, fypp, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cp2k |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cp2k 2025.1-1.1
Ab Initio Molecular Dynamics
sudo apt install cp2kcp2k-data 2025.1-1.1
Ab Initio Molecular Dynamics (data files)
sudo apt install cp2k-datacp2k
nix profile install nixpkgs#cp2kcp2k 2025.1-5.fc44
Ab Initio Molecular Dynamics
sudo dnf install cp2kcp2k-common 2025.1-5.fc44
Molecular simulations software - common files
sudo dnf install cp2k-commoncp2k-devel 2025.1-5.fc44
Development files for cp2k
sudo dnf install cp2k-develcp2k-mpich 2025.1-5.fc44
Molecular simulations software - mpich version
sudo dnf install cp2k-mpichcp2k-mpich-devel 2025.1-5.fc44
Development files for cp2k
sudo dnf install cp2k-mpich-develcp2k-openmpi 2025.1-5.fc44
Molecular simulations software - openmpi version
sudo dnf install cp2k-openmpicp2k-openmpi-devel 2025.1-5.fc44
Development files for cp2k
sudo dnf install cp2k-openmpi-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.