How to Install Cmake on Linux.

Date : 15/05/2019

Introduction :

The “cmake” executable is the CMake command-line interface. It is used to configure projects in scripts. CMake is a cross-platform build system generator. Projects specify their build process with platform-independent CMake list files included in each directory of a source tree with the name CMakeLists.txt.

Prerequisite :

  1. Linux ubuntu/Debian.
  2. Linux centos

Steps:

1) First step update your ubuntu software by following command

sudo apt-get update

2) Then to install cmake & following packages in ubuntu/debian use this command.

sudo apt-get install cmake cmake-gui

Then to install cmake in centos use this command.

sudo yum install cmake

3) Then use man command to know its options and usage and also you can verify cmake is installed or not it.

Thanks for using pheonix solutions.
You find this tutorial helpful? Share with your friends to keep it alive.

1 thought on “How to Install Cmake on Linux.”

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny