Category Archives: Linux Sysadmin

Installing Google Earth on Red Hat Linux

Installing Google Earth on Red Hat Enterprise Linux 5

The Google Earth client is available for download from Google for PC, Mac and Linux and can be found here:

http://www.google.com/earth/download/ge/agree.html

Installing it may require a few extra steps if you don’t already have the correct xdg-utils package installed on your system.

I tried using the xdg-utils that Red Hat has available through the Red Hat subscription, but they are too new and for Red Hat Enterprise Linux 6. I’m using Red Hat Enterprise Linux 5 in this case to preserve compatibility with some older software packages that we use.

The various xdg-utils packages installed fine but Google Earth wouldn’t install.

You’ll get an error resolving dependencies like this:

Google-Earth-Install-Error-resolving-dependencies-xdg-utils
Error resolving dependencies from the linux Google Earth rpm, needed to revert to an earlier xdg-utils package for the install to work.

I tried a few different versions of the xdg-utils package but the Google Earth install always failed with the same error until I used this one:

xdg-utils-1.0.2-2.el5.noarch.rpm that I found at this link:

ftp://mirror.stanford.edu/pub/mirrors/scientific/51/i386/contrib/repodata/repoview/xdg-utils-0-1.0.2-2.el5.html

Finally Google Earth installed successfully on linux and I could spin the globe and use all the features of Google Earth on a powerful Red Hat linux workstation.

You may have to try a few different xdg-utils packages to find the one that will work with your Linux operating system and version of Google Earth.

Running Google Earth from your Red Hat Linux Desktop

The Google Earth linux package installs by default in the /opt/google/earth/free directory.

[root@linuxbox free]# pwd
/opt/google/earth/free

You can navigate to the “free” directory and then click on the Google Earth icon to open the application:

Screenshot-opt-google-earth-free
Some quick notes on Google Earth controls

Besides scrolling around with the mouse, you can use the scroll wheel to zoom in and out of the globe.

You can also use keyboard controls to move around the globe.

Use the plus and minus keys (+, -) to zoom in and out.

If you hold down the shift key while scrolling, you can tilt the earth down to a ground-level view.

Pressing the “u” key on the keyboard resets your view to a top down bird’s eye view.
Pressing the “n” key resets the North orientation to North up.

 A few screenshots of Google Earth running on Red Hat Linux

Screenshot-Google-Earth-Globe-Linux-with-weather

Screenshot-Google-Earth-Linux-SiliconCali.com

Screenshot-Google-Earth-Linux-Google-Campus

Google-Earth-Mera-Peak-Nepal
The extreme terrain of the Himalayas has many peaks over 6000 meters like this one as well as a few really tall peaks over 8000 meters.
Screenshot-Google-Earth-Linux-Weather-Layer
Google Earth has the option to show current weather conditions around the globe.

 The many faces of Google Earth

Screenshot-Google-Earth-Sun-Shading
Google Earth showing sun shading of the day and night sides of planet Earth
Screenshot-Google-Mars-Linux
Google Mars
Screenshot-Google-Mars-Olympus-Mons
Google Mars view of Olympus Mons, the tallest peak in the Solar System.
Screenshot-Google-Moon-Linux
Google Moon
Screenshot-Google-Sky-Linux-Owl-Nebula
Google Sky view of the Owl Nebula or M97

All of the different globes can be selected in Google Earth using the yellow icon that looks a little like the planet Saturn:

Google-Earth-Select-Between-Globes

Have fun exploring the Earth and the rest of the galaxy with the many faces of Google Earth!

favicon
Tux

Red Hat Enterprise Linux Install Errors

Some errors that came up during a Red Hat Enterprise Linux install:

 

Unable to read package metadata. This may be due

to a missing repodata directory. Please ensure that

your install tree has been correctly generated.

Cannot retrieve repository metadata (repomd.xml)

for repository:  anaconda-base-201003220802.x86_64.

Please verify its path and try again

 

So I ran the Red Hat Enterprise Linux Media Check and received the result below.

What you don’t want to see:

—————–| Media Check Result |—————–

The media check FAILED for the image:

Red Hat Enterprise Linux Server 5.5 DVD

The image which was just tested has errors. This could

be due to a corrupt download or a bad disc. If

applicable, please clean the disc and try again. If

this test continues to fail you should not continue

the install.

Red_Hat_Linux_Install_OK_Button

I cleaned the disk and ran the Media Check again—Still failed.

Sometimes just cleaning the disc resolves the problem. Sometimes it’s because the DVD drive on the system you are installing on won’t read some discs correctly that were burned on other DVD drives.

Or your media could just be suffering from bit rot.

What you want to see:

—————–| Media Check Result |—————–

The media check PASSED for the image:

Red Hat Enterprise Linux Server 5.5 DVD

It is OK to install from this media.

Red_Hat_Linux_Install_OK_Button

If you are still getting errors on your burned iso image for your Red Hat linux install, you may need to re-download the image and burn it again to a fresh DVD.