BTW you are right: I don't use sudo but su when switching to /root, but then again I've been using su forever. This should hopefully smooth the way for those people who for whatever reason wish to install and run Google Earth in CentOS. That there were so many problems about installing and running Google Earth in Linux showed me I was not the only one. This was an extremely frustrating experience, for that reason I decided to post the step-by-step method by which I was successfully not only to INSTALL Google Earth but also to get it to RUN in CentOS 7.
Some of the problems resulted from requirements for 32 bit libraries, others for different reasons. I must of tried 12 different installs of Google Earth either 1) They did not install 2) They installed but would not start ( a very common complaint). However, when I switched to root via 'su' all went well. I forget the exact error was some time ago. I installed the repo and discovered it didn't install completely when using 'sudo'. For reasons unknown I decided to try and install Google Earth for Linux on my CentOS 7.4 machine.