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

Install a higher version of Cmake on Centos7.3 system

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Remove the original cmake version

Yum remove cmake-y

Download the Cmake software:

Wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz decompresses Cmake:

Tar xvf cmake-3.6.2.tar.gz enters the cmake directory:

Cd cmake-3.6.2/

5. Compile and install cmake

. / bootstrap

Gmake

Gmake install

6. View the compiled cmake version

/ usr/local/bin/cmake-- version

7. Establish a soft connection

Ln-s / usr/local/bin/cmake / usr/bin/

8. Terminal view version

Cmake-version

The appearance of the version indicates that the installation is successful!

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

Servers

Wechat

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

12
Report