CentOS 安装Chrome

1:运行A或B查看Linux版本

  A、[root@linuxzgf ~]#file /sbin/init

  /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux   2.6.9, stripped

  32-bit即是32位的 linux, 如是64位的, 显示的是 64-bit 

  B、 [root@linuxzgf ~]#file /bin/cat

  /bin/cat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux   2.6.9, stripped

  32-bit即是32位的 linux, 如是64位的, 显示的是 64-bit

2:修改/etc/yum.repos.d/CentOS-Base.repo

vim /etc/yum.repos.d/CentOS-Base.repo
根据你的系统增加一个节点
32-bit
[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-bit
[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

安装稳定版本:sudo yum install google-chrome-stable
安装测试版本:sudo yum install google-chrome-beta
安装不稳定版本:sudo yum install google-chrome-beta
OK!
测试chrome浏览器,点击系统左上角的“应用程序”选项,点击“internet”选项,选择chrome浏览器

posted @ 2012-12-25 14:44  Alvin  阅读(574)  评论(5编辑  收藏  举报