添加谷歌源(大陸需翻墻)
leafpad /etc/apt/sources.list
#谷歌軟件源
deb http://dl.google.com/linux/chrome/deb/ stable main
添加后依次執(zhí)行下面的命令
?wget https://dl-ssl.google.com/linux/linux_signing_key.pub
apt-key add linux_signing_key.pub
apt-get update
apt-get install google-chrome-stable
如果你要安裝Chrome-Beta或者是Chrome-Unstable,則將上面最后一個(gè)安裝命令換成
apt-get install google-chrome-beta
apt-get install google-chrome-unstable
解決不能使用根用戶(root用戶)運(yùn)行chrome的問(wèn)題
安裝十六進(jìn)制編輯器hexedit
apt-get install hexedit
使用hexedit修改chrome
hexedit /opt/google/chrome/chrome
按Tab鍵切換到ACSII碼模式
按ctrl+s打開搜索功能
輸入geteuid搜索
搜索到geteuid后修改為getppid
修改完后crtl+x保存退出 問(wèn)題解決