Google Earth on Ubuntu 16.04 Xenial Xerus

Due to lsb-core package deprecations Google earth takes a few more mins to install on Ubuntu 16.04 Xenial Xerus.
Follow steps below to install :

STEP 1 : INSTALL GOOGLE EARTH
sudo apt-get update && sudo apt-get upgrade
cd ~/Downloads
wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/l/lsb/lsb-core_4.1+Debian11ubuntu6_amd64.deb
sudo dpkg -i --force-all lsb-core_4.1+Debian11ubuntu6_amd64.deb
sudo dpkg -i google-earth-stable_current_amd64.deb
STEP 2 : REMOVE DEPENDENCY HELL (lsb-core)

lsb-core depends on a lot of packages this will start annoying you on any further updates.
To shut up lsb-core depends from calling out follow steps below.

cp /var/lib/dpkg/status ~/
sudo vi /var/lib/dpkg/status

If you are not comfortable with vi open in your favorite UI editor.
locate below line

Package: lsb-core
Locate section called "Depends" under above package. Delete all package dependencies after 
leaving only "Depends:"
Be careful you are doing this under the lsb-core package only.
save the file or in vi :wq
STEP 3: CHECK GOOGLE EARTH WORKS

Launch google-earth or from unity launcher
make sure everything works.

STEP 4 : MAKE PANARAMIO PHOTOS TO WORK:

At this point panaramio photos do not load correctly, you will have a white screen when you click any picture inside google earth .
Follow steps below to resolve

cd /opt/google/earth/free
sudo wget http://www.sundru.net/wordpress/sundrumisc/ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz

||Credit for this library goes to amirpli@gmail.com - 2013 and Ryan C. Gordon -2006||

For security verify md5sum: 6d1f5cff1c9e1831798fd1270b90f501
[UPDATE 05/30/2016] : This assumes  you have a 64 bit OS, for 32 bit install see Per de Place Bjørn (thanks !) comment below.

sudo tar xvf ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz
sudo apt-get install libfreeimage3
sudo apt-get install libgstreamer0.10-0
sudo apt-get install libgstreamer-plugins-base0.10-0

Leave a note if this helped

42 thoughts on “Google Earth on Ubuntu 16.04 Xenial Xerus”

  1. Works. However, I cannot sign in to Google,I get an authentication error:

    404. That’s an error.

    The requested URL /o/oauth/GetOAuthToken was not found on this server. That’s all we know.

  2. Works perfect.
    ‘aptitude’ said I had the last 3 packages already installed ( libfreeimage3, libgstreamer0.10-0, libgstreamer-plugins-base0.10-0 ) so I guess the real trick was to get ‘ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz’.

  3. Marvellous! This was hard to find – should get more attention-
    First part of the quide worked out fine, replacing
    http://mirrors.kernel.org/ubuntu/pool/main/l/lsb/lsb-core_4.1+Debian11ubuntu6_amd64.deb
    with
    http://mirrors.kernel.org/ubuntu/pool/main/l/lsb/lsb-core_4.1%2bDebian11ubuntu6.1_i386.deb
    and likewise using the 32 bit version of GE.

    However (my bad) using
    ge7.1.1.1580-0.x86_64-new-qt-libs-debian7-ubuntu12.tar.xz
    trashed everything.
    Is there a 32bit equivalent?

    cheers!

      1. You are most welcome 😉
        Now, do you know if there is a 32bit replacement for the amirpli/Gordon lib?

    1. See what output you get when you start from console or check logs on /opt ? Its kinda very generic saying it crashes.

      1. It gives back this:
        [0601/082229:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses()
        [0601/082229:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.

        Another crash happened while handling crash!”

        with the line “[0601/082229:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.” repeating like 35 more times..

  4. Unfortunately the Panoramio images do not load for me.

    404 That’s an error. The requested URL / was not found on this server. Tha’s all we know.

  5. Hello – great work. Unluckily, when i did the panoramio thing it caused google-earth to crash, so now it doesn’t work after all. If you can give me a clue…?

    1. Am assuming you are running x64 ubuntu ?

      Start “google-earth” from the console and do your steps to make it crash, then post what message you see in the console here.
      Hopefully can point you in the right direction.

  6. Hi

    It has crashed reliably for a few days. Today it worked. Here is the console log in case it helps you.

    google-earth
    [0613/080308:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses()
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080309:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080310:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080311:WARNING:backend_impl.cc(1875)] Destroying invalid entry.
    [0613/080311:WARNING:backend_impl.cc(1875)] Destroying invalid entry.
    [0613/080311:WARNING:backend_impl.cc(1875)] Destroying invalid entry.
    [0613/080311:WARNING:backend_impl.cc(1875)] Destroying invalid entry.
    [0613/080311:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080311:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080311:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080311:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
    [0613/080311:WARNING:backend_impl.cc(1875)] Destroying invalid entry.

    Before, is ended with words to the effect that it crashed, while dealing with an earlier crash. I don’t know if the invalid entries gives anyh clue.

    Very many thanks for your help and care.

    Andrew

  7. Worked for me with the beta of 64-bit Linux Mint 18 Cinnamon, which is based on Ubuntu 16.04. Thank you very much indeed for enabling me to use Google Earth again (after an absence of about 2 years).

  8. slight issue with lsb-core it did not seem to fully install until I used apt-get -f install
    then lsb-core dependencies actually would install ?

    sudo dpkg -i –force-all lsb-core_4.1+Debian11ubuntu6_amd64.deb
    apt-get -f install
    apt install libc6-i386
    apt install lib32z1

    finally Google Earth lasted more than a sec before crash 😛

    THANK YOU !!!

  9. Panoramio images *appear* to work, BUT….
    The panoramio images window pops up with a set of images but as soon as I select another image in the window, or actually interact with the pop-up window at all, the pop-up window goes blank. The pop-up window then disappears on the next mouse click.
    There are no error messages on the console.

    What library is producing the Panoramio images pop-up window?

  10. Your instructions are clear concise and easy to follow and of course very helpful for someone not that comfortable with linux commands. In step 4 I did get some error messages about tex-common not being configured, but the pictures are now showing.

    Thanks for your great help.

  11. I have installed this again on another system. I applaud your sense of community and your professionalism in describing this procedure in such detail. Every part of this somewhat complex procedure worked perfectly, and the md5sum was even correct. After trying to sort out a plethora of methods for installing Google-Earth on Ubuntu 16.04, this is definitely the one. Hats off!

  12. Thanks, followed all instructions provided on my 16.04 64 set up running as a VMWare VM, but to no avail, ge continues to crash after the ge splash screen disappear and when it shows the small window that it is anticipated to announce the loading of my places. The background is black, no earth. Retried after deleting .googleearth dir to no avail.
    Is there any conflict with QTx libraries?

    1. With VMware am not sure – make sure GL is enabled by typing “glxinfo | grep render”

      Non standard renderers may not be workable with Earth. Try google-earth forums for support.

  13. Works, did not need the fix for panaramio
    On Ubuntu xenial mate 16.04
    not to see if I b0rked with the lsb conflicts on update although i did what you said after “depends” with nano.

  14. broke my system by removing all after depends lsb core cause then the update manager is broken.
    The fix was …
    “First remove the Merge List by opening a terminal (Press Ctrl+Alt+T to launch) and run this command*:

    sudo rm -vf /var/lib/apt/lists/*
    Next, generate a new one by running a simple update:

    sudo apt-get update”

Leave a Reply to admin Cancel reply

Your email address will not be published. Required fields are marked *