How To Install Google Earth On Ubuntu 10.10

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2010-11-18 16:34. :: Ubuntu | Desktop

How To Install Google Earth On Ubuntu 10.10

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 11/10/2010

In previous Ubuntu versions, there was a Google Earth .deb package available in the Medibuntu repository; unfortunately there is no such package for Ubuntu 10.10 (Maverick Meerkat). While it is possible to install the Google Earth package for Ubuntu 10.04 on Ubuntu 10.10 (as described in chapter 13 of The Perfect Desktop - Ubuntu 10.10 (Maverick Meerkat)), there is another way of installing Google Earth on Ubuntu 10.10. The method described in this tutorial will create a Google Earth .deb package for Ubuntu 10.10 from which Google Earth can be installed.

I do not issue any guarantee that this will work for you!

 

1 Building The Google Earth .deb Package

Open a terminal (Applications > Accessories > Terminal)...

... and install the package googleearth-package (this is a utility to automatically build a Debian package of Google Earth):

sudo apt-get install googleearth-package

If you are on an x86_64 system, you must also install ia32-libs:

sudo apt-get install ia32-libs

Now you can build the Google Earth .deb package as follows:

sudo make-googleearth-package --force

falko@falko-GeForce-8000-series:~$ sudo make-googleearth-package --force
[...]
Package: googleearth
Version: 5.2.1.1588+0.5.7-1
Section: non-free/science
Priority: optional
Maintainer:  <root@falko-GeForce-8000-series>
Architecture: amd64
Depends: ttf-dejavu | ttf-bitstream-vera | msttcorefonts, ia32-libs (>= 20080808), lib32gcc1 (>= 1:4.1.1),
 lib32stdc++6 (>= 4.1.1), lib32stdc++6 (>= 4.2.1), lib32z1 (>= 1:1.1.4), lib32z1 (>= 1:1.2.0),
 libc6-i386 (>= 2.0), libc6-i386 (>= 2.1.3), libc6-i386 (>= 2.3), libc6-i386 (>= 2.3.2),
 libc6-i386 (>= 2.4), nvidia-current , lib32nss-mdns
Description: Google Earth, a 3D map/planet viewer
 Package built with googleearth-package.
dpkg-deb: building package `googleearth' in `./googleearth_5.2.1.1588+0.5.7-1_amd64.deb'.
Success!
You can now install the package with e.g. sudo dpkg -i <package>.deb
falko@falko-GeForce-8000-series:~$

If you don't see any errors, then you should find the googleearth package in the current directory:

ls -l

falko@falko-GeForce-8000-series:~$ ls -l
total 62876
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Desktop
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Documents
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Downloads
-rw-r--r-- 1 falko falko      179 2010-10-22 13:39 examples.desktop
-rw-r--r-- 1 root  root  32932632 2010-11-10 15:35 googleearth_5.2.1.1588+0.5.7-1_amd64.deb
-rw-r--r-- 1 root  root  31406473 2010-09-02 18:30 GoogleEarthLinux.bin
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Music
drwxr-xr-x 2 falko falko     4096 2010-11-10 15:26 Pictures
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Public
-rw-r--r-- 1 falko falko      910 2010-11-10 15:36 setup.txt
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Templates
drwxr-xr-x 2 falko falko     4096 2010-10-22 13:47 Videos
falko@falko-GeForce-8000-series:~$

As you see, my package is named googleearth_5.2.1.1588+0.5.7-1_amd64.deb.

 

2 Installing Google Earth

Instead of using dpkg, I want to use gdebi to install the package because gdebi also takes care of missing dependencies (dpkg doesn't). Therefore I have to install gdebi before I install googleearth:

sudo apt-get install gdebi-core

Now I can install googleearth as follows:

sudo gdebi googleearth_5.2.1.1588+0.5.7-1_amd64.deb

That's it!

Afterwards, you can find Google Earth under Applications > Internet > Google Earth:

Here are a few screenshots of Google Earth in action:

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Netra (not registered) on Fri, 2011-01-21 17:31.
Yea...perhaps a better way would be to simply download the .deb from google maybe? Just a thought.
Submitted by Anonymous (not registered) on Wed, 2011-01-12 22:14.

After installing lsb-core and gdebi the installation was flawlessly in Ubuntu 10.10 64b, but when i try to run the program it cannot connect to the server kh.google.com and a lot of options of the program are grayed like I would started it with sudo in a previous version (which I never did). This is a pc without proxy, with dual boot and Earth in Win7 works O.K.

There is no error message in the Terminal or anything that can help and in the net there are a bunch with the same puzzling problem but no real solution... so sad.

Well, thanks for at least show me gdebi (I had several problems with dpkg and Google Earth before, and the --force option is not something I like). Finally I had a flawless installation.

Submitted by Lawrence Firth (registered user) on Mon, 2010-12-06 23:57.
Hi I just installed Google Earth using the above instructions except I compiled the package on the desktop . Then I just clicked on the file folder and the installer came up . It installed perfect. Hope this helps.
Submitted by Anonymous (not registered) on Sat, 2010-12-04 23:30.
What is the point? Why cannot you just download .bin from the Earth web-site and install it? 
Submitted by Duane Harkness (registered user) on Wed, 2010-12-01 22:40.

I followed your instructions but when I tried to run Google Earth I received the following error:

/usr/bin/googleearth: 14: /usr/lib/googleearth/googleearth-bin: not found

Note the file actually exists and is set to executable. It turns out I also needed to install the lsb-core package. The following did the trick:

 

sudo apt-get install lsb-core

 

Now Google Earth runs fine. Thanks for the help!

 --duane

Submitted by Anonymous (not registered) on Sat, 2011-02-05 10:58.

Thanks Duane!

I had this problem for a while, and installing lsb-core finally fixed it!

 How on (google) earth did you figure this out?

 

- Lars

Submitted by kakond (not registered) on Wed, 2010-12-01 13:41.

First I had to install lsb-core :]

