Fedora 安裝chrome瀏覽器的方法<>
阿新 • • 發佈:2018-10-31
Fedora 安裝chrome瀏覽器的方法
www.111cn.net 編輯:netuser 來源:轉載 下面本文章從安裝chrome瀏覽器的實現方法到安裝過程中碰到問題的解決方法,希望此例子對各位在Fedora安裝chrome會有幫助哦。在google網站下載chrome速度很慢,但是添加了chrome的源之後,就可以在終端通過yum install 來安裝chrome了,會快很多。
首先在 /etc/yum.repos.d 裡建立一個名為 google.repo 檔案,然後複製以下程式碼到其中,然後儲存:
32位系統:
程式碼如下 | 複製程式碼 |
[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位系統:
程式碼如下 | 複製程式碼 |
[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 |
然後使用(需管理員許可權):
程式碼如下 | 複製程式碼 |
yum install google-chrome-stable --nogpg 來安裝最新穩定版 yum install google-chrome-unstable --nogpg 最新版chrome |
這樣就可以安裝了!
文章後面補充在安裝過程碰到的問題解決方法
可能會出現的問題(可能性很大):
出現如下錯誤:
warning: google-chrome-stable_current_i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
lsb >= 4.0 is needed by google-chrome-stable-18.0.1025.162-131933.i386
libXss.so.1 is needed by google-chrome-stable-18.0.1025.162-131933.i386
wget is needed by google-chrome-stable-18.0.1025.162-131933.i386
解決方法(測試可行):
程式碼如下 | 複製程式碼 |
yum install RedHat-lsb |
再用命令:rpm -ivh google-chrome-stable_current_i386.rpm