Install Google Earth on Ubuntu 14.04
By Leo Gaggl
Trying to install Google Earth on Ubuntu. You could just download the .deb file and run dpkg command, however I prefer to use it via a repo to make sure upgrades are installed as part of the system upgrades.
http://www.google.com/earth/download/ge/
Google Keys
Note: this should not be necessary if you have use the GoogleTalk plugin or similar package from the Google DEB Repo
cd /tmp/<br></br>wget https://dl-ssl.google.com/linux/linux_signing_key.pub<br></br>sudo apt-key add linux_signing_key.pub<br></br>rm linux_signing_key.pub
Add Google Earth Repo
sudo vim /etc/apt/sources.list.d/google.list<br></br>#add the following line<br></br>deb http://dl.google.com/linux/earth/deb/ stable main
sudo apt-get update<br></br>sudo apt-get install google-earth-stable
NOTE: While this should be enough on 32bit versions of Ubuntu 14.04 unfortunately it turns out that there is a dependency problem with the 64bit version
Fix 64bit dependency issues
sudo apt-get install libc6:i386 lsb-core
The problem is even after the installation of the i368 libraries the .deb file from Google will still not install on 14.04 due to the missing dependency ia32-libs (which was removed). My solution was to download the 64bit .deb file from the link above and extract to a temporary folder and repackage on current system (without ia32-libs). If you find a more efficient way please let me know in the comments.
cd ~/tmp<br></br>wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb<br></br>mkdir google-earth-stable_current_amd64<br></br>mkdir google-earth-stable_current_amd64/DEBIAN<br></br>dpkg-deb -x google-earth-stable_current_amd64.deb google-earth-stable_current_amd64/<br></br>dpkg-deb -e google-earth-stable_current_amd64.deb google-earth-stable_current_amd64/DEBIAN<br></br>dpkg -b google-earth-stable_current_amd64<br></br>sudo dpkg -i google-earth-stable_current_amd64.deb<br></br>rm -rf google-earth-stable_current_amd64*
You should now be able to run
google-earth