歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux教程

在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
 

接下來,根據安裝幫助上的指示,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

Copyright © Linux教程網 All Rights Reserved