Ubuntu 12.04 怎樣安裝 Google ChromePosted by fiture / 2011年10月28日 / 「Ubuntu」「分享」 今天我在安裝Ubuntu后,因?yàn)榱?xí)慣了Chrome,想安裝一個(gè)Google Chrome瀏覽器在Ubuntu中,然后遇到問題了。先說(shuō)說(shuō)正確的安裝方法。 1、在Google chrome上面下載Chrome瀏覽器。選擇正確的版本,我電腦是64位的所以選擇的是【64 bit .deb (適用于 Debian/Ubuntu)】。 2、Ctrl+Alt+T 打開終端,進(jìn)入你剛剛下載好的Chrome包存放的文件夾(我是直接下載到默認(rèn)位置的): $ cd ~/Downloads 3、使用 $ sudo dpkg -i google-chrome-stable_current_amd64.deb 不出意外會(huì)出現(xiàn)類似以下的錯(cuò)誤提示,原因是因?yàn)橐蕾嚢膯栴}: Selecting previously unselected package google-chrome-stable. (Reading database ... 170670 files and directories currently installed.) Unpacking google-chrome-stable (from google-chrome-stable_current_amd64.deb) ... dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libxss1; however: Package libxss1 is not installed. dpkg: error processing google-chrome-stable (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Errors were encountered while processing: google-chrome-stable 4、找到問題是因?yàn)闆]有安裝這個(gè) $ sudo apt-get install -f 5、完成上述操作,提示安裝的時(shí)候輸入 Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libxss1 The following NEW packages will be installed: libxss1 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/8,646 B of archives. After this operation, 77.8 kB of additional disk space will be used. Do you want to continue [Y/n]? y Selecting previously unselected package libxss1. (Reading database ... 170774 files and directories currently installed.) Unpacking libxss1 (from .../libxss1_1%3a1.2.1-2_amd64.deb) ... Setting up libxss1 (1:1.2.1-2) ... Setting up google-chrome-stable (27.0.1453.110-r202711) ... update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/x-www-browser (x-www-browser) in auto mode. update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode. Processing triggers for libc-bin ... ldconfig deferred processing now taking place 需要注意的是,安裝軟件之前確保你已經(jīng)做過更新和升級(jí)如果沒有更新到最新請(qǐng)參考以下更新: $ sudo apt-get update # 然后: $ sudo apt-get upgrade PS:本文純屬水文,學(xué)習(xí)Ubuntu的個(gè)人筆記看待……
更新: 看到很多朋友通過搜索來(lái)到這里,Ubuntu 14.04已經(jīng)出來(lái)一段時(shí)間了,關(guān)于Chrome的安裝也更加的簡(jiǎn)單,不需要安裝什么其他的依賴。直接下載對(duì)應(yīng)的deb包。通過 $ sudo dpkg -i google-chrome-stable_current_amd64.deb 32位系統(tǒng): $ sudo dpkg -i google-chrome-stable_current_i386.deb |
|