Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Community
Community
  • Project overview
    • Project overview
    • Details
    • Activity
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
Collapse sidebar
  • CMake
  • CommunityCommunity
  • Wiki
  • CMake Versions on Linux Distros

Last edited by Jamie Smith Sep 14, 2020
Page history

CMake Versions on Linux Distros

One of the main problems facing new CMake developers is that the CMake version available on many common Linux distros tends to be years behind the current release. Due to the rapid pace of feature development, it's important to be aware of which features were added when, and to decide early on a minimum CMake version to require. This page will help you make that choice by documenting which CMake version is available on which Linux distros.

All distros have a version of CMake available by default in their package manager, this is the "Standard Package". Additionally, some distros have first- or third-party alternate packages available that add support for newer versions of CMake, these are the "Alternate Package" columns. Lastly, any distro with snap package support can use the CMake snap package, which is kept up to date.

Note that for distros that release lots of versions, only a subset are listed here. Also, this list doesn't include rolling release distros like Arch and Gentoo, as these are assumed to have the latest version.

Distro Distro Release Date Standard Package Alternate Package Snap Support
Red Hat/CentOS
Red Hat 6 Nov 2010 2.8.12 3.6.1 (epel/cmake3) ✗
Red Hat 7 Jun 2014 2.8.12 3.14.6 (epel/cmake3) ✓
Red Hat 8 May 2019 3.11.4 ✓
Fedora
Fedora 20 Dec 2013 2.8.12 ✗
Fedora 22 May 2015 3.3.2 ✗
Fedora 24 Jun 2016 3.9.0 ✓
Fedora 26 Jul 2017 3.11.0 ✓
Fedora 28 May 2018 3.14.4 ✓
Fedora 30 May 2019 3.14.5 ✓
Fedora 32 April 2020 3.17.4 ✓
openSUSE
openSUSE 13.2 Nov 2014 3.0.2 3.8.1 (KDE PPA) ✗
openSUSE 42.3 Jul 2017 3.5.2 3.14.1 (DLR PPA) ✗
openSUSE 15.1 May 2019 3.10.2 ✓
Ubuntu
Ubuntu 12.04 Precise Apr 2012 2.8.7 3.2.2 (PPA) ✗
Ubuntu 14.04 Trusty Apr 2014 2.8.12 3.14.1 (DLR PPA) ✓
Ubuntu 16.04 Xenial Apr 2016 3.5.1 3.18.2 (Kitware PPA) ✓
Ubuntu 18.04 Bionic Apr 2018 3.10.2 3.18.2 (Kitware PPA) ✓
Ubuntu 20.04 Focal Apr 2020 3.16.3 3.18.2 (Kitware PPA) ✓
Debian
Debian 6 Squeeze Feb 2011 2.8.2 ✗
Debian 7 Wheezy May 2013 2.8.9 ✗
Debian 8 Jessie Apr 2015 3.0.2 ✗
Debian 9 Stretch Jun 2017 3.7.2 ✓
Debian 10 Buster Jul 2019 3.13.4 ✓
Clone repository
  • CMake Versions on Linux Distros
  • Contrib
  • Editing Guidelines
  • FAQ
  • Home
  • contrib
    • macros
      • AddCxxTest
      • CompareVersionStrings
      • CopyIfDifferent
      • CreateFinalFile
      • FilterOut
      • ForceAddFlags
      • GatherProjectFiles
      • GenerateProject
      • LibtoolFile
      • ListOperations
View All Pages