Documentation Home
MySQL Internals Manual


MySQL Internals Manual  /  Building MySQL Server with CMake  /  How to Install CMake

4.2 How to Install CMake

In the following instructions, the CMake download page is http://www.cmake.org/cmake/resources/software.html.

  • Debian/Ubuntu Linux

    sudo apt-get install cmake cmake-gui
  • Fedora Linux

    sudo yum install cmake cmake-gui
  • openSUSE Linux

    sudo zypper install cmake cmake-gui
  • Gentoo Linux

    sudo emerge cmake
  • OpenSolaris

    pfexec pkgadd install SUNWcmake
  • Windows

    To download and install the latest distribution from the CMake download page, download the installer .exe file and run it.

  • Mac OS X

    To download and install the latest distribution from the CMake download page, download the .dmg image and open it. Alternatively, if you have Darwinports installed, you can install the CMake port:

    port install cmake +gui

    The +gui variant causes cmake-gui to be installed as well. Omit +gui if you do not want to install cmake-gui.

  • Other Unix systems

    Precompiled packages for other Unix flavors (HPUX, AIX) are available from the CMake download page.

    Alternatively, you can build CMake from source. A source package is available from the download page.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.