Head over to CMake download page and get a binary for your operating system, e.g. Windows, Linux, or Mac OS X. On Windows double click the binary to install. On Linux run the binary from a terminal.
On Linux, you can also install the packages from the distribution's package manager.
On Ubuntu 16.0...