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:
(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 - | sudo apt-key add -

sudo sh -c ‘echo “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