This 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 AMD64 is already available. Therefore, we don’t have to force install the 32-bit binary Google Earth on x86_64 platform.
Information of my system;
OS: Debian Lenny (Debian Testing)
Platform: AMD64 (x86_64)
Running Kernel: 2.6.22-2-amd64
The installation steps are very simple,
1. Install the googleearth-package
googleearth-package is a utility to automatically build a Debian package of Google Earth,
meister:~# apt-get install googleearth-package
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
googleearth-package
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/8712B of archives.
After unpacking 65.5kB of additional disk space will be used.
Selecting previously deselected package googleearth-package.
(Reading database ... 161647 files and directories currently installed.)
Unpacking googleearth-package (from .../googleearth-package_0.4.3_all.deb) ...
Setting up googleearth-package (0.4.3) ...
2. Run make-googleearth-package to build the googleearth Debian package
meister:~# make-googleearth-package
Google Earth for GNU/Linux 4.1.7076.4458
Supported Google Earth version: 4.1.7076.4458
<---output snipped --->
Package: googleearth
Version: 4.1.7076.4458+0.4.3-1
Section: non-free/science
Priority: optional
Maintainer: <>
Architecture: amd64
Depends: ttf-dejavu | ttf-bitstream-vera | msttcorefonts, ia32-libs (>= 1.6), libc6-i386 (>= 2.6-1) , ia32-libs
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.4.3-1_amd64.deb'.
Success!
3. See the googleearth_4.1.7076.4458+0.4.3-1_amd64.deb !!! Now, install it.
meister:~# dpkg -i googleearth_4.1.7076.4458+0.4.3-1_amd64.deb
Selecting previously deselected package googleearth.
(Reading database ... 161653 files and directories currently installed.)
Unpacking googleearth (from googleearth_4.1.7076.4458+0.4.3-1_amd64.deb) ...
Setting up googleearth (4.1.7076.4458+0.4.3-1) ...
{ 16 } Comments
$ sudo make-googleearth-package
–18:02:29– http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
=> `GoogleEarthLinux.bin’
Resolving dl.google.com… 72.14.221.91
Connecting to dl.google.com|72.14.221.91|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
18:02:29 ERROR 404: Not Found.
$ make-googleearth-package –file Desktop/GoogleEarthLinux.bin
Not building on non-i386; use –force to override.
?
UsingHmmm, Ubuntu eh? I’m not using Ubuntu :p
“HTTP request sent, awaiting response… 404 Not Found
18:02:29 ERROR 404: Not Found.”
—sounds like GoogleEarthLinux.bin file isn’t available.
“$ make-googleearth-package –file Desktop/GoogleEarthLinux.bin
UsingNot building on non-i386; use –force to override.”
—try to use make-googleearth-package –force
Yeah, looks like it doesn’t work on (x)Ubuntu…
Using –force will make i386 package and can’t install that:
dpkg: error processing googleearth_4.2.198.2451+0.2.0-1_i386.deb (–install):
Usingpackage architecture (i386) does not match system (amd64)
Still, you can force install it; try
Usingdpkg -i –force-architecture
dem g33k
Usingdebian:/home/x# make-googleearth-package
–01:24:53– http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
=> `GoogleEarthLinux.bin’
Resolving dl.google.com… 72.14.255.91
Connecting to dl.google.com|72.14.255.91|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
01:24:55 ERROR 404: Not Found.
Could not download Google Earth! (You may need to use –url or –file)
Usingjust rename GoogleEarthLinux.bin to GoogleEarthLinux.package (I’m on Debian, but on Ubuntu surely will work… I guess…) then in properties mark “allow this file to run as program” close properties and… just double click it. ;) in my case this work well.
UsingThanks mate :)
very helpful post, went smoothly on Debian (Lenny)
all i had to change was “dpkg -i googleearth_4.1.7076.4458+0.4.3-1_amd64.deb” to suit
UsingBrendan,
UsingMy pleasure :) It’s glad to hear that.
Ubuntu instructions:
1) download the package directly from google site into your home folder
2) use Synaptic to download googleearth-package.
3) run #make-googleearth-package
4) run #googleearth-package –force –file
5) crybaby complaints from the installer, ignore
6) run #dpkg -i
7) #googleearth
now, how do I get a sexy icon on my desktop?
Usingthe formatter on my previous post seems to have removed thing between carots, so …
Usingon number 4) the bin package file location follows “–file”
and both of the — marks are actually “–” and on 6) the deb package file name follows “-i” now i see why th epost originally used “”
For some reason I get a whole bunch of errors saying:
dpkg-shlibdeprs couldn’t find library libstdc++.so.6 needed for ….
you might nee to set LD_LIBRARY_PATH.
Am I missing a package somewhere that I need? I tried googling and can’t figure it out.
UsingMichael Wigle,
UsingPlease verify if you have installed ia32-libs package.
Thank you for the instructions. They were very helpful to install the latest version of Google Earth on DreamLinux, a Brazilian distribution based on Lenny. Unfortunately, in order to run it properly, I have to run it as root (gksu googleearth), otherwise all I see is a field of stars. Also, I have to deactivate Compiz, and still it runs very slowly. Much slower than on my XP partition on the same machine.
Any suggestions to solve these issues would be most welcome.
Regards,
UsingGhoti
Nope, doesn’t work on 64bit Debian Testing.
/usr/lib/googleearth/googleearth-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
I have no interest in tracking down an OpenGL 32bit hack lib. It’s bad enough I have a proprietary Nvidia video card.
# dpkg -l | grep ia32-libs
ii ia32-libs 2.7 ia32 shared libraries for use on amd64 and ia64 systems
ii ia32-libs-gtk 2.7 GTK+ ia32 shared libraries
ii ia32-libs-xulrunner 1.8.1.3-0.2 xulrunner ia32 shared libraries
I’m often tempted to purge these 32bit libs taking any proprietary 32bit crud I really shouldn’t be running anyway with it.
The real answer is there is not a 64bit version. Anything else is just pounding the round peg into the square hole by using a really big hammer.
UsingYep, it does not run on my machine (Sid AMD64).
UsingHmm, I am sure I had it running, some months ago, when I had 2.6.26.early kernel, and the ATI drivers using kernel module. Since 2.6.27 I can’t compile the modules (yes ati sucks, drivers practically need to be upgraded for almost every blooming kernel version). So, even though I have some sort of glx running on my non accelerated machine, GoogleEarth throws me out to the login screen, when I try to start it.
{ 1 } Trackback
[...] I’ve done a Google search and found solution at SysAdmin’s Diary. Just for my own information I’ll list the steps here, for details take a look at [...]
Post a Comment