|
|
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 packages for never versions of CMake, these are the "Alternate Package" columns.
|
|
|
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 packages for never versions of CMake, these are the "Alternate Package" columns. Lastly, any distro with snap package support can use the [CMake snap package](https://snapcraft.io/cmake), which is kept up to date.
|
|
|
|
|
|
| Distro | Standard Package | Alternate Package | Snap Support |
|
|
|
|--------|------------------|-------------------|--------------|
|
|
|
| Red Hat 6 | 2.8.12 | 3.6.1 (`epel/cmake3`) | X
|
|
|
| Red Hat 7 | 2.8.12 | 3.14.6 (`epel/cmake3`) | ✓ |
|
|
\ No newline at end of file |
|
|
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**|
|
|
|
| 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 | | ✓ |
|
|
\ No newline at end of file |