“UbuntuHelp:GoogleEarth”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第10行: | 第10行: | ||
<<Anchor(installation)>> | <<Anchor(installation)>> | ||
== Installation == | == Installation == | ||
+ | There are two options to install Google Earth in Ubuntu with a package. | ||
+ | === Medibuntu repository === | ||
+ | Google Earth is available packaged in the [[UbuntuHelp:Medibuntu|Medibuntu]] repository, however it might not have the latest version available. | ||
+ | {i} As of 14 Feb 09, Medibuntu's jaunty repository contains the latest version available from Google's website, 5.0.11337.1968. The latest available version for intrepid is 4.3.7284.3916. | ||
+ | Make sure you have the [[UbuntuHelp:Medibuntu]] repository added to your package sources, then install the googleearth package using your favorite package manager ([[UbuntuHelp:SynapticHowto|Synaptic|SynapticHowto|Synaptic]] in Gnome or [[UbuntuHelp:AdeptHowto|Adept]] in KDE, for example) or type the following in a terminal:<pre><nowiki> | ||
+ | sudo apt-get install googleearth | ||
+ | </nowiki></pre> | ||
+ | === make-googleearth-package === | ||
+ | Google Earth is also available from [https://launchpad.net/ubuntu/+source/googleearth-package googleearth-package]. This package installs a script called make-googleearth-package, which downloads the Google Earth installer from Google and creates a package for you. You can then install and remove the created package at will. You can find the googleearth-package in the [[UbuntuHelp:Repositories/Ubuntu|multiverse]] repository and, after installing the package, instructions on how to use the script can be found by running<pre><nowiki> | ||
+ | make-googleearth-package --help | ||
+ | </nowiki></pre> | ||
+ | or<pre><nowiki> | ||
+ | man make-googleearth-package | ||
+ | </nowiki></pre> | ||
+ | == Alternative Installation == | ||
<ol><li>Download Google Earth from the [http://earth.google.com/ Google Earth website]. <<BR>> {i} The linux version will be automatically chosen when downloading from Ubuntu. | <ol><li>Download Google Earth from the [http://earth.google.com/ Google Earth website]. <<BR>> {i} The linux version will be automatically chosen when downloading from Ubuntu. | ||
</li><li>Open a [[UbuntuHelp:UsingTheTerminal|terminal]] from '''Applications''' -> '''Accessories''' -> '''Terminal'''. | </li><li>Open a [[UbuntuHelp:UsingTheTerminal|terminal]] from '''Applications''' -> '''Accessories''' -> '''Terminal'''. | ||
第39行: | 第54行: | ||
rm -rf ~/.googleearth | rm -rf ~/.googleearth | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
− | |||
=== Troubleshooting === | === Troubleshooting === | ||
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this. | Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this. | ||
第57行: | 第70行: | ||
sudo aptitude install lib32nss-mdns | sudo aptitude install lib32nss-mdns | ||
You may also install other 32bit libraries. Note that google does not provide a 64 bit version of Google Earth. Thus installation on x64 system will take some extra efforts. | You may also install other 32bit libraries. Note that google does not provide a 64 bit version of Google Earth. Thus installation on x64 system will take some extra efforts. | ||
+ | ==== GoogleEarth 5.0.11337.1968 (beta) on Ubuntu x64 ==== | ||
+ | /usr/lib32/i686/cmov/libcrypto.so.0.9.8 issue | ||
+ | <pre><nowiki> | ||
+ | mv ~/google-earth/libcrypto.so.0.9.8 ~/google-earth/libcrypto.so.0.9.8.bak | ||
+ | ln -s /usr/lib/libcrypto.so.0.9.8 ~/google-earth/libcrypto.so.0.9.8 | ||
+ | </nowiki></pre> | ||
==== Accidentally left the 'start automatically after install' checked ==== | ==== Accidentally left the 'start automatically after install' checked ==== | ||
If the installer was started with sudo, googleearth will be started as root, but still using the home folder of the normal user (who started sudo). Thus Google Earth will place its config files into the users home folders, but with root as the owner. The normal user cannot use gogoleearth, because the settings cannot be saved. He will only see space (no globe) and some settings are greyed out. | If the installer was started with sudo, googleearth will be started as root, but still using the home folder of the normal user (who started sudo). Thus Google Earth will place its config files into the users home folders, but with root as the owner. The normal user cannot use gogoleearth, because the settings cannot be saved. He will only see space (no globe) and some settings are greyed out. | ||
第74行: | 第93行: | ||
* [http://code.google.com/apis/kml/documentation/ Keyhole Markup Language (KML) documentation] | * [http://code.google.com/apis/kml/documentation/ Keyhole Markup Language (KML) documentation] | ||
---- | ---- | ||
− | + | [[category:CategorySoftware]] [[category:CategoryScience]] | |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 17:00的版本
- title Google Earth
Parent: Software
目录
Google Earth
Google Earth puts a planet's worth of imagery and other geographic information right on your desktop. View exotic locales like Maui and Paris as well as points of interest such as local restaurants, hospitals, schools, and more.
Screenshots
<<Anchor(installation)>>
Installation
There are two options to install Google Earth in Ubuntu with a package.
Medibuntu repository
Google Earth is available packaged in the Medibuntu repository, however it might not have the latest version available. {i} As of 14 Feb 09, Medibuntu's jaunty repository contains the latest version available from Google's website, 5.0.11337.1968. The latest available version for intrepid is 4.3.7284.3916.
Make sure you have the UbuntuHelp:Medibuntu repository added to your package sources, then install the googleearth package using your favorite package manager (Synaptic|SynapticHowto|Synaptic in Gnome or Adept in KDE, for example) or type the following in a terminal:sudo apt-get install googleearth
make-googleearth-package
Google Earth is also available from googleearth-package. This package installs a script called make-googleearth-package, which downloads the Google Earth installer from Google and creates a package for you. You can then install and remove the created package at will. You can find the googleearth-package in the multiverse repository and, after installing the package, instructions on how to use the script can be found by runningmake-googleearth-package --helpor
man make-googleearth-package
Alternative Installation
- Download Google Earth from the Google Earth website. <
> {i} The linux version will be automatically chosen when downloading from Ubuntu. - Open a terminal from Applications -> Accessories -> Terminal.
- cd into the directory where you saved Google Earth. For example, if you saved it to the Desktop type:
cd ~/Desktop
- Make it executable by typing:
chmod +x GoogleEarthLinux.bin
- Run the installer by typing:
sudo ./GoogleEarthLinux.bin
- Leave the default options and click Begin Install. <
><
> - When installation is complete, press Quit. <
> /!\ Do not press Start as this will run it as root which is never a good idea. <
><
> <
>
{i} A file named Google-googleearth.desktop
will be installed on the Desktop. This file is safe to delete.
Hints and Tips
Run Google Earth by selecting Applications -> Internet -> Google Earth.
Upgrading
Upgrading to a new version is the same as in the [[UbuntuHelp:[installation|Installation]]] section, except that you will not be asked where to install.
Uninstallation
Assuming you installed Google Earth according to the [[UbuntuHelp:[installation|Installation]]] section above, Google Earth can be uninstalled by pasting the following command in a terminal: {i} This command is all on one line. Copy it and paste it in your terminal.
sudo rm -rf /opt/google-earth && sudo rm /usr/share/mime/application/vnd.google-earth.* /usr/share/mimelnk/application/vnd.google-earth.* /usr/share/applnk/Google-googleearth.desktop /usr/share/mime/packages/googleearth-mimetypes.xml /usr/share/gnome/apps/Google-googleearth.desktop /usr/share/applications/Google-googleearth.desktop /usr/local/bin/googleearth
You may also wish to remove your user preferences folder, although this is not necessary if you intend to reinstall later. This directory contains Google Earth settings and the cache:
rm -rf ~/.googleearth
Troubleshooting
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.
Low performance with Google Earth 4.3
Users have been reporting major performance regressions after upgrading from 4.2. This is due to new atmospheric rendering effects in GE 4.3. Disable these effects if you experience this behavior. Menu>View>Atmosphere. Google Earth Help group query
Google Earth and Compiz
As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636
Google Earth and ATI
Some people using the ATI fglrx driver have experienced a problem where Google Earth freezes at the splash screen and never starts up. See this post for a solution: http://n01getsout.com/blog/2006/11/26/google-earth-for-linux-freezing-with-ati/
Google Earth and 3D acceleration
Ensure that you video driver has 3D acceleration enabled. Display Hardware Drivers by selecting System -> Administration -> Hardware Drivers Select the Enable checkbox next to your graphics card. This may require a system restart.
Google Earth on Ubuntu x64
If you get a "error 29", you may miss "lib32nss-mdns". Install this library like this: sudo aptitude install lib32nss-mdns You may also install other 32bit libraries. Note that google does not provide a 64 bit version of Google Earth. Thus installation on x64 system will take some extra efforts.
GoogleEarth 5.0.11337.1968 (beta) on Ubuntu x64
/usr/lib32/i686/cmov/libcrypto.so.0.9.8 issue
mv ~/google-earth/libcrypto.so.0.9.8 ~/google-earth/libcrypto.so.0.9.8.bak ln -s /usr/lib/libcrypto.so.0.9.8 ~/google-earth/libcrypto.so.0.9.8
Accidentally left the 'start automatically after install' checked
If the installer was started with sudo, googleearth will be started as root, but still using the home folder of the normal user (who started sudo). Thus Google Earth will place its config files into the users home folders, but with root as the owner. The normal user cannot use gogoleearth, because the settings cannot be saved. He will only see space (no globe) and some settings are greyed out. Delete the (somewhat hidden) ./config/Google directory: rm -Rf .config/Google and maybe also rm -Rf .googleearth and it should work.
Further Reading
- Google Earth Website
- Google Earth User Guide
- Using Google Earth - Official Google Earth Blog
- Google Earth Community
- Google Earth on Wikipedia
- Google Earth Blog
- Keyhole Markup Language on Wikipedia
- Keyhole Markup Language (KML) documentation