在Fedora 14下安装Google Earth 6.0.1.2032 Beta
首先,从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
在这里我把它指定解压到/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