首页 > 在CentOS 6.3/6.6 64bit上源码安装cmake 3.4.0

在CentOS 6.3/6.6 64bit上源码安装cmake 3.4.0

CMake主页是

https://cmake.org/download/





1.安装必备包

yum install -y gcc gcc-c++ make automake ncurses-devel git wget curl





2.获取CMake最新64位源码包,当前版本号为3.4.0

wget https://cmake.org/files/v3.4/cmake-3.4.0.tar.gz





3.编译安装

tar zxf cmake-3.4.0.tar.gz

cd cmake-3.4.0

./bootstrap

gmake 

gmake install







4.查看版本号

cmake --version





参考文献

[1].http://www.linuxidc.com/Linux/2014-02/97363.htm

[2].http://www.jb51.net/os/RedHat/73030.html

更多相关:

  • 环境:ubuntu,python2/3 命令: pip3 install ipy  # 通过pip3给python3.x安装ipypip3 install --upgrade pip  # 升级pippip install ipy  # 通过pip给python2.x安装ipy 如果显示程序“pip/pip3”尚未安装 sudo...

  • 脚本:sh.sh 1 #!/bin/zsh 2 #安装rpmfusion源 3 dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo 4 #安装一下有用的一些软件包 5 yum -y install yum-fastestmirror 6...

  • 安装pip: apt-get install python-setuptools easy_install pip pip install   xxxx 转载于:https://www.cnblogs.com/arhatlohan/p/4737828.html...

  • 1. nginx  rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm  yun install nignx 2.php yum install php yum install php-f...