Once the installation is completed, you can verify its installation and check the correctness of the installed version.
Now, you can make it using the command below: makeĪnd to install it, type: sudo make install Next, use the following command to compile and install CMake./bootstrap
To move to the extracted folder, run: cd cmake-3.15.2 When the file is downloaded, use the following command to extract it: tar -zxvf cmake-3.15.2.tar.gz The same version could be installed by running the command below: sudo apt update sudo apt upgrade sudo snap install cmake Download the source code from the Official CMake website, compile it and then install CMake through it. How to install CMake through the Ubuntu Command LineĪs we mentioned, you can install CMake through the command line.