The manual says that after installing the stack from the repository (OS - ubuntu 18.04), you need to run the following command:
stack upgrade --binary After the upgrade was complete, stack reported that its new version is in ~ / .local / bin . Now I have two versions: one - on the above path, the other - in / usr / bin .