问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

如何在 Ubuntu Kylin16.04 安装 GoogleEarth

发布网友 发布时间:2022-04-30 18:12

我来回答

1个回答

热心网友 时间:2022-04-21 19:37

Recommended installation methods

Installing the .deb file downloaded from the Google Earth Website

The Google Earth Website now has pre-compiled .deb packages for Ubuntu.
Open http://www.google.com/earth/download/ge/agree.html and download Google Earth for Linux. Select the .deb package for your CPU architecture (32 or 64-bit). If you click on Advanced Setup you can choose the latest version of Google Earth or the previous version. Note to 64bit users: The 64bit debian package depends on ia32-libs which is deprecated and no longer available as of 13.10 Saucy. Use the 32bit package and multiarch-support.
Make sure the lsb-core package is installed! Open a terminal from Applications -> Accessories -> Terminal (in the Panel) or from theDash (in new Unity desktop) and type (or copy-paste) the following command into the terminal:
sudo apt-get install lsb-core

sudo apt-get install libc6-i386 libglib2.0-0:i386 libsm6:i386 \
libglu1-mesa:i386 libgl1-mesa-glx:i386 libxext6:i386 \
libxrender1:i386 libx11-6:i386 libfontconfig1:i386 lsb-core

64bit users: You should use this instead if installing the 32bit package
Double-click the downloaded .deb package to install it using the Ubuntu Software Center.
After installation you should find Google Earth in the Applications -> Internet menu or through the Dash.
For earlier versions of Ubuntu that don't have the USC, it is preferred that you use gdebi installer:
Make sure that gdebi is installed:
sudo apt-get install gdebi

Install Google Earth .deb package from the terminal
sudo gdebi path_to_the_google_earth_package.deb

or by opening the package with the gdebi's graphical interface.

Alternative installation method

Using make-googleearth-package
Google Earth is also available from googleearth-package. This package installs a script called make-googleearth-package, which downloads the latest stable 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.
Make sure the lsb-core package is installed:
sudo apt-get install lsb-core

Install the googleearth-package package:
sudo apt-get install googleearth-package

The instructions on how to use the script can be found by running
make-googleearth-package --help

or
man make-googleearth-package

Use the script to download the latest binary and create a .deb package:
make-googleearth-package --force

Please note that the Natty (11.04) version of googleearth-package no longer seems to require the "--force" option for 64-bit systems. The Natty version can be used on earlier Ubuntu releases. Note to 64bit users: make-googleearth-package depends on ia32-libs which is depreciated and no longer available as of 13.10 Saucy. Use the precompiled 32bit debian package fromhttp://www.google.com/earth/download/ge/agree.html and the multiarch-support package from the repositories.
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.
Install the created .deb package and Google Earth should be available in your menus.

Hints and Tips

Uninstallation
You can uninstall Google Earth as any other package. From the terminal you can do it using the following commands:
Find the exact package name:
dpkg --list 'google-earth*' | cat

which may show that the package name is google-earth-stable.
Uninstall the package:
sudo dpkg -P google-earth-stable

If you installed Google Earth by a method that included running sh GoogleEarthLinux.bin (now depreciated), the unistallation can be done by pasting the following command in a terminal:
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.

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
As of 13.10 Saucy, ia32-libs is no longer available from the repositories. Use the multiarch-support package from the repositories and download the 32bit .deb from http://www.google.com/earth/download/ge/agree.html
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.

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

Qt
This version has Qt libraries that appear to be old and incompatible, causing crashes. The stack trace will include: libQtWebKit.so.4(+0x747d18)
To fix this, install the repository's libQt libs:
sudo apt-get install libqtcore4 libqtgui4 libqt4-network libqt4-webkit

Then remove the bundled libs (assuming the default installation location):
cd /opt/google-earth
sudo rm libQtCore.so.4 libQtGui.so.4 libQtNetwork.so.4 libQtWebKit.so.4

Libfreeimage
There is also apparently a buggy version of libfreeimage. The stack trace will include: libIGGfx.so(+0x1296c9)
To fix this:
sudo apt-get install libfreeimage3

then to start Google Earth:
cd /opt/google-earth
LD_PRELOAD=/usr/lib/libfreeimage.so.3 googleearth

After these, Google Earth worked very well on my system (ATI Radeon accelerated, Compiz off).

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

CategorySoftware CategoryScience CategoryGraphicsApplications CategoryObsolete
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
“晚来天欲雪,能饮一杯无?”是什么意思_出处及原文翻译_学习力 胸肌中部怎么练 血沉高是怎么回事,怎样才能降低啊! 中海锦江城多久交房 “QMS”作为“质量管理体系”的英文缩写,其背后理论及应用如何?_百度... 我用QQ登的快手绑定了一个电话号码,电话号码不用了,现在怎么能登得进去... 桂林银行白金客户条件 桂林银行最高等级卡 iQOO 11系列曝光,预计年底正式发布! vivo X90先别买?iQOO 11系列配置堪称豪华 “子项目”用英语如何说啊 计划用英语怎么说 头部枕不到汽车头枕怎么办 竹炭记忆棉与太空记忆棉的区别 在什么情况下可以使用抱佛脚? 搞笑的美国电影推荐 类似“对不起,我爱你”的电视剧 有一个男孩结婚了,喜欢一个女孩直播,还经常给她刷礼 蒲公英花朵怎么吃 兴化的兴化名人 婆婆丁是败火的,它中间的花骨朵能吃吗? 华为p40pro+怎么样性价比高不高? 对于外出遛狗不拴狗绳的行为怎么看? 蒲公英花苞可以吃吗 CAD2014图层无法删除怎么办 屌丝男士 里面那个女秘书 被打了一巴掌那个 (喂奶 电梯)叫什么 广西锦恒矿业有限公司与梧州万源投资公司关系 婆婆丁花骨朵能吃吗 有什么四川汶川地震的感人事迹? cad中怎么删除无法删除的图层 蒲公英的花朵能吃吗 如何添加一个gradle projiect 求讲的比较好的AI和PS教程,谢谢了,百度云? swf转换器 U型枕里面的填充物是记忆棉好还是纳米粒子好还是竹炭好还是大豆纤维好啊?_百度问一问 AI我要怎么学, 我看都看不懂那些软件我要怎么用。 现在PB又反编译软件吗?怎么实现反编译? 金立手机L600 netbeans 无法运行C文件 记忆棉床垫 乳胶床垫和弹簧床垫哪个好 关于扑克牌,,急!!! 记忆棉和竹炭的哪个对尾骨更好? 俄罗斯15年什么梗 如何使用React Native Android 实现本地组件的安装 打开ppstream显示运行时间错误 俄罗斯是什么梗 我要自学网很多视频收费怎么看? 慢回弹记忆枕效果怎么样 eclipse编辑XML文件,引号内的代码提示问题,我说的是eclipse,不是myEclipse。 俄罗斯500亿什么梗 请问如何将一下GRUB的引导翻译成GRUB2的格式,并添加到Ubuntu的引导菜单中?