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
[1] Viewing Desa Pandan
[2] Viewing Petronas Twin Towers, KLCC
[3] Kuala Kangsar picture, save from Google Earth
{ 14 } Comments
Mohd,
UsingThanks 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.
chris,
UsingHi, it’s a great pleasure to hear that :)
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
UsingConfirming 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.
UsingLittle hint there during the package build:
UsingDepends: ttf-dejavu | ttf-bitstream-vera, ia32-libs
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
UsingSince 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.
UsingThe 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.
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.
UsingWorks 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)
UsingI renamed also libssl.so.0.9.8
UsingI,want more infor mation from google Earth
UsingThe 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.
UsingThanks a lot for clear instructions. Its for the first time I have installed from non DEB images of the file. Great work indeed !!
Usingi would like i become to a member of your programms about the earth thanks alot
Using{ 2 } Trackbacks
[...] post by irwan and software by Elliott Back Bookmark [...]
[...] 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