如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功? [論壇 - Ubuntu 與工具程式及軟體推薦]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?
會員三級
註冊日期:
2008/5/28 2:32
所屬群組:
已註冊使用者
等級: 13
HP : 0 / 321
MP : 73 / 4686
EXP: 85
離線
看了不少解決文章,按這些網友刪了一些必要 libQt*.* ,結果是 Google Earth 6.2 在 Ubuntu 12.04 仍然不能啟動,真不知道如何解決?
呼叫…有人安裝成功嗎?有點複雜…

參考文章:
1.在 openSUSE 上跑 Google Earth 6
2.Ubuntu 10.10 解決 Google Earth 6 中文問題 for 32位元
3.Fonts looks bad, almost unreadable, running Google Earth 6 on Ubuntu 11.04 Beta 2
4.[How To] Make Google Earth 6.2 Look ‘Native’ in Ubuntu
5.How to change font in Google Earth 6

範例文章:
<Teemu LeistiLevel 1 >;
I've just installed Xubuntu 11.10 on my 64-bit machine, and downloaded and installed the 64-bit .deb package, and had the same awful font problem.

I followed the instructions on this page, which solved the problem:
http://omgubuntu.co.uk/2012/01/how-to-make-google-earth-look-native-in-ubuntu
To paraphrase those instructions, do the following:

In a terminal emulator, give the following commands:
cd /opt/google/earth/
sudo rm libcurl.so.4 libGLU.so.1 libnss_mdns4_minimal.so.2 libQtCore.so.4 libQtGui.so.4 libQtNetwork.so.4 libQtWebKit.so.4
Use any editor to edit file /opt/google/earth/googleearth -- but you have to do it as a root, so for instance, the following command from a terminal emulator would work:
sudo nano /opt/google/earth/googleearth
Now add the line
export LD_PRELOAD=libfreeimage.so.3
as the second last line of file googleearth, and save the file.
Download the file libfreeimage.so.3 from link http://ubuntuone.com/2f5PJTu25GqZG3Plmy5VjI, and save it in directory ~/Downloads /opt/google/earth/
If your machine is 64-bit, download the file libphonon.so.4 from link http://ubuntuone.com/3MfWIy4xSNB7NOJLbBXNsA, and save it in directory /opt/google/earth/
In a terminal emulator, give the following commands (the ones concerning libphonon.so.4 only if your machine is 64-bit):
cd /opt/google/earth/
sudo cp ~/Downloads/libfreeimage.so.3 .
sudo cp ~/Downloads/libphonon.so.4 .
sudo chmod a+x libfreeimage.so.3
sudo chmod a+x libphonon.so.4
sudo apt-get install libcurl4-openssl-dev libqtwebkit4

That worked for me.

Google really could do a better job of testing this Linux installation package before releasing it. I've grown used to quite high-quality software from Google, and this is unlike them.

2012/6/29 3:47
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 68
HP : 2543 / 2543
MP : 3988 / 17170
EXP: 81
離線
0. 先安裝相依套件
sudo apt-get install lsb-core

For 32 Bit
1. wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb
2. sudo dpkg -i google-earth-stable_current_i386.deb

For 64 Bit
1. wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb
2. sudo dpkg -i http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb

備註
如果安裝過程 出現 相依條件 不滿足的情況 增加
3. sudo apt-get install -f # 強制安裝 不理相依條件問題
4. sudo dpkg --configure -a # 強制設定
5. sudo apt-get check # 檢查 安裝設定 結果

資料來源
[How to] Install Google Earth 6.2 in Ubuntu 12.04

2012/6/29 8:39
最後修改: poloshiao 於 2012/6/29 10:53:14
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?
會員三級
註冊日期:
2008/5/28 2:32
所屬群組:
已註冊使用者
等級: 13
HP : 0 / 321
MP : 73 / 4686
EXP: 85
離線
問題是安裝好後,Google Earth 6.2 中文字型完全沒有顯示出來,上述附加的文章一直在探討這個問題,只是試過之後我一直沒有成功!

2012/6/29 10:49
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 68
HP : 2543 / 2543
MP : 3988 / 17170
EXP: 81
離線
補充
0. 先安裝相依套件
sudo apt-get install lsb-core

2012/6/29 10:54
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?
會員三級
註冊日期:
2008/5/28 2:32
所屬群組:
已註冊使用者
等級: 13
HP : 0 / 321
MP : 73 / 4686
EXP: 85
離線
相依套件都已正常安裝,Google Earth 6.2 無法顯示字型與相依套件沒有關係。

2012/6/29 11:24
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 68
HP : 2543 / 2543
MP : 3988 / 17170
EXP: 81
離線
Bug #999115
Ubuntu 12.04LTS Google Earth install anomaly and font bug
確認爲 Bug 還沒看到 解決方案

2012/6/29 11:37
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?
會員二級
註冊日期:
2009/7/22 10:54
來自 桃園
所屬群組:
已註冊使用者
等級: 7
HP : 0 / 169
MP : 26 / 1900
EXP: 77
離線
我12.04安裝沒問題
中文顯示問題及圖片顯示
我附上我從網路上弄下來的教學

