CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.6.0 or higher is required. You are running version 3.5.1
-- Configuring incomplete, errors occurred!
I know Ubuntu uses stable releases that it can support, but some repos require later versions of cmake. I want to overwrite the old cmake with the later version of cmake, but the common PPA doesn't carry the cmake I need. How can I upgrade cmake to use the needed version without conflicts with the older version?