wordpress y2014 m08 d22 h11 single s-y2007 s-m05 s-d29 s-h06 s-category-debian s-category-tipstrickshowto s-category-x86-64-computing s-author-irwan">
Skip to content

Debian Way or The Hard Way: Installing Google Earth

By default, you just need to execute ./GoogleEarthLinux.bin to install Google Earth on your GNU/Linux operating system. Nevertheless; Debian provides googleearth-package, a utility to automatically build a Debian package of Google Earth. To all Debianistas, we are special, aren’t we?

So, below are the simple steps based on my experience to get Google Earth in Debian.

0. My System Information
Debian Version: Debian Lenny aka Debian Testing
Kernel Version: 2.6.18-4-amd64
Architecture: AMD64 (x86_64)

1. Install googleearth-package
meister:~# apt-get install googleearth-package

2. Run the particular command to start building Google Earth package

In my case, I do not know the exact command. Hence, I issue

meister:~# dpkg -L googleearth-package
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/make-googleearth-package.1.gz
/usr/share/doc
/usr/share/doc/googleearth-package
/usr/share/doc/googleearth-package/changelog.gz
/usr/share/doc/googleearth-package/README.Debian
/usr/share/doc/googleearth-package/copyright
/usr/bin
/usr/bin/make-googleearth-package

Yeah, there it is.

So, I run make-googleearth-package command. GoogleEarthLinux.bin will be downloaded from Google website.

meister:~# make-googleearth-package
–15:27:47– http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
=> `GoogleEarthLinux.bin’
Resolving dl.google.com… 72.14.203.95, 72.14.203.91, 72.14.203.93
Connecting to dl.google.com|72.14.203.95|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 23,852,601 (23M) [application/octet-stream]

100%[==============================>] 23,852,601 8.91K/s ETA 00:00

16:26:21 (6.64 KB/s) – `GoogleEarthLinux.bin’ saved [23852601/23852601]

Not building on non-i386; use –force to override.

For your info; at present, GoogleEarthLinux is currently available on x86 (32-bit) platform only. That is why I received that error.

3. Nevertheless, who cares! Use the Jedi force,

meister:~# make-googleearth-package –force
Google Earth for GNU/Linux 4.1.7076.4458
Supported Google Earth version: 4.1.7076.4458
……….
8< — (snipped, very long output) ———
……….
Package: googleearth
Version: 4.1.7076.4458+0.1.0-1
Section: non-free/science
Priority: optional
Maintainer: <>
Architecture: i386
Depends: ttf-dejavu | ttf-bitstream-vera, ia32-libs (>= 1.6), libc6-i386 (>= 2.3.5-1)
Description: Google Earth, a 3D map/planet viewer
Package built with googleearth-package.
dpkg-deb: building package `googleearth’ in `./googleearth_4.1.7076.4458+0.1.0-1_i386.deb’.
Success!

4. Install the Deb package
meister:~# dpkg -i –force-architecture googleearth_4.1.7076.4458+0.1.0-1_i386.deb

Please take note that I add –force-architecture parameter since I’m installing x86 package on x86_64 system.

5. Run Google Earth! Yiba yiba andre…..
irwan@meister:~$ googleearth

deb-googleearth.png deb-googleearth2.png gearth-kkangsar.jpg

[1] Viewing Desa Pandan
[2] Viewing Petronas Twin Towers, KLCC
[3] Kuala Kangsar picture, save from Google Earth

Comment(s) via Facebook

