- 下載
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
-
安裝依賴包
yum install -y lsb yum install -y libXScrnSaver yum install -y liberation-fonts yum install -y libdbusmenu-gtk3 yum install epel-release
-
安裝chrome
rpm ivh google-chrome-stable_current_x86_64.rpm
-
完成
點擊左上角應用程序——>互聯網——>Google Chrome 將Chrome圖標拖拽到桌面
點擊Chrome運行 發現我們用google的圖標並不能打開瀏覽器 我們在終端執行以下命令:
rpm -ql google-chrome-stable /usr/bin/google-chrome-stable --no-sandbox
發現用命令是可以直接打開瀏覽器的,是root權限的問題。
鼠標右鍵點擊谷歌瀏覽器,選擇屬性,在命令的後面加上 --no-sandbox,重新打開谷歌瀏覽器就可以了。
感謝閱讀 thx