download
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
download [2018/10/08 17:45] – oschuett | download [2021/05/29 08:26] – Update release krack | ||
---|---|---|---|
Line 31: | Line 31: | ||
==== From an official release ==== | ==== From an official release ==== | ||
- | Sources of released versions are available at our [[https:// | + | Sources of released versions are available at our [[https:// |
+ | |||
+ | Alternatively, | ||
==== From a Distribution ==== | ==== From a Distribution ==== | ||
Line 38: | Line 40: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
- | [[https://github.com/Homebrew/homebrew-science/blob/master/cp2k.rb|{{homebrew_logo.png? | + | [[https://aur.archlinux.org/packages/cp2k|{{arch_linux_logo.png? |
+ | [[https://formulae.brew.sh/ | ||
[[https:// | [[https:// | ||
[[http:// | [[http:// | ||
[[http:// | [[http:// | ||
+ | [[https:// | ||
==== From a third party ==== | ==== From a third party ==== | ||
Line 53: | Line 57: | ||
The code in Git is under constant development. Check the [[http:// | The code in Git is under constant development. Check the [[http:// | ||
</ | </ | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | === Initial checkout === | ||
The latest and all prior versions are available from the [[https:// | The latest and all prior versions are available from the [[https:// | ||
Line 59: | Line 67: | ||
< | < | ||
- | git clone https:// | + | git clone --recursive |
</ | </ | ||
Line 65: | Line 73: | ||
< | < | ||
- | git clone -b support/v6.1 https:// | + | git clone --recursive |
</ | </ | ||
- | Your clone of the Git repository | + | === Keeping your clone up-to-date |
+ | |||
+ | Set the following once on your CP2K Git clone. It will tell Git to automatically update included submodules as well and to always use rebase instead of merge. | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | git config submodule.recurse true | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
< | < | ||
cd cp2k | cd cp2k | ||
Line 74: | Line 93: | ||
</ | </ | ||
- | The [[https:// | + | If you want to set the options globally |
+ | |||
+ | < | ||
+ | git config --global submodule.recurse true | ||
+ | git config --global pull.rebase true | ||
+ | </ | ||
+ | |||
+ | === Keeping your clone up-to-date (Git < 2.14) === | ||
+ | |||
+ | Set the following once on your CP2K Git clone. It will tell Git to always use rebase instead of merge. | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | |||
+ | git pull | ||
+ | git submodule update --recursive | ||
+ | </ |
download.txt · Last modified: 2024/01/10 13:29 by oschuett