Google Earth and Ubuntu 16.04
After upgrading to 16.04 (for upgrade, read wipe and re-install) I needed to re-install all my applications. I have a shell script that runs through them and installs them in one quick batch, which is great.
There’s one package that requires manual intervention and I haven’t found a way round that, so I set that to be installed last. When I leave my shell script running and come back to it, it’ll be sat waiting for the few options to be selected in this particular package, and then I’m done. That package is the
ttf-mscorefonts-installer package that installs some of the common Microsoft TrueType fonts.
From a backup, I drag back in the appropriate dot folders and files and pull back in my data and that’s it, we’re good to go.
Apart from Google Earth.
To install Google Earth in Ubuntu always seems to require a special incantation, and that incantation changes (in my personal experience, your mileage might vary) for each new version of Ubuntu. It’s a pain, because it means it can’t be automated.
Anyway, after the usual period of research and frustration (do people even test the instructions they post online?) I whittled the required steps down to this sequence below.
To be specific, this loaded Google Earth onto Ubuntu 16.04 on an Asus R500V core i7 laptop with an nVidia Geforce 610m graphics card. It has been tested on two other lower-spec dekstop PCs.
You need to download these packages first:
Then open a terminal and
cd to the folder containing the downloaded files and install them one after the other.
sudo dpkg -i lsb-security_4.1+Debian13+nmu1_amd64.deb
sudo dpkg -i lsb-invalid-mta_4.1+Debian13+nmu1_all.deb
sudo dpkg -i lsb-core_4.1+Debian13+nmu1_amd64.deb
If you have any dependency issues this should fix them (although on my box it didn’t appear to do anything at all).
sudo apt-get install -f
Reboot, then go to the following page and download the Google Earth .deb. Note that although I have a 64bit machine and 64bit Ubuntu, I had to use the 32bit .deb package.
Install the downloaded file. Substitute the name of the file you’ve downloaded, the 32bit .deb is shown in the example below.
sudo dpkg -i google-earth-stable_current_i386.deb
That should be it. Google Earth should now run. It is still a bit flaky trying to show the embedded Panorama photographs, but that is a feature I never use anyway. If I find a way to make that work I’ll post it here.