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
This snap is maintained separately from the CMake project by one
of the CMake co-maintainers.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install CMake, simply use the following command: