Ubuntu下安裝Chrome的方法分享
在學(xué)習(xí)《Node.js實(shí)踐》,沒(méi)想到ubuntu12.04下的firefox竟然不支持-webkit-transition,就想安裝一個(gè)chrome,發(fā)現(xiàn)還挺麻煩,搜索了一下,記錄如下:
添加PPA
從Google Linux Repository(http://www.google.com/linuxrepositories/)下載安裝Key,或把下面的代碼復(fù)制進(jìn)終端,回車(chē),需要管理員密碼
Key安裝好后,在終端輸入:
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
更新
在終端輸入:
sudo apt-get update
安裝
安裝穩(wěn)定版Chrome,在終端輸入:sudo apt-get install google-chrome-stable
安裝Beta版Chrome,在終端輸入:sudo apt-get install google-chrome-beta
安裝不穩(wěn)定版Chrome,在終端輸入:sudo apt-get install google-chrome-unstable
上面的方法裝成功了第一次,后面再裝好像被封了,唉!
又在網(wǎng)上搜索,下面方法可行:
Download google chrome for ubuntu from terminal with the following command:
For the 32-bit version of Google Chrome, use this command below.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
For the 64-bit version of Google Chrome, use this command below
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Once downloaded, install google chrome with following command:
32 bit :
sudo dpkg -i google-chrome-stable_current_i386.deb
64 bit :
sudo dpkg -i google-chrome-stable_current_amd64.deb
如果出錯(cuò),是依賴庫(kù)的問(wèn)題,用命令修復(fù)庫(kù)的依賴。
代碼:
sudo apt-get -f install
以上所述就是本文的全部?jī)?nèi)容了,希望大家能夠喜歡。
相關(guān)文章
Linux上通過(guò)SSH掛載遠(yuǎn)程文件系統(tǒng)方法詳解
在本篇內(nèi)容里小編給大家整理了關(guān)于在Linux上通過(guò)SSH掛載遠(yuǎn)程文件系統(tǒng)的相關(guān)知識(shí)點(diǎn),需要的朋友們跟著學(xué)習(xí)下。2019-03-03詳解Linux系統(tǒng)配置nginx的負(fù)載均衡
這篇文章主要介紹了詳解Linux系統(tǒng)配置nginx的負(fù)載均衡的相關(guān)資料,這里對(duì)負(fù)載均衡的幾種方式進(jìn)行了講解并附NGINX配置文件,需要的朋友可以參考下2017-03-03linux vps服務(wù)器常用服務(wù)iptables策略
linux系統(tǒng)自帶防火墻必須要好好利用起來(lái),可是我有一年多沒(méi)寫(xiě)過(guò)防火墻策略了,該忘的都忘了,不該忘的也都忘得差不多了,看筆記,找找感覺(jué)2017-04-04Ubuntu18.04服務(wù)器密碼忘記或被篡改如何重置密碼
這篇文章主要介紹了Ubuntu18.04服務(wù)器密碼忘記或被篡改如何重置密碼,本文分步驟給大家介紹的非常詳細(xì),具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2019-09-09