个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示4个用户的18个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/GoogleEarth}}
 
{{From|https://help.ubuntu.com/community/GoogleEarth}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:GoogleEarth}}
#format wiki
+
#title Google Earth
#language en
+
== 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.''
 
+
== Introduction ==
+
 
+
''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.''
+
 
+
'''NOTE:''' This tutorial utilizes the command line, so some basic experience is required; although little more than just copying and pasting.
+
 
+
 
== Screenshots ==
 
== Screenshots ==
 
+
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png
attachment:GoogleEarth.png
+
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png
 
+
<<Anchor(installation)>>
attachment:GoogleEarth2.png
+
 
+
 
== 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 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>'''cd''' into the directory where you saved Google Earth. For example, if you saved it to the Desktop type: <pre><nowiki>
 +
cd ~/Desktop
 +
</nowiki></pre>
 +
</li><li>Make it executable by typing: <pre><nowiki>
 +
chmod +x GoogleEarthLinux.bin
 +
</nowiki></pre>
 +
</li><li>Run the installer by typing: <pre><nowiki>
 +
sudo ./GoogleEarthLinux.bin
 +
</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>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>
  
'''Note: Google Earth is available from the [[UbuntuHelp:Medibuntu]] repository.'''
+
{i} A file named <code><nowiki>Google-googleearth.desktop</nowiki></code> will be installed on the Desktop. This file is safe to delete.
 
+
== Hints and Tips ==
0. Download
+
Run Google Earth by selecting '''Applications''' -> '''Internet''' -> '''Google Earth'''.
 
+
=== Upgrading ===
  Download the linux version of [http://earth.google.com Google Earth].
+
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 ===
0. Make Executable
+
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.
  At the command line, '''cd''' into the directory that you saved Google Earth. Then issue the following command:
+
<pre><nowiki>
 
+
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
  <pre><nowiki>
+
</nowiki></pre>
  chmod +x GoogleEarthLinux.bin </nowiki></pre>
+
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:
 
+
<pre><nowiki>
0. Run the installer
+
rm -rf ~/.googleearth
 
+
</nowiki></pre>
  Issue the following command at the command prompt:
+
=== Troubleshooting ===
 
+
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.
  <pre><nowiki>
+
==== Low performance with Google Earth 4.3 ====
  sudo ./GoogleEarthLinux.bin </nowiki></pre>
+
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 ====
Continue through the rest of the installation using the default options, unless you are more experienced and need to change the options.
+
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 ====
'''WARNING:''' <u>DO NOT</u> choose to run Google Earth, as doing so will disallow you to run it as a normal user in the future.
+
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 ====
== Execution ==
+
Ensure that you video driver has 3D acceleration enabled.
 
+
Display Hardware Drivers by selecting '''System''' -> '''Administration''' -> '''Hardware Drivers'''
You can run the program via the command line or by pressing '''Alt+F2'''. Either way, type in '''googleearth''', and then press '''Enter'''.
+
Select the '''Enable''' checkbox next to your graphics card.  This may require a system restart.
 
+
==== Google Earth on Ubuntu x64 ====
=== Desktop Entry ===
+
If you get a "error 29", you may miss "lib32nss-mdns". Install this library like this:
 
+
sudo aptitude install lib32nss-mdns
To add Google Earth to the Desktop menu run this command in a terminal:
+
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 ====
<pre><nowiki>
+
If there is a serious performance issue due to graphics overloading, do the following:
sudo cp /opt/google-earth/googleearth.desktop /usr/share/applications/ </nowiki></pre>
+
1 - System -> Preferences -> Appearance: Visual Effects tab: set to None
 
+
2 - Start GE, try to get to View: remove Atmosphere, Water Surface
== Troubleshooting ==
+
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
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.
+
Now you should be able to enjoy Google Earth and the Flight simulator.
 
+
==== GoogleEarth 5.0.11337.1968 (beta) on Ubuntu x64 ====
=== Errors ===
+
/usr/lib32/i686/cmov/libcrypto.so.0.9.8 issue
 
+
<pre><nowiki>
==== Permission Denied ====
+
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
Receiving this error means that you ignored the warning in step 3 of the install instructions. To fix it, do the following:
+
</nowiki></pre>
 
+
==== Accidentally left the 'start automatically after install' checked ====
<pre><nowiki>
+
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.
sudo chown -R username ~/.googleearth
+
To fix this problem, delete the Google Earth configuration directory:
sudo chown username  ~/.local/share/applications/googleearth.desktop </nowiki></pre>
+
<pre><nowiki>
 
+
sudo rm -Rf .config/Google .googleearth
Be sure to replace ''username'' with your user name.
+
</nowiki></pre>
 
+
== Further Reading ==
=== Google Earth & Compiz ===
+
* [http://earth.google.com/ Google Earth Website]
 
+
* [http://earth.google.com/userguide/v4/ Google Earth User Guide]
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
+
* [http://googleearthuser.blogspot.com/ Using Google Earth] - Official Google Earth Blog
 +
* [http://bbs.keyhole.com/ Google Earth Community]
 +
* [http://en.wikipedia.org/wiki/Google_Earth Google Earth on Wikipedia]
 +
* [http://gearthblog.com/ Google Earth Blog]
 +
* [http://en.wikipedia.org/wiki/Keyhole_Markup_Language Keyhole Markup Language on Wikipedia]
 +
* [http://code.google.com/apis/kml/documentation/ Keyhole Markup Language (KML) documentation]
 +
----
 +
[[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