------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CMake is a cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software.
Offcial Website -https://cmake.org/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt update ; apt install -y build-essential net-tools curl git software-properties-common libssl-dev checkinstall zlib1g-dev
Method:1
apt update ; apt install cmake -y
cmake --version
Method:2 Installing CMake using command-line
snap install cmake --classic
cmake --version
Method:3
Installing CMake using Source Code VI
wget https://github.com/Kitware/CMake/releases/download/v3.18.0-rc1/cmake-3.18.0-rc1.tar.gz
tar -zxvf cmake-3.18.0-rc1.tar.gz
cd cmake-3.18.0-rc1/
./configure --help
./configure --prefix=/opt/cmake
make && make install
/opt/cmake/bin/cmake -version
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
thanks bro
ReplyDelete