diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 466b84383e..529f59ff7e 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -84,9 +84,8 @@ Installing *ccache* can speed up active development. _Ubuntu 20.04, 22.04:_ ```bash -sudo apt-get update && sudo apt-get install -y \ +sudo apt update && sudo apt install -y \ build-essential \ - cmake \ clang \ ninja-build \ python3 \ @@ -100,6 +99,18 @@ sudo apt-get update && sudo apt-get install -y \ zlib1g-dev ``` +For Ubuntu 20.04 the version of `cmake` that ships with Ubuntu is too old; a more recent version can be installed using `snap`: + +```bash +sudo snap install --classic cmake +``` + +For Ubuntu 22.04 `cmake` may be installed using `snap` as well, or alternatively by using `apt`: + +```bash +sudo apt install -y cmake +``` + _Fedora:_ ```bash