centos通过添加chrome源来安装chrome
在google網(wǎng)站下載chrome速度很慢,但是添加了chrome的源之后,就可以在終端通過(guò)yum install 來(lái)安裝chrome了,會(huì)快很多。
首先在/etc/yum.repos.d里建立一個(gè)名為google.repo文件,然后復(fù)制以下代碼到其中,然后保存:
32位系統(tǒng):
[google]
name=Google – i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
64位系統(tǒng):
[google64]
name=Google – x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
然后使用:
這里會(huì)出現(xiàn)錯(cuò)誤:
提示獲取GPG密鑰失敗,這個(gè)可以在yum時(shí)候添加一個(gè)參數(shù):
這樣就可以安裝了!
?
01.================================================================================ 02.Package????????????????? 架構(gòu)?????? 版本??????????????????? 源??????????? 大小 03.================================================================================ 04.正在安裝: 05.google-chrome-stable???? x86_64???? 29.0.1547.65-220622???? google64????? 53 M 06.事務(wù)概要 07.================================================================================ 08.安裝? 1 軟件包 09.總計(jì):53 M 10.安裝大小:160 M 11.Is this ok [y/d/N]: y 12.Downloading packages: 13.Running transaction check 14.Running transactiontest 15.Transaction testsucceeded 16.Running transaction 17.正在安裝??? : google-chrome-stable-29.0.1547.65-220622.x86_64???????????? 1/1 18.Redirecting to /bin/systemctlstartatd.service 19.驗(yàn)證中????? : google-chrome-stable-29.0.1547.65-220622.x86_64???????????? 1/1 20.已安裝: 21.google-chrome-stable.x86_64 0:29.0.1547.65-220622?????????????????????????? 22.完畢!
總結(jié)
以上是生活随笔為你收集整理的centos通过添加chrome源来安装chrome的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 通过修改explorer.exe内存隐藏
- 下一篇: CentOS统的7个运行级别的含义