基于ubuntu16.04版本
1.1 gtest
下载:https://github.com/google/googletest/archive/release-1.8.1.tar.gz
github:https://github.com/google/googletest
tar -xzvf googletest-release-1.8.1.tar.gz
cd googletest-master
cmake .
sudo make
sudo make install
1.2 glog
下载:https://github.com/google/glog/archive/v0.3.3.tar.gz
github:https://github.com/google/googletest
tar glog-0.3.3.tar.gz
./configure
sudo make
sudo make instalk
1.3 gflags
下载:https://github.com/gflags/gflags/archive/v2.2.2.tar.gz
github:https://github.com/gflags/gflags
tar -xzvf gflags-2.2.2.tar.gz
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
sudo make
sudo make install
1.4 jdk1.8.0_191
下载:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.h