How to install CMake on Debian 10
Install CMake on Debian 10
CMake is a free, open source, cross-platform family of tools designed to build, test, and package software. Created by kitware for a powerful cross-platform build environment for open source projects such as VTK and ITK. In this tutorial, you will learn how to install CMake on Debian 10.
Before you start installing CMake on Debian 10, you need a non-root user account on a system with sudo privileges.
Install the latest version of CMake
The Debian Global Repository does not provide the latest version of CMake. Here, CMake is installed by first downloading and then installing.
First, press to open the terminal
Ctrl+Alt+t On the Debian system.
CMake To follow
wget Terminal commands:
Unzip the downloaded file
cmake-3.15.2.tar.gz Using file
tar -zxvf cmake-3.15.2.tar.gz
Navigate to the extracted directory using
cd Commands such as:
bootstrap The file to bootstrap
cmake Enter the following command in a terminal:
make The following command:
sudo make install
Next, check the installation,
cmake Version to enter the following command in terminal:
You learned how to install CMake on Debian 10. If you have questions about this, don’t forget the comments below.