CentOS7 安裝Chrome


使用命令下載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 

image

可以看到Chrome已經成功安裝:

image

https://blog.csdn.net/Li_Vampire_123/article/details/106072915


免責聲明!

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



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