title: Newer version of cmake available in CentOS 7 than in CentOS 8?
body: <p>I have CentOS 7 and CentOS 8 installed on 2 VMs. Both have <code>epel</code> enabled.</p>
  <p><strong>CentOS 7:</strong></p>
  <pre><code>$ cat /etc/redhat-release 
  CentOS Linux release 7.8.2003 (Core)
  
  $ yum repolist
  ...
  repo id                                                                                              repo name                                                                                                                          status
  base/7/x86_64                                                                                        CentOS-7 - Base                                                                                                                    10070
  epel/x86_64                                                                                          Extra Packages for Enterprise Linux 7 - x86_64                                                                                     13445
  extras/7/x86_64                                                                                      CentOS-7 - Extras                                                                                                                    413
  updates/7/x86_64                                                                                     CentOS-7 - Updates                                                                                                                  1127
  repolist: 25055
  </code></pre>
  <p><strong>CentOS 8:</strong></p>
  <pre><code>$ cat /etc/redhat-release 
  CentOS Linux release 8.2.2004 (Core) 
  
  $ yum repolist
  repo id                                                                                           repo name
  AppStream                                                                                         CentOS-8 - AppStream
  BaseOS                                                                                            CentOS-8 - Base
  PowerTools                                                                                        CentOS-8 - PowerTools
  epel                                                                                              Extra Packages for Enterprise Linux 8 - x86_64
  epel-modular                                                                                      Extra Packages for Enterprise Linux Modular 8 - x86_64
  extras                                                                                            CentOS-8 - Extras
  </code></pre>
  <p>On <code>CentOS 7</code>, <code>cmake3</code> is available from the <code>epel</code> repo, and provides cmake version 3.17.</p>
  <pre><code>$ yum provides cmake3
  ...
  cmake3-3.17.3-3.el7.x86_64 : Cross-platform make system
  Repo        : epel
  </code></pre>
  <p>On <code>CentOS 8</code>, <code>cmake3</code> is available from the <code>AppStream</code> repo, and provides cmake version 3.11.</p>
  <pre><code>$ yum provides cmake3
  ...
  cmake-3.11.4-7.el8.x86_64 : Cross-platform make system
  Repo        : @System
  Matched from:
  Provide    : cmake3 = 3.11.4-7.el8
  </code></pre>
  <p>I tried to disable all repos except for <code>epel</code>, but it's still coming back with the one from <code>AppStream</code> (which seems counter intuitive to me - surely it should come back with nothing if I've disabled all the other repos?)</p>
  <pre><code>$ yum --disablerepo=* --enablerepo=epel info cmake
  Last metadata expiration check: 0:21:06 ago on Fri 11 Sep 2020 09:44:08 AM UTC.
  Installed Packages
  Name         : cmake
  Version      : 3.11.4
  Release      : 7.el8
  Architecture : x86_64
  Size         : 24 M
  Source       : cmake-3.11.4-7.el8.src.rpm
  Repository   : @System
  From repo    : AppStream
  Summary      : Cross-platform make system
  URL          : http://www.cmake.org
  License      : BSD and MIT and zlib
  Description  : CMake is used to control the software compilation process using simple
               : platform and compiler independent configuration files. CMake generates
               : native makefiles and workspaces that can be used in the compiler
               : environment of your choice. CMake is quite sophisticated: it is possible
               : to support complex environments requiring system configuration, preprocessor
               : generation, code generation, and template instantiation.
  </code></pre>
  <p>I searched on <a href="https://pkgs.org/search/?q=cmake" rel="nofollow noreferrer">pkgs.org</a>, and it certainly does seem that <code>cmake-3.11</code> is the latest version available to <code>CentOS 8</code>.</p>
  <p>Apart from building from source, is there any other way to obtain a newer version of <code>cmake</code> on <code>CentOD 8</code>?</p>