使用命令下載rpm安裝包:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
下載包名為google-chrome-stable_current_x86_64.rpm 使用root權限進行安裝
rpm -ivh google-chrome-stable_current_x86_64.rpm
安裝中報錯:
/usr/bin/lsb_release 被 google-chrome-stable-74.0.3729.169-1.x86_64 需要 libXss.so.1()(64bit) 被 google-chrome-stable-74.0.3729.169-1.x86_64 需要 libappindicator3.so.1()(64bit) 被 google-chrome-stable-74.0.3729.169-1.x86_64 需要 liberation-fonts 被 google-chrome-stable-74.0.3729.169-1.x86_64 需要
解決方法:https://blog.csdn.net/Li_Vampire_123/article/details/106072915
如:對於 libappindicator3.so.1()(64bit) 被 google-chrome-stable-81.0.4044.138-1.x86_64 需要
1.執行 yum provides */libappindicator3.so.1 查看依賴包的來源
因為安裝的64位的,所以只要看_64的這個,
2.再執行 yum -y install libappindicator-gtk3-12.10.0-13.el7.x86_64 ok!!!
其他幾個報錯方式一樣
等所有報錯的依賴包安裝完成以后,然后使用命令安裝:
rpm -ivh google-chrome-stable_current_x86_64.rpm
可以看到Chrome已經成功安裝:
https://blog.csdn.net/Li_Vampire_123/article/details/106072915