Install from Distribution

The easiest way to get started with CP2K is to install it from a distribution.

Arch

$ pacman -S cp2k

See also archlinux.org.

Conda

$ conda install conda-forge::cp2k

See also anaconda.org.

Debian / Ubuntu

$ apt-get install cp2k

See also debian.org and ubuntu.com.

Docker

$ docker pull cp2k/cp2k

See also hub.docker.com and cp2k-containers.

Easybuild

$ eb --software-name=CP2K --toolchain=foss,2023a

See also easybuild.io.

Fedora

$ dnf install cp2k

See also fedoraproject.org

FreeBSD

$ pkg install cp2k

See also freshports.org.

Homebrew

$ brew install cp2k

See also brew.sh.

NixOS

$ nix-shell -p cp2k

See also nixos.org.

Nvidia GPU Cloud

$ docker pull nvcr.io/hpc/cp2k:v2023.2

See also ngc.nvidia.com.

Spack

$ spack install cp2k

See also spack.io and Build with Spack.