设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客

在ubuntu中安装Google Earth 6

2010-12-5 23:42| 发布者: walkerxk| 查看: 4022| 评论: 0|来自: Ubuntu之家

摘要: 1. Ubuntu (或是其他基于Debian的Linux发行版): 在开始之前,确定你添加了Multiverse库。 1.1)如果你在安装Google Earth 6之前没有安装lsb-core包, 会得到如下错误: exec: 50: ./googleearth-bin: not found 或是: ...

1. Ubuntu (或是其他基于DebianLinux发行版):

在开始之前,确定你添加了Multiverse库。
1.1)如果你在安装Google Earth 6之前没有安装lsb-core包, 会得到如下错误:

exec: 50: ./googleearth-bin: not found

或是:

googleearth: command not found

所以,首先安装 lsb-core:

sudo apt-get install lsb-core

1.2) 安装可以自动生成Google Earth .deb的Google Earth包。

32:

sudo apt-get install googleearth-package

make-googleearth-package –force

64:

sudo apt-get install googleearth-package ia32-libs

make-googleearth-package –force

1.3) 上面的最后一条命令可以在你的home文件夹中生成Google Earth .deb文件 (在我的系统中是/googleearth_6.0.0.1735+0.5.7-1_i386.deb). 像安装其他.deb文件一样安装它就可以了.

现在Google Earth 6应该可以正常运行了。

2. 手动安装 (任何 Linux发行版, 包括Ubuntu)

2.1) 在安装 Google Earth 6之前,需要先安装 lsb-core. 在 Ubuntu中, 通过如下命令安装

sudo apt-get install lsb-core

2.2) 下载最新版 Google Earth 6 (.bin) 存放在你的home目录下.

2.3)运行如下命令:

cdchmod +x GoogleEarthLinux.bin./GoogleEarthLinux.bin –target /tmp/ge

2.4) 这时你会得到如下错误(或者类似的错误):

./GoogleEarthLinux.binVerifying archive integrity… All good.Uncompressing Google Earth for GNU/Linux 5.1.3533.1731………………………………………………………setup.data/setup.xml:1: parser error : Document is empty^setup.data/setup.xml:1: parser error : Start tag expected, ‘<’ not found^Couldn’t load ‘setup.data/setup.xml’

不用担心,我们用下面的命令修复它:

cd /tmp/ge/setup.data/bin/Linux/x86/mv setup.gtk setup.gtk2cd /tmp/gesudo ./setup.sh

备注: 我只试验了第一种方法 (仅在32位机器上), 但是第二种方法应该也可以.
最后,还是要拜托Google不要把自己的应用程序做的这么难安装吧。

原文地址:Webupd8

原创文章如转载请注明:转自Ubuntu之家 {www.ubuntuhome.com}

本文地址:在ubuntu中安装Google Earth 6


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部