Resolution:Full Screen|1800|1200|950|780|HideMiddle|HideRight

青菜在這啦﹗

Fedora 10 安裝 Google Earth 5.0版

Posted in Linux應用程式, 電腦資訊

  • 2
  • views

1.切換成root的身分來執行安裝:

[don@localhost ~]$ su
密碼:


2.下載安裝程式:

[root@localhost ~]# wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
[root@localhost ~]# sh GoogleEarthLinux.bin


3.以預設路徑開始安裝,畫面如下:

安裝畫面

4.完裝完成如下圖:

安裝結束

5.安裝完成執行時,出現了以下的錯誤訊息:

[root@localhost ~]# googleearth
./googleearth-bin: error while loading shared libraries: ./libminizip.so:
cannot restore segment prot after reloc: Permission denied

6.參考這篇文章:https://bugzilla.redhat.com/show_bug.cgi?id=473806

P.S.文章中有這段爭議 Did you report this bug to google? They have built thier libraries
incorrectly. They need to be built using -PIC.

a.依據文章建議修改SELinux設定,指令如下:

selinux-policy-3.5.13-44.fc10

[root@localhost ~]# matchpathcon /opt/google-earth/libnavigate.so /opt/google-earth/libnavigate.so system_u:object_r:textrel_shlib_t:s0


b.或者依據setroubleshooter設定,指令如下:

[root@localhost ~]# cd /opt/google-earth/
[root@localhost google-earth]# chcon -t textrel_shlib_t libminizip.so librender.so libauth.so libevll.so libnavigate.so liblayer.so libgps.so libmeasure.so libbasicingest.so libgooglesearch.so libinput_plugin.so libflightsim.so


7.更改google-earth的GUI字型設定,指令如下:

P.S.原本為標楷體,字型小、顯示不完整。

[root@localhost ~]# cd /opt/google-earth/
[root@localhost google-earth]# mv libQtCore.so.4 libQtCore.so.4.bak
[root@localhost google-earth]# mv libQtGui.so.4 libQtGui.so.4.bak
[root@localhost google-earth]# mv libQtNetwork.so.4 libQtNetwork.so.4.bak
[root@localhost google-earth]# mv libQtWebKit.so.4 libQtWebKit.so.4.bak

[root@localhost google-earth]# ln -s /usr/lib/libQtCore.so.4.4.3 libQtCore.so.4
[root@localhost google-earth]# ln -s /usr/lib/libQtGui.so.4.4.3 libQtGui.so.4
[root@localhost google-earth]# ln -s /usr/lib/libQtNetwork.so.4.4.3 libQtNetwork.so.4
[root@localhost google-earth]# ln -s /usr/lib/libQtWebKit.so.4.4.3 libQtWebKit.so.4


8.修改完成後,直接在command line下google earth指令便可正常執行,如下圖:

設定SELinux的content

9.最後再將安裝檔刪除,即大功告成。

[root@localhost google-earth]# cd
[root@localhost ~]# rm -f GoogleEarthLinux.bin

Posted in Linux應用程式, 電腦資訊 | 2,733 views|

沒有評論主題 »

仍無迴響。

本篇文章的迴響 RSS 訂閱。 引用網址

發表迴響

Enter this code

Comments details:

;) :? :lol: :idea: :arrow: :P :D :cry: :?: :) :twisted: :x :evil: 8O :| :( :oops: :!: :o :roll: 8) :mrgreen: more »

訪客記數

Locations of visitors to this page

文章排行

隨機文章

廣告

贊助

中文翻译/Chinese TraditionalTranslate to EnglishPreložiť do slovenčiny/SlovakTulkot uz latviešu/Latvianहिन्दी अनुवाद करने के लिए/HindiÖversätta till Svensk/SwedishOversetter til Norsk/NorwegianПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese SimplifiedÜbersetzen Sie zum Deutsch/GermanTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/KoreanПереклад на українську/Ukrainian

近期文章

近期迴響

Tags

近期訪客