
經過幾個小時的搜索,我終於能夠在 centos 7 上安裝並執行 googlechrome。
1)哪裡下載?
#1) download chrome rpm from https://www.google.com/chrome/browser/desktop/
在撰寫本文時,版本為 45.0.2454.101(64 位元)
2)安裝
Go to your downloads directory and install the rpm(you need to be root user)
#cd ~/Downloads
#ls
google-chrome-stable_current_x86_64.rpm
...
#yum install google-chrome-stable_current_x86_64.rpm
3) Install nss
# yum install nss
在不安裝“nss”的情況下執行 chrome 將在終端機中出現以下錯誤。
[7:7:1011/133301:ERROR:nss_util.cc(209)] 在沒有持久資料庫的情況下初始化 NSS 時發生錯誤:NSS 錯誤代碼:-8023
[ Steps below do not require the user to be root ]
4) Remove users google-chrome profile (new profile will be automagically created in the next run)
$ rm -rf ~/.config/google-chrome/
5) To-start chrome
$ google-chrome &