1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
# Install from Distribution
The easiest way to get started with CP2K is to install it from a distribution.
## Arch
```shell
$ pacman -S cp2k
```
See also [archlinux.org](https://aur.archlinux.org/packages/cp2k).
## Conda
```shell
$ conda install conda-forge::cp2k
```
See also [anaconda.org](https://anaconda.org/conda-forge/cp2k).
## Debian / Ubuntu
```shell
$ apt-get install cp2k
```
See also [debian.org](https://packages.debian.org/search?keywords=cp2k) and
[ubuntu.com](https://packages.ubuntu.com/search?keywords=cp2k).
## Docker
```shell
$ docker pull cp2k/cp2k
```
See also [hub.docker.com](https://hub.docker.com/r/cp2k/cp2k) and
[cp2k-containers](https://github.com/cp2k/cp2k-containers).
## Easybuild
```shell
$ eb --software-name=CP2K --toolchain=foss,2023a
```
See also [easybuild.io](https://docs.easybuild.io/version-specific/supported-software/c/CP2K/).
## Fedora
```shell
$ dnf install cp2k
```
See also [fedoraproject.org](https://src.fedoraproject.org/rpms/cp2k)
## FreeBSD
```shell
$ pkg install cp2k
```
See also [freshports.org](https://www.freshports.org/science/cp2k/).
## Homebrew
```shell
$ brew install cp2k
```
See also [brew.sh](https://formulae.brew.sh/formula/cp2k).
## NixOS
```shell
$ nix-shell -p cp2k
```
See also [nixos.org](https://search.nixos.org/packages?query=cp2k).
## Nvidia GPU Cloud
```shell
$ docker pull nvcr.io/hpc/cp2k:v2023.2
```
See also [ngc.nvidia.com](https://catalog.ngc.nvidia.com/orgs/hpc/containers/cp2k).
## Spack
```shell
$ spack install cp2k
```
See also [spack.io](https://packages.spack.io/package.html?name=cp2k) and [](./build-with-spack).
|