1. 程式人生 > >ubuntu上安裝chrome,及其NSS問題

ubuntu上安裝chrome,及其NSS問題

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

安裝完成後,執行

/usr/bin/google-chrome-stable

可能出現錯誤,

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版本過低引起的,只需要執行

sudo apt install --reinstall libnss3