Posts

Showing posts with the label Linux

Cmake upgrading error on Ubuntu 14.04

I've installed CMake 3.7.1 package from CMake's website for Linux 64-bit. When I type cmake, I get the following error: CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in   SOLUTION: cd cmake-3.7.1 ./bootstrap --prefix=/usr make sudo make install Upgrading process:   tar -zxvf cmake-3.7.1.tar.gz (in /opt) cd cmake-3.7.1 sudo apt install openssl libssl-dev cmake_options="-DCMAKE_BOOTSTRAP=1" cmake_options="-DCMAKE_BOOTSTRAP=1 -DCMAKE_USE_OPENSSL=ON" ./configure make -j2 sudo make install

Some linux commands

Linux Version Information To learn your operating system (OS), and your architecture of  OS uname Linux uname -m x86_64 Version of the Linux kernel uname -r 3.10.0-229.el7.x86_64 uname -mr s Linux 4.2.0-27-generic x86_64 Print all information: uname -a Linux *** 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux To see the Linux distribution name and the version number cat /etc/*release    or  lsb_release -a CentOS Linux release 7.1.1503  cat /proc/version Linux version 4.2.0-27-generic (buildd@lcy01-23) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016