个人工具

“UbuntuHelp:GoogleEarth”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示3个用户的8个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:GoogleEarth}}
 
{{Languages|UbuntuHelp:GoogleEarth}}
 
#title Google Earth
 
#title Google Earth
Parent: [[UbuntuHelp:Software]]
 
 
== Google Earth ==
 
== 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.''
 
''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.''
第8行: 第7行:
 
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png
 
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png
 
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png
 
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png
[[Anchor(installation)]]
+
<<Anchor(installation)>>
 
== Installation ==
 
== 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.
+
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 by clicking [[UbuntuHelp:apt:googleearth|here|apt:googleearth|here]] or using your favorite package manager ([[UbuntuHelp: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>
 +
To have this package download the latest binary and create a .deb package on a 64-bit Ubuntu install (make sure you have the '''ia32-libs''' package installed), simply type:
 +
<pre><nowiki>
 +
make-googleearth-package --force
 +
</nowiki></pre>
 +
Be aware that a previously downloaded copy of the binary will not be overwritten, so manually delete any GoogleEarthLinux.bin file before running this command. Once you install the created .deb package Google Earth should be available in your menus.
 +
== 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.
 
</li><li>Open a [[UbuntuHelp:UsingTheTerminal|terminal]] from '''Applications''' -> '''Accessories''' -> '''Terminal'''.
 
</li><li>Open a [[UbuntuHelp:UsingTheTerminal|terminal]] from '''Applications''' -> '''Accessories''' -> '''Terminal'''.
 
</li><li>'''cd''' into the directory where you saved Google Earth. For example, if you saved it to the Desktop type: <pre><nowiki>
 
</li><li>'''cd''' into the directory where you saved Google Earth. For example, if you saved it to the Desktop type: <pre><nowiki>
第21行: 第40行:
 
  sudo ./GoogleEarthLinux.bin
 
  sudo ./GoogleEarthLinux.bin
 
  </nowiki></pre>
 
  </nowiki></pre>
</li><li>Leave the default options and click '''Begin Install'''. <br><br> https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-1.png
+
</li><li>Leave the default options and click '''Begin Install'''. <<BR>><<BR>> https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-1.png
</li><li>When installation is complete, press '''Quit'''. <br> /!\ Do '''not''' press ''Start'' as this will run it as root which is never a good idea. <br><br> https://help.ubuntu.com/community/googleearth-setup-2.png <br><?action=AttachFile&do=get&target=li%3E%3C%2Fol%3E
+
</li><li>When installation is complete, press '''Quit'''. <<BR>> /!\ Do '''not''' press ''Start'' as this will run it as root which is never a good idea. <<BR>><<BR>> https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-2.png <<BR>></li></ol>
  
 
{i} A file named <code><nowiki>Google-googleearth.desktop</nowiki></code> will be installed on the Desktop. This file is safe to delete.
 
{i} A file named <code><nowiki>Google-googleearth.desktop</nowiki></code> will be installed on the Desktop. This file is safe to delete.
第28行: 第47行:
 
Run Google Earth by selecting '''Applications''' -> '''Internet''' -> '''Google Earth'''.
 
Run Google Earth by selecting '''Applications''' -> '''Internet''' -> '''Google Earth'''.
 
=== Upgrading ===
 
=== Upgrading ===
Upgrading to a new version is the same as in the [[installation Installation]] section, except that you will not be asked where to install.
+
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 ===
 
=== Uninstallation ===
Assuming you installed Google Earth according to the [[installation Installation]] section above, Google Earth can be uninstalled by pasting the following command in a [[UbuntuHelp:UsingTheTerminal|terminal]]:
+
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 [[UbuntuHelp:UsingTheTerminal|terminal]]:
 
{i} This command is all on one line. Copy it and paste it in your terminal.
 
{i} This command is all on one line. Copy it and paste it in your terminal.
 
<pre><nowiki>
 
<pre><nowiki>
第39行: 第58行:
 
rm -rf ~/.googleearth
 
rm -rf ~/.googleearth
 
</nowiki></pre>
 
</nowiki></pre>
=== Alternative Installation ===
 
Google Earth is also available packaged in the [[UbuntuHelp:Medibuntu]] repository, however it might not have the latest version available.
 
 
=== 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.
 +
==== 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. [http://groups.google.nl/group/earth-linux/search?group=earth-linux&q=slow+4.3&qt_g=Zoeken+in+deze+categorie Google Earth Help group query]
 
==== Google Earth and Compiz ====
 
==== 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
 
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 ====
 
==== 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/
+
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/21/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 x32 ====
 +
If there is a serious performance issue due to graphics overloading, do the following:
 +
1 - System -> Preferences -> Appearance: Visual Effects tab: set to None
 +
2 - Start GE, try to get to View: remove Atmosphere, Water Surface
 +
3 - By now some overload reduction should allow to change other options, like
 +
Tools -> Options: 3D View tab: check Graphics_Mode checkbox to Use Safe mode
 +
Now you should be able to enjoy Google Earth and the Flight simulator.
 +
==== 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 ====
 +
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 configuration files into the user's home folders, but with root as the owner. The normal user cannot use Google Earth, because the settings cannot be saved. The display will not contain a globe, but only a black space and some settings will be grayed out.
 +
To fix this problem, delete the Google Earth configuration directory:
 +
<pre><nowiki>
 +
sudo rm -Rf .config/Google .googleearth
 +
</nowiki></pre>
 
== Further Reading ==
 
== Further Reading ==
 
* [http://earth.google.com/ Google Earth Website]
 
* [http://earth.google.com/ Google Earth Website]
第57行: 第103行:
 
* [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:CategoryDocumentation]] [[category:CategorySoftware]] [[category:CategoryScience]]
+
[[category:CategorySoftware]] [[category:CategoryScience]] [[category:CategoryGraphicsApplications]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 22:31的最新版本


  1. title Google Earth

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

GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png <<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 by clicking here|apt:googleearth|here or using your favorite package manager (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 running
 make-googleearth-package --help
 
or
 man make-googleearth-package
 

To have this package download the latest binary and create a .deb package on a 64-bit Ubuntu install (make sure you have the ia32-libs package installed), simply type:

 make-googleearth-package --force
 

Be aware that a previously downloaded copy of the binary will not be overwritten, so manually delete any GoogleEarthLinux.bin file before running this command. Once you install the created .deb package Google Earth should be available in your menus.

Alternative Installation

  1. Download Google Earth from the Google Earth website. <
    > {i} The linux version will be automatically chosen when downloading from Ubuntu.
  2. Open a terminal from Applications -> Accessories -> Terminal.
  3. cd into the directory where you saved Google Earth. For example, if you saved it to the Desktop type:
     cd ~/Desktop
     
  4. Make it executable by typing:
     chmod +x GoogleEarthLinux.bin
     
  5. Run the installer by typing:
     sudo ./GoogleEarthLinux.bin
     
  6. Leave the default options and click Begin Install. <
    ><
    > GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-1.png
  7. When installation is complete, press Quit. <
    > /!\ Do not press Start as this will run it as root which is never a good idea. <
    ><
    > GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-2.png <
    >

{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/21/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 x32

If there is a serious performance issue due to graphics overloading, do the following: 1 - System -> Preferences -> Appearance: Visual Effects tab: set to None 2 - Start GE, try to get to View: remove Atmosphere, Water Surface 3 - By now some overload reduction should allow to change other options, like Tools -> Options: 3D View tab: check Graphics_Mode checkbox to Use Safe mode Now you should be able to enjoy Google Earth and the Flight simulator.

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 configuration files into the user's home folders, but with root as the owner. The normal user cannot use Google Earth, because the settings cannot be saved. The display will not contain a globe, but only a black space and some settings will be grayed out. To fix this problem, delete the Google Earth configuration directory:

sudo rm -Rf .config/Google .googleearth

Further Reading