Rate This Document
Findability
Accuracy
Completeness
Readability

Installing CMake

  1. Install the dependency packages.
    1
    yum -y install readline-devel zlib-devel openssl* cmake-3.11.4 git gcc* perl* bison python3 wget
    
    • If the message "cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd" is displayed, run the following command to install the dependency package:
      1
      yum install libarchive -y
      
    • An error message "Transaction check error: /usr/share/emacs/site-lisp/systemtap-model.el from install of gcc-toolset-11-systemtap-devel-4.5-4.el8..." is displayed, as shown in the following figure.

      Run the following command to uninstall the conflict dependency and perform 1 again:
      1
      yum -y remove systemtap-devel-4.1-6.el8.aarch64
      
  2. View the CMake version.
    cmake --version