dothebest0927 avatar

[CentOS7] How to cmake 3.8.2 build (Required minimum version) - 1

dothebest0927

Published: 27 May 2019 › Updated: 27 May 2019[CentOS7] How to cmake 3.8.2 build (Required minimum version) - 1

[CentOS7] How to cmake 3.8.2 build (Required minimum version) - 1

How to install Cmake 3.8.2 build (Required minimum version)

  • Step

$ wget http://www.cmake.org/files/v3.8/cmake-3.8.2.tar.gz
$ tar -zxvf cmake-3.6.1.tar.gz
$ cd cmake-3.6.1
$ ./bootstrap (Required gcc Compiler)
$ make
$ make install
$ \cp -f ./bin/cmake ./bin/cpack ./bin/ctest /bin
$ cmake -version


  • Problem (in installed course)


To install Gcc Compiler

*How To Install GCC on CentOS 7 (https://linuxhostsupport.com/blog/how-to-install-gcc-on-centos-7/)

$ yum -y install gcc //Gcc Compiler Default install
$ gcc --version //Maybe gcc compiler 4.8.x
$ yum -y install gcc-c++ //C++ Compiler Default install


Manual Installation(Required sudo Permission)

$ wget http://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.3.0/gcc-7.3.0.tar.gz
$ tar zxf gcc-7.3.0.tar.gz
$ cd gcc-7.3.0
$ yum -y install bzip2
$ ./contrib/download_prerequisites
$ ./configure --disable-multilib --enable-languages=c,c++ --prefix=/usr/local/bin
$ make -j 4 //[The number of core]
$ make install


Leave [CentOS7] How to cmake 3.8.2 build (Required minimum version) - 1 to:

Written by

Read more #gcc posts


Best Posts From dothebest0927

We have not curated any of dothebest0927's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From dothebest0927