# 一,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
# 二、 Glog安装
## 方法一:
sudo apt-get install autoconf automake libtool
git clone https://github.com/google/glog
./autogen.sh
./configure
make -j8
sudo make install
如果上述安装遇到问题,可采用方法二
## 方法二
下载: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
# 三、Gflags安装
## 方法一:
git clone https://github.com/gflags/gflags.git
cd gflags
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON -DGFLAGS_N