How To Install cmake3.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install cmake3.x86_64
on Amazon Linux 2.
What is cmake3.x86_64
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 requiring system configuration, preprocessor generation, code generation, and template instantiation.
We can use yum
to install cmake3.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cmake3.x86_64.
Install cmake3.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install cmake3.x86_64
using yum
by running the following command:
sudo yum -y install cmake3.x86_64
How To Uninstall cmake3.x86_64 on Amazon Linux 2
To uninstall only the cmake3.x86_64
package we can use the following command:
sudo yum remove cmake3.x86_64
cmake3.x86_64 Package Contents on Amazon Linux 2
/usr/bin/ccmake3
/usr/bin/cmake3
/usr/bin/cpack3
/usr/bin/ctest3
/usr/lib64/cmake3
/usr/share/licenses/cmake3-3.13.1
/usr/share/licenses/cmake3-3.13.1/COPYING_cmcurl
/usr/share/licenses/cmake3-3.13.1/COPYING_cmexpat
/usr/share/licenses/cmake3-3.13.1/COPYING_cmlibarchive
/usr/share/licenses/cmake3-3.13.1/COPYING_cmliblzma
/usr/share/licenses/cmake3-3.13.1/COPYING_cmlibrhash
/usr/share/licenses/cmake3-3.13.1/Copyright.txt
/usr/share/licenses/cmake3-3.13.1/Copyright.txt_KWIML
/usr/share/licenses/cmake3-3.13.1/Copyright.txt_cmcompress
/usr/share/licenses/cmake3-3.13.1/Copyright.txt_cmzlib
/usr/share/licenses/cmake3-3.13.1/Copyright.txt_kwsys
/usr/share/man/man1/ccmake3.1.gz
/usr/share/man/man1/cmake3.1.gz
/usr/share/man/man1/cpack3.1.gz
/usr/share/man/man1/ctest3.1.gz
/usr/share/man/man7/cmake3-buildsystem.7.gz
/usr/share/man/man7/cmake3-commands.7.gz
/usr/share/man/man7/cmake3-compile-features.7.gz
/usr/share/man/man7/cmake3-developer.7.gz
/usr/share/man/man7/cmake3-env-variables.7.gz
/usr/share/man/man7/cmake3-generator-expressions.7.gz
/usr/share/man/man7/cmake3-generators.7.gz
/usr/share/man/man7/cmake3-language.7.gz
/usr/share/man/man7/cmake3-modules.7.gz
/usr/share/man/man7/cmake3-packages.7.gz
/usr/share/man/man7/cmake3-policies.7.gz
/usr/share/man/man7/cmake3-properties.7.gz
/usr/share/man/man7/cmake3-qt.7.gz
/usr/share/man/man7/cmake3-server.7.gz
/usr/share/man/man7/cmake3-toolchains.7.gz
/usr/share/man/man7/cmake3-variables.7.gz
/usr/share/man/man7/cpack-generators.7.gz
References
Summary
In this tutorial we learn how to install cmake3.x86_64
on Amazon Linux 2 using yum.