ubuntu下载和安装chrome的方法

系统覆盖安装后,chrome不可用,于是卸载:

网上的:

  1. 试试看这个。。  
  2. 代码:  
  3. sudo apt-get autoremove google-chrome-unstable  
  4.   
  5. 或者在  
  6. 代码:  
  7. sudo apt-get autoremove google-chrom 
不起作用,运行来apt-get autoremove google-chrome-stable,成功卸载。

下载浏览器db包,进入下载目录,

执行:dpkg -i  google-chrome-stable_current_amd64.deb

安装过程中出现:

(Reading database ... 148975 files and directories currently installed.)
Preparing to replace google-chrome-stable 34.0.1847.116-1 (using google-chrome-stable_current_amd64.deb) ...
Unpacking replacement google-chrome-stable ...
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 desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 google-chrome-stable

提示:libxss1包没有安装,于是apt-get install libxss1。再执行,dpkg -i  google-chrome-stable_current_amd64.deb,安装成功。

你可能感兴趣的:(ubuntu下载和安装chrome的方法)