# GET THE LATEST VERSION FROM THE WEBSITE BELOW wget https://cmake.org/download/ YOUR_VERSION.tar.gz tar -xf YOUR_VERSION.tar.gz cd YOUR_VERSION ./configure make sudo make install