ubuntu安裝google earth 6

这是官方Google Earth稳定版本的软件源
软件源描述: Official Google repo for Google Earth stable
添加这个源以安装和更新Google Earth,请打开终端并按以下步骤进行:
1.设置公钥 :
wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
添加软件源:
sudo sh -c ‘echo “deb http://dl.google.com/linux/earth/deb/ stable main” >> /etc/apt/sources.list.d/google.list’
更新apt-get缓存:
sudo apt-get update
之后即可在软件中心搜索并安装Google earth了(当然 使用apt-get install google-earth-stable 命令 is OK)

现在google earth已经升级到6.0了,原先用于解决5.0时的显示乱码的方法已经无效,
正确的解决办法如下

基本上 Google earth 6 在 EzGo8 、Ubuntu 下會有下列問題:
1. 剛安裝好 Google earth 6 可能會無法執行, 或執行根本沒反應, 必須安裝相對應的程式庫。
2. Google earth 6 無法正常顯示中文, 會變成方形的虛線格子, 因為 Google earth 6 內建的程式庫有問題, 必須更換。
3. 即使解決了中文顯示的問題, 卻可能還有執行完 Google earth 6 沒多久就直接自行關閉, 或是無法輸入中文的問題。

解決方法如下:進入終端機視窗, 依序執行下列指令~
1. 先更新軟體來源
sudo apt-get update
2. 安裝下列軟體包
sudo apt-get install lsb-core libfreeimage3 libqt4-webkit
3. 移除 Google earth 6 自行安裝有問題的4個 libQt*.* 檔案!
sudo rm /opt/google/earth/free/libQt*.*
4. 更改 Google earth 6 的程式執行腳本 :
sudo gedit /opt/google/earth/free/googleearth
尋找脚本的最後一行應該是這樣的:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
請在它的前一行插入底下這一句:
export LD_PRELOAD=/usr/lib/libfreeimage.so.3

google earth画面就频闪个不停,google官方建议关闭所有桌面特效,其实只需要运行compiz config manager(没有的话就去装一个呗),关闭Animations特效即可。

针对Panoramio图片不显示(只有一个小问号)的问题,也是Qt类库的问题。到/usr/lib/qt4/plugins/imageformats里复制libqgif.so 和libqjpeg.so到Google Earth安装目录中文件夹plugins/imageformats里替换原来的那两个文件就好了。——注意:该方法在我的机器上(Ubuntu 11.04)没有作用,反而导致查看panoramio照片时谷歌地球崩溃。

如果你像我一样悲剧,估计最好的办法就是重装GoogleEarth,然后在安装目录下的lang文件夹下 /opt/google/earth/free/lang/ 把中文语言文件 zh-Hans.qm 删掉或者重命名以强制使用英文Google Earth了 。如果想显示中文地标,则需要在tool – option中 将3D font 改为一个支持中文的字体(比如 WenQuanYi Bitmap Song) 

你可能感兴趣的:(manager,ubuntu,Google,Path,library,Deb)