Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and build system cmake under Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install and build the system cmake under Linux. It is very detailed and has a certain reference value. Interested friends must read it!

Cmake is a cross-platform open source meta-build system that can build, test, and package software. It can be used to support a variety of native build environments, including make, Apple's xcode and Microsoft's Visual Studio.

1. View Linux digits:

# getconf LONG_BIT

two。 Get the cmake source code package. Here, I create a new folder to store the cmake.

# mkdir app

# cd / app

# wget https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz

3. Decompress the source package

# tar xzvf cmake-3.3.2.tar.gz

4. Install packages such as gcc (ignored if installed)

# yum install gcc-c++

5. To install cmake, enter the decompressed cmake directory first.

# cd cmake-3.3.2

#. / bootstrap

# gmake

# make install

6. View cmake version

These are all the contents of the article "how to install and build system cmake under Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report