{ 14 } Comments

  1. chris | June 1, 2007 at 12:49 pm | Permalink
    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux

    Mohd,
    Thanks for the detailed instructions on how to get Google Earth installed on x86_64. I followed your instructions and it worked.
    The only change I had to make was the dashes for the force switch: it needs 2, as in –force.
    Chris W.

    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux
  2. irwan | June 1, 2007 at 4:11 pm | Permalink
    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux

    chris,
    Hi, it’s a great pleasure to hear that :)

    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux
  3. Ryan | August 9, 2007 at 9:40 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.6 on Debian GNU/Linux Debian GNU/Linux

    Close but no cigar for me…

    Package: googleearth
    Version: -1
    Section: non-free/science
    Priority: optional
    Maintainer:
    Architecture: i386
    Depends: ttf-dejavu | ttf-bitstream-vera, ia32-libs (>= 1.6), libc6-i386 (>= 2.3.5-1)
    Description: Google Earth, a 3D map/planet viewer
    Package built with googleearth-package.
    dpkg-deb: parse error, in file `/etc/apt/googleearth-deb/DEBIAN/control’ near line 10 package `googleearth’:
    empty value for version
    Success!

    and prior to that I got a whole heap of warnings along the line of:

    dpkg-shlibdeps: warning: format of `NEEDED ./libIGUtils.so’ not recognized
    dpkg-shlibdeps: warning: format of `NEEDED ./libIGMath.so’ not recognized
    dpkg-shlibdeps: warning: format of `NEEDED ./libIGCore.so’ not recognized

    Debian etch on AMD64 with kernel version 2.6.18-4-amd64.

    Thanks for the howto anyway. Appreciate any ideas you might have.

    Ryan

    Using Debian IceWeasel Debian IceWeasel 2.0.0.6 on Debian GNU/Linux Debian GNU/Linux
  4. me | August 10, 2007 at 9:32 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.6 on Debian GNU/Linux Debian GNU/Linux

    Confirming Ryan’s report with Etch on AMD64 X2. I guess a full set of 32bit libs is only available in Lenny? I’ve got the ia-32 packages installed.

    Using Debian IceWeasel Debian IceWeasel 2.0.0.6 on Debian GNU/Linux Debian GNU/Linux
  5. Richard White | August 10, 2007 at 12:37 pm | Permalink
    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux

    Little hint there during the package build:
    Depends: ttf-dejavu | ttf-bitstream-vera, ia32-libs

    Using Konqueror Konqueror 3.5 on Debian GNU/Linux Debian GNU/Linux
  6. Tommi Uimonen | August 23, 2007 at 1:58 am | Permalink
    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux

    Tried in kubuntu gutsy, but no luck:

    /usr/lib/googleearth/googleearth-bin: error while loading shared libraries: libXdamage.so.1: cannot open shared object file: No such file or directory

    Using Mozilla Firefox Mozilla Firefox 2.0.0.6 on Ubuntu Linux Ubuntu Linux
  7. Marios | March 20, 2009 at 4:14 pm | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux

    Since 2 years have gone by since the last comment or update, I figured I might as well be a bit useful while waiting for the ia32-libs package to download.
    The new version 5.0 of Google Earth, comes with amd64 support so no need to use force-architecture at Step 4,
    just do dkpg -i googleearth_**CURRENT FILENAME VERSION**.deb
    it requires ia32-libs package so you might want to get that in advance, I used Synaptic, feel free to use your favorite Debian package flavour in obtaining it.

    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux
  8. Andrew Shedd | April 13, 2009 at 2:43 am | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.6 on Debian GNU/Linux Debian GNU/Linux

    Marlos how did you install Google Earth 5 so easily? I have ia32-libs and no luck. I also tried running getlibs for the googleearth binary and no luck. My xserver crashes every time i start the program.

    Using Mozilla Firefox Mozilla Firefox 3.0.6 on Debian GNU/Linux Debian GNU/Linux
  9. Jim | April 16, 2009 at 3:20 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux

    Works for Google Earth 5. Just needed to install some missing libraries. Download the GE5 installer and execute “make-googleearth-package –force” in the same directory.

    Don’t forget to rename/delete the /usr/lib/googleearth/libcrypto.so.0.9.8 file (know issue)

    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux
  10. Thierry | July 6, 2009 at 4:10 pm | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.9 on Debian GNU/Linux Debian GNU/Linux

    I renamed also libssl.so.0.9.8

    Using Debian IceWeasel Debian IceWeasel 3.0.9 on Debian GNU/Linux Debian GNU/Linux
  11. Rajibur rahman | August 8, 2009 at 4:31 pm | Permalink
    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP

    I,want more infor mation from google Earth

    Using Internet Explorer Internet Explorer 6.0 on Windows Windows XP
  12. dave X | October 24, 2009 at 12:27 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.9 on Debian GNU/Linux Debian GNU/Linux

    The below worked for me on 2009-10-23:

    apt-get install googleearth-package ia32-libs ia32-libs-gtk lib32-nss-mdns
    make-google-earth-package –force # beacsue it doens’t recognize this version of GE
    dpkg -i googleearth_5.1.3509.4636+0.5.6-1_amd64.deb

    The extra packages solved some dependency and library problems.

    Using Debian IceWeasel Debian IceWeasel 3.0.9 on Debian GNU/Linux Debian GNU/Linux
  13. Sudhakar | February 7, 2010 at 10:25 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux

    Thanks a lot for clear instructions. Its for the first time I have installed from non DEB images of the file. Great work indeed !!

    Using Debian IceWeasel Debian IceWeasel 3.0.6 on Debian GNU/Linux Debian GNU/Linux
  14. mohammad javad | July 14, 2010 at 7:31 pm | Permalink
    Using Internet Explorer Internet Explorer 8.0 on Windows Windows XP

    i would like i become to a member of your programms about the earth thanks alot

    Using Internet Explorer Internet Explorer 8.0 on Windows Windows XP

{ 2 } Trackbacks

  1. Using WordPress WordPress wordpress

    [...] post by irwan and software by Elliott Back Bookmark [...]

  2. Using WordPress WordPress 2.2.1

    [...] is an update to my post on May 2007 about installing Google Earth on Debian GNU/Linux. At present, it seems that Google Earth on Debian [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *