当前位置:首页 > 计算机科学 > 网络技术 > 正文内容

centos7下cmake的升级安装

fanglong2020-09-11网络技术4018

#CMake yum安装包安装升级,请自行注意第三方的安全性!

rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm 

yum --enablerepo=remi install libzip5-devel



#CMake版本编译安装升级

# 下载网址 https://cmake.org/files/  

wget https://cmake.org/files/v3.18/cmake-3.18.2.tar.gz

tar zxvf cmake-3.18.2.tar.gz

cd cmake-3.18.2

./configure

make -j

make install

update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1

# update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake  1 --force

cmake --version 


扫描二维码推送至手机访问。

版权声明:本文由人从众的博客发布,如需转载请注明出处。

本文链接:http://loulin.bid/55.html

分享给朋友:

相关文章

linux服务器上thinkphp等系统系统登录验证码一直提示不正确

用phpinfo函数找到相应的有效php.ini文件修改如下段落:session.save_path="/tmp"去掉;然后chmod -R 777 /tmp (赋予权限)重启相应...

nginx报错[warn] the “ssl” directive is deprecated的解决办法

最近在复制旧机器上的nginx.conf配置文件到新机器上的时候,重启后出现这么一个报错.nginx: [warn] the “ssl” directive is deprecated, use th...

如何查看已经安装的nginx、apache、mysql和php的编译参数

1、nginx编译参数:$ nginx -V#注意:需保证nginx在环境变量中,或者使用绝对路径的形式:your_nginx_dir/sbin/nginx -V2、apache编...

php 编译安装插件提示PHP Warning: PHP Startup: Unable to load dynamic library 报错

又或如: cannot open shared object file: No such file or directory in Unknown on line 0 PHP message...

评论列表

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。