Home > Software, Ubuntu > Having the latest Google Earth Package

Having the latest Google Earth Package

August 26th, 2007

There 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”

Software, Ubuntu

  1. September 2nd, 2007 at 18:34 | #1

    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.

  2. Paul
    September 9th, 2007 at 01:52 | #2

    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 ?

  3. tom
    September 25th, 2007 at 21:39 | #3

    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.

  4. iGama
    September 25th, 2007 at 22:25 | #4

    Thanks for the info tom

  5. Tim
    September 27th, 2007 at 08:11 | #5

    So, where does one update the script?

    Thanks.

  6. iGama
    September 27th, 2007 at 08:43 | #6

    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”

  7. Emblem Parade
    September 29th, 2007 at 00:11 | #7

    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.

  8. ale
    November 27th, 2007 at 23:15 | #8

    For 64 bits:

    sudo make-googleearth-package –force

    and next install the Deb package with

    sudo dpkg -i –force-architecture googleearth_XXXXXXXXXXXXXX_i386.deb

  9. Frille
    March 18th, 2008 at 06:28 | #9

    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

  10. tanveer
    March 11th, 2009 at 12:24 | #10

    ;lk;l

  1. No trackbacks yet.