sudo apt-get install lsb-core

Then this tutorial works

Submitted by Anonymous (not registered) on Wed, 2010-11-24 16:38.

...as much as you can.

Consider Marble, that is Free Software, and if you find it inadequate, help improve it or give some money to developers.

Having a proprietary program in my system would make me feel very insecure and no more completely Free.

Hope people start value freedom in software and stay away from non-free ones (and don't argue that you are "free to choose whatever program you want", because you are missing the point, like "I'm free to make me in slavery" , that is not a bright tactic at all :))

Submitted by Craig Brigley (not registered) on Tue, 2010-11-23 05:26.

Thank-you Falco, excellent guide, worked like a charm !

Craig

Submitted by fedelep (not registered) on Mon, 2010-11-22 05:48.

Falco,

In an attempt to make installing programs that are not in the repositories easier, I created BleedingEdge.  http://sourceforge.net/projects/bleedingedge/

The approach for installing was not mine, but works fine on both 32 and 64 bit Ubuntu.  Here is the code from the script:

wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin

sudo chmod a+x ./GoogleEarthLinux.bin

./GoogleEarthLinux.bin --target GoogleEarthFixed

mv ./GoogleEarthFixed/setup.data/bin/Linux/x86/setup.gtk ./GoogleEarthFixed/setup.data/bin/Linux/x86/setup.gtk2

sudo ./GoogleEarthFixed/setup.sh

rm ./GoogleEarthLinux.bin

rm -Rf ./GoogleEarthFixed

But a person running the script really does not need the details.  They just need to download the script, run it, and check the radio box next to Google Earth.
 
Enjoy,
 
Paul

Submitted by Anonymous (not registered) on Wed, 2010-12-08 23:26.

very good job ... :D 

 Thanks

 ricaxe

Submitted by K.Jayadev Das (not registered) on Sun, 2010-12-05 18:50.
Excellent, I tried many things, none of them worked, it is this method given by you alone that finally did the job. [I installed it in Ubuntu 10.10, 32 bit]
Submitted by NotSantaClaus (not registered) on Tue, 2010-11-30 06:04.

 Thank you for this needle-in-the-haystack solution!

 Love the google earth. Will look into the free version too. 

Submitted by David (not registered) on Mon, 2010-11-22 03:27.
You can find Google Earth in Ubuntu Tweak.  It's in the Applications menu and is easily installed.
Submitted by kimme (registered user) on Sun, 2010-11-21 15:26.
Finally I got Google Earth installed on my 64 bit Maverick desktop. :)
Submitted by Tips Fan (not registered) on Fri, 2010-11-19 22:47.
I wonder why we are not provided with a .deb file to install Google Earth like with Google Chrome?
Submitted by cmcanulty (not registered) on Fri, 2010-11-19 16:27.

2 issues:

1) if you have a 32 bit system the last command has to be altered to the correct version ie like ending with i386 rather than amd64

2) even so it produces the same result on my system-it appears to install and when I click on the icon the splash screen appears and immediately crashes, in other words no go. I have been trying things all week to get this installed and am totally frustrated. This is a basic functionality that needs to be doable in a Ubuntu system. I do appreciate all your work and hope this can be fixed.

Submitted by Anonymous (not registered) on Tue, 2010-12-07 13:08.

You need to have graphics acceleration.

Install/reinstall the proprietary graphics driver for your card or for free drivers install libgl1-mesa-glx and libgl1-mesa-dri 

Submitted by Superluke (not registered) on Sun, 2010-11-21 19:29.
Same here... 
Submitted by Whitby (not registered) on Wed, 2010-11-24 20:23.
Likewise now I'm confused on how to uninstall it
Submitted by sliksoft (not registered) on Sun, 2011-02-27 02:36.

I’m using ubuntu 10.10 you must install lsb-core!!

sudo apt-get install lsb-core

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

and download GoogleEart for your OS and install that’s all