Ubuntu 10.10 完整解決 Google Earth 6 中文問題
Google Earth 6 (以下簡稱 GE6) 在 Windows 運行都很 NICE, 前一陣子為了
另一件事情, 要在 Ubuntu 下來使用, 可是事與願違, 遇到了不少問題, 索性參考
了網路上一些 5.2 的解決方法, 做成下列比較容易的方式, 應該可以每試成功!
以下僅針對32位元的 10.10 有用, 64位元可能無法解決!
主要參考 5.2 解決方法網址:
http://people.debian.org.tw/~chihchun/2010/09/12/google-earth-for-linux/
解決的步驟如下:
1. 先更新軟體來源
sudo apt-get update
2. 安裝下列軟體包, 其中 googleearth-package 是為了要製作 GE6 的安裝包,
當然也可以到 GE6 的下載網頁下載, 就不用安裝這個軟體包!用製作安裝包的
方式, 可以獲得最新的 beta 版!
sudo apt-get install lsb-core libfreeimage3 libqt4-webkit googleearth-package
3. 如果從網頁下載 GE6 安裝包的, 可以省略這步驟!製作 GE6 安裝包如下:
sudo make-googleearth-package –force
4. 移除 GE6 自行安裝有問題的4個 libQt*.* 檔案!
a. 如果是網頁下載安裝包的路徑如下:
sudo rm /opt/google/earth/free/libQt*.*
b. 如果是自製安裝包的路徑如下:
sudo rm /usr/lib/googleearth/libQt*.*
5. 更改 GE6 的程式執行方式, 通常是最後一行:
a. 如果是網頁下載安裝包的路徑如下:
sudogedit /opt/google/earth/free/googleearth
把這行:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
在上面該行之前加入這行:
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
看起來像下列兩行:
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
b. 如果是自製安裝包的路徑如下:
sudo gedit /usr/bin/googleearth
把這行:
/usr/lib/googleearth/googleearth-bin "$@"
改成這樣:
LD_PRELOAD=/usr/lib/libfreeimage.so.3 /usr/lib/googleearth/googleearth-
bin "$@"
c.安裝上面會調用的程式庫
sudo apt-get install libfreeimage3
6. 這樣就大功告成了!

顯示圖片的問題
在之前一篇文章中讨论过Ubuntu下配置Google Earth 6的问题,按照那种方
法配置,至少能使中文界面正常显示,而且程序启动时不崩溃。但是还有一个问题没解决:地
图里的照片不能显示。当时实在是找不到其它资料了,只好就此作罢!
今天在更新源列表时发现GE已经更新到了6.0.2版,于是乐呵呵地下载、安装,以为会有
什么奇迹发生。结果,乱码、崩溃,一个问题也没解决,当时有一种冲动想把GE的deb包开
发者揪出来踹几脚!!! (尽管我是个慢性子,但慢性子也有压不住火的时候)
于是又在网上找资料,中文的资料是别指望了,好在我的英文阅读水平还可以(虽然听说
能力巨烂!),终于在某个论坛上找到了一个老外的解决办法:
照片之所以不能正常显示是因为 /opt/google/earth/free/plugins/imageformats 文件
夹中的两个文件:libqgif.so 与 libqjpeg.so 有点问题,请点击下面链接下载这两个文件:
点击此处下载
解压后,替换掉 /opt/google/earth/free/plugins/imageformats 文件夹中的
libqgif.so 与 libqjpeg.so。
然后,照片就可以正常显示了:

附件:


zip imageformats.zip 大小: 129.43 KB; 下載次數: 78

2012/6/29 15:03
筆記型電腦
[品牌]華碩
[型號]W7SG
[CPU]Intel Duo T8300
[顯示卡]GeForce 9300MG
[記憶體]3G
[硬碟]SSD60G+250G
[OS] Ubuntu 12.10
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?
會員五級
註冊日期:
2010/9/26 16:05
所屬群組:
已註冊使用者
等級: 25
HP : 123 / 619
MP : 274 / 4819
EXP: 79
離線
polo大提供的連結是在英文環境下的,都能正常運作
不過中文環境的問題好像一直都沒解決
ubuntu 中文環境,32bit的解法較簡單,依上述幾位提供的方法都能成功
但ubuntu中文環境,64bit就比較麻煩,上述方法都會失效,開啟後會直接崩潰

如果樓主是用64位元版本,之前有網友直接打包好放在網路上的GE6, 可以考慮直接下載來安裝
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=42826

2012/6/29 15:12
應用擴展 工具箱
回覆: 如何讓 Google Earth 6.2 在 Ubuntu 12.04 下安裝成功?

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 68
HP : 2543 / 2543
MP : 3988 / 17170
EXP: 81
離線
這裏有一篇
Just installed Google Earth in 12.04.
討論許多 在 Ubuntu 12.04 安裝 Google Earth 的方法
但是看其日期 應該是 alpha 版
其中 google-fix 是比較多人 認爲有效的方法
但是 也是也人 認爲 無效

而且這個問題 不是 無法顯示 中文字型
許多字型都無法顯示
所以建議只顯示 英文就好

2012/6/29 16:11
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.