Having the latest Google Earth Package
August 26, 2007 – 11:16 pmThere is a new package in Debian and Ubuntu Gutsy (7.10) named ‘googleearth-package’. This package is really a script to create a .deb of the latest version of Google Earth. So, how does it work? Just some few steps and we ready to go.
Note: This can work in Edgy, Feisty, etc, you Don’t have to have Gutsy.
1º dependencies, packages needed to create the Google Earth Package.
$ sudo apt-get install build-essential dpkg-dev debhelper devscripts fakeroot linda dh-make patch
If you have Gutsy, just try:
$ sudo apt-get install googleearth-package
If you Don’t have Gutsy (7.10) you should do the following:
$ wget -vc http://archive.ubuntu.com/ubuntu/pool/multiverse/g/googleearth-package/googleearth-package_0.2.0_all.deb
$ sudo dpkg -i googleearth-package_0.2.0_all.deb
$ sudo apt-get install -f
And now, to create the .deb package its easy, just:
$ sudo make-googleearth-package
And a package with the name, for example, ‘googleearth_4.1.7076.4458+0.2.0-1_i386.deb’ will be created, refering to the last Google Earth version available.
To install it just doble-click it or:
$ sudo dpkg -i googleearth_4.1.7076.4458+0.2.0-1_i386.deb
Thanks Hamacker for the tip
*UPDATE*
you have to update the script :
sudo gedit /usr/bin/make-googleearth-package
where it says:
GoogleEarth_bin_URL=”http://dl.google.com/earth/GE4/GoogleEarthLinux.bin”
you need to change to:
GoogleEarth_bin_URL=”http://dl.google.com/earth/client/current/GoogleEarthLinux.bin”
9 Responses to “Having the latest Google Earth Package”
Very good except for the last part about “Not building on non-i386; use –force to override.”
Now I am back to original problem, lack of AMD 64 support.
By Eric Lee Elliott on Sep 2, 2007
nice Howto for i386, I have an AMD64 ubuntu 7.04 installed. is there any chance of having a howto on AMD64 if it is available ?
By Paul on Sep 9, 2007
The location of the install file changed to http://dl.google.com/earth/client/current/GoogleEarthLinux.bin so the script needs to be updated for the new location before run.
By tom on Sep 25, 2007
Thanks for the info tom
By iGama on Sep 25, 2007
So, where does one update the script?
Thanks.
By Tim on Sep 27, 2007
you have to change the file :
usr/bin/make-googleearth-package
where it says:
GoogleEarth_bin_URL=”http://dl.google.com/earth/GE4/GoogleEarthLinux.bin”
you have to have
GoogleEarth_bin_URL=”http://dl.google.com/earth/client/current/GoogleEarthLinux.bin”
By iGama on Sep 27, 2007
You don’t have to update the script! Simply download the file yourself to the current directory. The script will use it if it finds it, rather than try to download it itself.
By Emblem Parade on Sep 29, 2007
For 64 bits:
sudo make-googleearth-package –force
and next install the Deb package with
sudo dpkg -i –force-architecture googleearth_XXXXXXXXXXXXXX_i386.deb
By ale on Nov 27, 2007
At debian you can now find a much newer version 5.3 of this script, witch works greath on K/Ubuntu and supports 64 bit.
http://packages.debian.org/lenny/googleearth-package
By Frille on Mar 18, 2008