1. Ubuntu (或是其他基于Debian的Linux发行版):
在开始之前,确定你添加了Multiverse库。 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位机器上), 但是第二种方法应该也可以. 原文地址:Webupd8 原创文章如转载请注明:转自Ubuntu之家 {www.ubuntuhome.com} |