Skip to content

Instantly share code, notes, and snippets.

@tiendq
Created April 10, 2019 05:08
Show Gist options
  • Save tiendq/34aafdcfdcf45f21a1d6575d6eb3fb1d to your computer and use it in GitHub Desktop.
Save tiendq/34aafdcfdcf45f21a1d6575d6eb3fb1d to your computer and use it in GitHub Desktop.
Install the latest CMake on Ubuntu

How to install the latest version of Cmake via command line.

Ubuntu

  1. Follow steps in this link https://anglehit.com/how-to-install-the-latest-version-of-cmake-via-command-line/

e.g. wget https://github.com/Kitware/CMake/releases/download/v3.13.4/cmake-3.13.4.tar.gz

  1. After step 4., if you see cmake version is 3.13.4 or later then it's installed successfully. cmake --version
cmake version 3.13.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
  • Re-login SSH session to update environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment