How to Install Cmake on Linux.

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.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

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

  1. Pingback: How to Install Cmake form source on Linux. - PHEONIX SOLUTIONS

Leave a Comment

Scroll to Top