[root@centos /etc/yum.repos.d]$yum install gtest-devel gflags-devel protobuf-devel
Last metadata expiration check: 0:01:20 ago on Sun 05 Dec 2021 01:31:26 PM UTC.
No match for argument: gtest-devel
No match for argument: gflags-devel
No match for argument: protobuf-devel
Error: Unable to find a match: gtest-devel gflags-devel protobuf-devel
我更喜欢通过 yum 命令安装而不是通过源代码安装