How to install Google Earth in Ubuntu 12.04 or Peppermint Three

To install Google Earth (stable) in Ubuntu 12.04, or Peppermint Three from this PPA:
http://www.ubuntuupdates.org/ppa/google_earth
(use the commands below, NOT the commands listed at the above link, or you’ll end up with 2 duplicate sources which will cause you issues in the future)

Open a terminal, and run these 4 commands in sequence:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo sh -c ‘echo “deb http://dl.google.com/linux/earth/deb/ stable main” > /etc/apt/sources.list.d/google-earth.list’

sudo apt-get update

sudo apt-get install google-earth-stable


To uninstall

sudo apt-get remove google-earth-stable

then optionally clear up the orphaned dependencies with:

sudo apt-get autoremove