From 178c0078c10895a9c2fd0bc12510dffe5535091d Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Thu, 7 Mar 2019 17:47:19 +0100 Subject: [PATCH] docs: Fix setting the gcc-7 alternative with apt #5766 --- docs/building-cmake.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/building-cmake.md b/docs/building-cmake.md index de1560a38..e414d76fd 100644 --- a/docs/building-cmake.md +++ b/docs/building-cmake.md @@ -19,6 +19,7 @@ You will need GCC 7.2 and CMake 3.2 installed. To install them and all the requi sudo apt-get install gcc-7 g++-7 cmake sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 + sudo update-alternatives --config gcc sudo add-apt-repository --remove ppa:ubuntu-toolchain-r/test sudo add-apt-repository --remove ppa:george-edison55/cmake-3.x