How to upgrade cmake in ubuntu

3 steps

apt remove cmake
pip install cmake --upgrade
sudo ln /usr/local/bin/cmake /usr/bin/cmake

You can use the following command to check the cmake version

cmake --version

--

--

Data Scientist/MLE/SWE @takemobi

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store