Installing CMake
- Install the dependency packages.
1yum -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:
1yum 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:
1yum -y remove systemtap-devel-4.1-6.el8.aarch64
- 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:
- View the CMake version.
cmake --version

Parent topic: Configuring the Compilation Environment
