建站优化

当前位置:

如何在CentOS7中安装Google Chrome浏览器,centos8安装chrome

浏览量:119次

如何在CentOS7中安装Google Chrome浏览器,centos8安装chrome

1. download:Chrome linux安装包

https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

2. 配置yum, 原始的centOS官网地址访问不了,要改成阿里云镜像

vi /etc/yum.repos.d/CentOS-Base.repo

把所有的mirrorlist注释掉

把所有的baseurl打开

把mirrors.centos.org替换成mirrors.aliyun.com

#mirrorlist=http://#mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra

baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/

3. 使用yum来安装

yum install redhat-lsb

yum install libXScrnSaver*

yum install epel-release

yum install liberation-fonts

yum localinstall google-chrome-stable_current_x86_64.rpm

4. 把安装好的Chrome设置到桌面快捷方式

cp -rf /usr/share/applications/google-chrome.desktop ./桌面/

cd 桌面/

chmod 750 google-chrome.desktop

[声明]本网转载网络媒体稿件是为了传播更多的信息,此类稿件不代表本网观点,本网不承担此类稿件侵权行为的连带责任。故此,如果您发现本网站的内容侵犯了您的版权,请您的相关内容发至此邮箱【779898168@qq.com】,我们在确认后,会立即删除,保证您的版权。