Weblog entry #2 for jcdr

GoogleEarth on a Debian amd64 wheezy
Posted by jcdr on Fri 4 Jan 2013 at 00:35
Tags: none.
This is a edited history of the commands I used to install GoogleEarth on a Debian amd64 wheezy system. This was not retested from stratch so there might be some missing or irrelevent commands. This was tested on a A10-5800K system that need proprietary driver. The procedure must be adapted if you uses an other GPU. First verify that "non-free" is present in /etc/apt/sources.list. Then install the fglrx driver and associate stuff.
aptitude -r install linux-headers-2.6-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-control fglrx-driver
apt-get update
apt-get upgrade
apt-get install fglrx*
Now install some general packages.
apt-get install locales-all
apt-get install mysql-common
apt-get install lsb-core
apt-get install libfontconfig1
GoogleEarth is a i386 executable and set of libraires, even into the amd64 package of it. Since wheezy is multiarch, add the i386 parts.
dpkg --add-architecture i386
sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
apt-get update
apt-get upgrade
Now this will install a lot of i386 libraries. Probably that not all of them are required, but sorting them is time consuming.
apt-get install ia32-libs-gtk
apt-get install libc6-dev:i386
apt-get install libc6-dev:i386
apt-get install libc6-dev:i386
apt-get install libgmp10:i386
apt-get install libgomp1:i386
apt-get install libtm1:i386
apt-get install libitm1:i386
apt-get install libmpc2:i386
apt-get install libncurses5:i386
apt-get install libquadmath0:i386
apt-get install libreadline6:i386
apt-get install linux-libc-dev:i386
apt-get install libpq5:i386
apt-get install libmysqlclient18:i386
The tricky part is to get the right libGL.so.1 The procedure must be adapted if you uses an other GPU.
apt-get install libgl1-fglrx-glx:i386
Now amd64 GoogleEarth should be installable.
wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
dpkg -i google-earth-stable_current_amd64.deb 
It will not be added into the Gnome3 menu. So start it manually.
google-earth