歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下正確安裝Google Chrome浏覽器

Linux下正確安裝Google Chrome浏覽器

日期:2017/2/28 16:15:12   编辑:Linux教程

我主機的系統是openSUSE 11.4 x86-64,采用rpm的方式安裝後,確無法啟動。

./chrome: error while loading shared libraries: libnss3.so.1d: cannot open shared object file: No such file or directory

我看到安裝目錄裡,有這個庫文件,於是我在庫變量裡增加這個路徑:在你的主目錄裡的.bashrc文件裡添加如下語句:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/google/chrome

再次運行還會出現下面的問題:./chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

在根用戶下安裝軟件:zypper in libpng12-0

chrome 啟動成功!

Copyright © Linux教程網 All Rights Reserved