通過yum 安裝 chrome 和flash 插件

轉自:http://www.linux-field.com/archives/528

Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM repository.

1) Enable google yum repository

Here creating google.repo file using vi editor

command : vim /etc/yum.repos.d/google.repo

add following content.

for 32-bit

1
2
3
4
5
6
[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

for 64-bit

1
2
3
4
5
6
[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

Note: Both 32-bit and 64-bit repos can be placed in the same file.

2) Install Google Chrome with YUM (as root user)

Install Google Chrome Stable Version
command :

1
yum install google-chrome-stable

Install Google Chrome Beta Version
command :

1
yum install google-chrome-beta

Install Google Chrome Unstable Version
command :

1
yum install google-chrome-unstable

Enjoy browsing google chrome :)

安裝flash 插件【一下操作基於32位的Fedora】:
添加文件 /etc/yum.repos.d/adobe-linux-i386.repo,內容如下

1
2
3
4
5
6
[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

安裝flash:

1
yum install flash-plugin

將插件應用於chrome:

1
ln-s /usr/lib/mozilla/plugins/libflashplayer.so/opt/google/chrome/plugins/libflashplayer.so
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章