Ubuntu – Google Earth not install on 14.04

14.04google earthsoftware installation

I'm trying to install Google Earth on Ubuntu 14.04 and get the following error. The problem show up using dpkg -i to install the .deb downloades from Google site, beside I tested with Ubuntu Software Center too.

Exists similar questions in this site talking about installation problems, but none of them are on 14.04, so I decided post a new questions seeking for tips-solutions for the current LTS Ubuntu version (most comments and suggestion in those previous questions are targeted oldest Ubuntu versions)

Preparing to unpack google-earth-stable_current_amd64.deb ...
Unpacking google-earth-stable (7.1.2.2041-r0) ... dpkg: dependency
problems prevent configuration of google-earth-stable: 
google-earth-stable depends on lsb-core (>= 3.2); however:   Package
lsb-core is not installed.  google-earth-stable depends on ia32-libs;
however:   Package ia32-libs is not installed.

dpkg: error processing package google-earth-stable (--install): 
dependency problems - leaving unconfigured Processing triggers for
man-db (2.6.7.1-1) ... Processing triggers for bamfdaemon
(0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding
/usr/share/applications/bamf-2.index... Processing triggers for
gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for
desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for
mime-support (3.54ubuntu1) ... Errors were encountered while
processing:  google-earth-stable

Doing what is described here I got:

sudo dpkg -i google-earth-stable_current_amd64.deb  Selecting
previously unselected package google-earth-stable. (Reading database
... 277661 files and directories currently installed.) Preparing to
unpack google-earth-stable_current_amd64.deb ... Unpacking
google-earth-stable (7.1.2.2041-r0) ... dpkg: dependency problems
prevent configuration of google-earth-stable:  google-earth-stable
depends on lsb-core (>= 3.2); however:   Package lsb-core is not
installed.  google-earth-stable depends on ia32-libs; however:  
Package ia32-libs is not installed.

dpkg: error processing package google-earth-stable (--install): 
dependency problems - leaving unconfigured Processing triggers for
man-db (2.6.7.1-1) ... Processing triggers for bamfdaemon
(0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding
/usr/share/applications/bamf-2.index... Processing triggers for
gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for
desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for
mime-support (3.54ubuntu1) ... Errors were encountered while
processing:  google-earth-stable

Best Answer

Try the method given here to install Google earth

The problem with Google Earth is that the 32bit package doesn't support multiarch so it doesn't install all the 32bit dependencies it needs to run on Ubuntu 64bit.

I recommend you just copy paste the following command:

sudo apt-get install libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386; cd /tmp && wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb; sudo dpkg -i google-earth-stable_current_i386.deb; sudo apt-get install -f

Then download and install 32 bit software package on 64 bit system.

Related Question