1. 程式人生 > 實用技巧 >Debian 上安裝chrome

Debian 上安裝chrome

2、Debian上安裝Chrome瀏覽器先根據自己的系統位數下載安裝包。


For 32 bit:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

For 64 bit:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

3、然後執行安裝命令:


sudo dpkg -i ./google-chrome-stable_current_i386.deb

4、如果有遇到錯誤提示,直接執行以下命令來安裝chrome瀏覽器需要的類庫。


sudo apt-get -f install

5、如果你在安裝Chrome類庫時也有錯誤,這裡是部落在Debian 6上的安裝源,用這些源再一次執行安裝命令就可以解決問題。


#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 DVD Binary-1 201305$

deb http://security.debian.org/ wheezy/updates main contrib 
deb-src http://security.debian.org/ wheezy/updates main contrib 

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ wheezy-updates main contrib 
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib 
deb http://dl.google.com/linux/chrome/deb/ stable main

deb http://ftp.debian.org/debian/ wheezy main contrib

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

6、修改Debian的源的方法是,編輯vi /etc/apt/sources.list,將內容替換,然後更新:apt-get update和apt-get upgrade。