Googleearth

From MEPIS Documentation Wiki

Jump to: navigation, search

Contents

Introduction

"Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can explore rich geographical content, save your toured places, and share with others."

Installation

Check Video Requirements

First you need to have 3D graphics card and direct rendering running correctly
Enter this command in the konsole to check (you should get a 'yes'):

glxinfo | grep 'direct rendering'

If you get a 'no' but you do have a 3D graphics card, you can install the NVIDIA or ATI graphic drivers using MEPIS X-Windows Assistant or Smxi.

Install with one of these methods

Synaptic

Advantage of this method is it creates a .deb file, so Google Earth can be handled with the package manager, plus library dependency issues are minimized.

Install ia32-libs-mepis if you are running a 64 bit install

Goto Synaptic and install the googleearth-package. For Google Earth 5.1 or above, the Mepis community repository version is necessary.

Once you've installed googleearth-package, create a new directory called Googleearth-package (or whatever else you want to call it).

Open a konsole in that new directory and issue the following command

make-googleearth-package --force

This will download the most recent GoogleEarthLinux.bin script from http://earth.google.com .

It will then extract the binary from the script and build it into a debian package named googleearth_XXXX.XXX.deb (where xxxx.xxx is the current version)

Don't be alarmed if several error messages appear during the compilation/build process, allow the build to complete (it may take in excess of 10 minutes, depending upon processing speed of the pc)

When the package has completed building install it with either su -c 'dpkg -i *.deb' or use Kpackage (File >>> Open and choose the googleearth_XXXX.XXX.deb file. In Mepis 8.5, use gdebi-kde (Gdebi Package Installer) to install the resulting .deb file.

Direct Download

  1. Goto www.google.com/earth and find the download page.
  2. Depending on your system, Choose and download either the 32 bit or 64 bit ".deb (For Debian/Ubuntu)"
  3. Install the .deb via the usual gdebi method or other method of your choice.
  4. You can run from Kmenu >>> Internet >>> Google Earth or from the konsole via the command: google-earth

Notes: If you get a black screen and you are using nvidia video, you may need to install the nvidia-glx-ia32 package via Synaptic

Ugly Font Correction

MEPIS 11

Use Synaptic to install the ttf-mscorefonts-installer package. Log out and back in again; the fonts in Google Earth should look better now.

Earlier MEPIS versions

Basically, GE uses its own QT 4 libraries instead of the ones in your system, and theirs are borked somehow. The "mv" commands below back up (rename) the GE versions of the libraries "just in case", then the "ln" commands create symbolic links to the good MEPIS versions of the same libraries; GE will then use those.

You need to find out where Google Earth is installed--if you installed from a deb or Synaptic, check in Synaptic where the lib files in the commands below were installed. If installed in your home folder, you do not need to run these commands as root. If you installed GE as described in the direct download method above, just follow these steps exactly:

In Konsole enter

su

and then root password to run as root.
Next, enter these commands in order: (one at a time: highlight, copy 'CTRL-C' and paste 'CTRL-Insert' into the konsole)

cd /opt/google-earth/                                  <<<<  FYI... changes the directory (cd) to where google earth is installed
mv libQtCore.so.4 libQtCore.so.4.bak
mv libQtGui.so.4 libQtGui.so.4.bak
mv libQtNetwork.so.4 libQtNetwork.so.4.bak
ln -s /usr/lib/libQtCore.so.4.4.3  libQtCore.so.4
ln -s /usr/lib/libQtGui.so.4.4.3  libQtGui.so.4
ln -s /usr/lib/libQtNetwork.so.4.4.3  libQtNetwork.so.4

Close Konsole and the fonts in Google Earth should look better now.

Personal tools