CMake is an open-source, cross-platform family of tools designed
to build, test and package software. CMake is used to control the
software compilation process using simple platform and compiler
independent configuration files, and generate native makefiles
and workspaces that can be used in the compiler environment of
your choice.
This snap is maintained separately from the CMake project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
On Debian 9 (Stretch) and newer, snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
Install CMake
To install CMake, simply use the following command: