Run sudo apt update && sudo apt install cmake . Fedora: Run sudo dnf install cmake .
Are you planning to use CMake with a specific IDE like or CLion ?
Here is a straightforward guide to getting it up and running on your machine. 1. Download CMake
If you use Homebrew , simply open your terminal and type: brew install cmake