你好,游客 登录 注册 搜索
背景:
阅读新闻

在Fedora 14下安装Google Earth 6.0.1.2032 Beta

[日期:2011-02-09] 来源:CSDn  作者:yuanzhuohang [字体:大 中 小]

首先,从google官方下载简体中文版的google earth

打开Fedora 14终端,切换到root用户

[hang@localhost 下载]$ su root

好,我们先来看看google earth的安装帮助

相关阅读:在Ubuntu 10.10中安装Google Earth 6[多图]

[root@localhost 下载]# chmod 777 GoogleEarthLinux.bin
[root@localhost 下载]# GoogleEarthLinux.bin --help
Makeself version 2.1.5
 1) Getting help or info about ./GoogleEarthLinux.bin :
  ./GoogleEarthLinux.bin --help   Print this message
  ./GoogleEarthLinux.bin --info   Print embedded info : title, default target directory, embedded script ...
  ./GoogleEarthLinux.bin --lsm    Print embedded lsm entry (or no LSM)
  ./GoogleEarthLinux.bin --list   Print the list of files in the archive
  ./GoogleEarthLinux.bin --check  Checks integrity of the archive
 
 2) Running ./GoogleEarthLinux.bin :
  ./GoogleEarthLinux.bin [options] [--] [additional arguments to embedded script]
  with following options (in that order)
  --confirm             Ask before running embedded script
  --noexec              Do not run embedded script
  --keep                Do not erase target directory after running
   the embedded script
  --nox11               Do not spawn an xterm
  --nochown             Do not give the extracted files to the current user
  --target NewDirectory Extract in NewDirectory
  --tar arg1 [arg2 ...] Access the contents of the archive through the tar command
  --                    Following arguments will be passed to the embedded script
 

接下来,根据安装帮助上的指示,www.linuxidc.com 我们可以运行GoogleEarthLinux.bin把安装程序解压到指定的临时文件夹里,

在这里我把它指定解压到/tmp/google-earth目录下。

[root@localhost 下载]# mkdir /tmp/google-earth
[root@localhost 下载]# GoogleEarthLinux.bin --target /tmp/google-earth
Creating directory /tmp/google-earth
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 6.0.1.2032.............................................................................................
This version of Google Earth requires LSB 4.0 support which you
do not seem to have.
./setup.sh: line 285: [: missing `]'
/bin/su: 用户yum install RedHat-lsb 不存在
setup.data/setup.xml:1: parser error : Document is empty
^
setup.data/setup.xml:1: parser error : Start tag expected, '<' not found
^
./setup.sh: line 158:  3516 段错误               (core dumped) "$setup" "$@"
 

解压后它自动运行安装程序并出现了错误提示,说我没有安装LSB。

LSB其实我已经安装过啦,并且是最新版本,所以暂时不用管它

[root@localhost 下载]# yum install redhat-lsb
已加载插件:langpacks, presto
Adding zh_CN to language list
google-chrome                          |  951 B     00:00    
rpmfusion-free-updates                 | 3.3 kB     00:00    
rpmfusion-nonfree-updates              | 3.3 kB     00:00    
updates/metalink                       | 5.2 kB     00:00    
updates                                | 4.7 kB     00:00    
updates/primary_db                     | 3.3 MB     00:15    
设置安装进程
包 redhat-lsb-4.0-5.fc14.i686 已安装并且是最新版本
无须任何处理

接下来我们切换到/tmp/google-earth/setup.data/bin/Linux/x86目录下

用setup.gtk把setup.gtk2覆盖掉

[root@localhost 下载]# cd /tmp/google-earth/setup.data/bin/Linux/x86
[root@localhost x86]# mv setup.gtk setup.gtk2
mv:是否覆盖"setup.gtk2"? y

linux
本文评论   查看全部评论 (2)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 2 楼
* 小花猫会员 发表于 2014/8/6 22:52:05
[root@localhost 下载]# GoogleEarthLinux.bin --target /tmp/google-earth这句是错的,应该为:(注意前面要加“./”)

./GoogleEarthLinux.bin --target /tmp/google-earth
第 1 楼
* indam 发表于 2011/2/10 14:37:32
GoogleEarthLinux.bin --help
这一步就不成功,提示:

[root@i 下载]# GoogleEarthLinux.bin --help
用法:
pk-command-not-found [选项...]

PackageKit 命令未找到

帮助选项:
-h, --help 显示帮助选项
但是我的PackageKit是最新的啊,
直接运行sh GoogleEarthLinux.bin 提示

Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 6.0.1.2032.............................................................................................
This version of Google Earth requires LSB 4.0 support which you
do not seem to have.
./setup.sh: line 285: [: missing `]'
/bin/su: 用户yum install redhat-lsb 不存在
./setup.sh: setup.data/bin/Linux/amd64/setup.gtk2: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录

怎么办阿?