Ubuntu下安裝Google瀏覽器


和其他軟件一樣,比較常用的安裝方法。

1.下載deb包
對於谷歌Chrome32位版本,使用如下鏈接:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

對於64位版本可以使用如下鏈接下載:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

或者直接從百度自行搜索,但是要和你的Ubuntu版本對應(32位還是64位)


2.安裝deb包
sudo dpkg -i google-chrome-stable_current_amd64.deb

3.要是依賴出現問題(修復依賴關系)
sudo apt-get -f install

 

但是可能會出現問題,我安裝的時候遇到的問題:

FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. 
Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.

原因是說 NSS (Network Security Services )
https://en.wikipedia.org/wiki/Network_Security_Services
的版本太低,錯誤原因可能是由於chrome升級造成的。

解決方法

方法一:chrome 版本降低(沒有嘗試,看別的博客有提到)

方法二:NSS升級

運行命令

sudo apt install --reinstall libnss3

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM