Googleearth
From MEPIS Documentation Wiki
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
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.
Installation Method 1: Synaptic
Goto Synaptic and install the googleearth-package.
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)
When the package has completed building install it with either dpkg -i *.deb or use Kpackage (File >>> Open and choose the googleearth_XXXX.XXX.deb file.
Installation Method 2: Direct Download
Download googleearth from http://earth.google.com and save the GoogleEarthLinux.bin file to /home/user
In Konsole enter
su
and your root password to run as root.
Enter these commands:
chmod u+x /home/user/GoogleEarthLinux.bin <<< FYI...this makes the file executable ./GoogleEarthLinux.bin <<< FYI...this runs the installer
When you get the dialog box, the defaults are generally OK:
- install path: /opt/google-earth/
- Checked box for Install symbolic link
- Binary path: /usr/local/bin
Click "Begin Install"
When all done you should have a Google Earth entry in the Kmenu item under "Internet". If you want a desktop icon, too see how to make a Link to Application.
Back in the konsole you can delete the GoogleEarthLinux.bin file with this command:
rm /home/user/GoogleEarthLinux.bin
Close the konsole and you should be good to go!
Ugly Font Correction
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.

