Howto – Linux – install Google Earth

Google Earth seems to throw up error messages lately:
setup.data/setup.xml:1: parser error : Document is empty

^
setup.data/setup.xml:1: parser error : Start tag expected, '<' not found

^
Couldn't load 'setup.data/setup.xml'

So here is the cure:

1. First install “lsb-core”
sudo apt-get install lsb-core

2. Download and extract Google Earth to a temporary dIrectory:
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin && chmod +x GoogleEarthLinux.bin && ./GoogleEarthLinux.bin --target /tmp/ge

3. Change to the temp directory and change setupgtk to setupgtk2:
cd /tmp/ge/setup.data/bin/Linux/x86/
sudo mv setup.gtk setup.gtk2
cd /tmp/ge

4. Run the installer:
./setup.sh

Now the Google Gui installer will open.

If you have an Nvidia card, Google Earth may tell you it doesn’t recognise your card, just remove it and reinstall it. This worked for me with an Nvidia Geforce fx 5200 using the official Linux driver from the Nvidia website.

Happy Globe-trotting 😉

Advertisements

One thought on “Howto – Linux – install Google Earth

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s