Skip to content

Cmake update and install

alberto edited this page Apr 21, 2023 · 9 revisions

Xmipp requires a cmake version 3.16 or above.

Ubuntu and Debian

If you have not installed cmake please

sudo apt-get install -y cmake cmake-data

If you have an older version, to install the newest:

  • sudo apt remove -y cmake cmake-data
  • hash -r
  • sudo apt-get install -y cmake cmake-data
  • hash -r

Centos

To uninstall cmake

  • Go to the cmake directory (cd / && find . -type d -name "*cmake*")
  • sudo make uninstall
  • rm -rf path/to/cmake

To install cmake

  • wget https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3.tar.gz
  • tar -zxvf cmake-3.17.3.tar.gz
  • cd cmake-3.17.3
  • ./bootstrap
  • make
  • sudo make install
  • Verify the installed version by typing sudo --version
Clone this wiki locally