dev tool
apt update
apt install build-essential gdb git curl
cmake
git clone https://github.com/Kitware/CMake.git
cd CMake
./bootstrap
make && make install
gflags
git clone https://github.com/gflags/gflags.git
cd gflags
mkdir build && cd build
cmake -DCMAKE_CXX_FLAGS=-fPIC ..
make && make install
glog
git clone https://github.com/google/glog.git
cd glog
cmake -S . -B build -G "Unix Makefiles"
cmake --build build
cmake --build build --target install
gtest
git clone https://github.com/google/googletest.git
cd googletest
mkdir build && cd build
cmake ..
make && make install
zlib
git clone https://github.com/madler/zlib.git
cd zlib
./configure
make && make install