Ubuntu 13.04 怎样安装 Google Chrome
来源:互联网 发布:2017软件退税政策 编辑:程序博客网 时间:2024/05/01 13:06
今天我在安装Ubuntu后,因为习惯了Chrome,想安装一个Google Chrome浏览器在Ubuntu中,然后遇到问题了。先说说正确的安装方法。
1、在Google chrome上面下载Chrome浏览器。选择正确的版本,我电脑是64位的所以选择的是【64 bit .deb (适用于 Debian/Ubuntu)】。
2、Ctrl+Alt+T 打开终端,进入你刚刚下载好的Chrome包存放的文件夹(我是直接下载到默认位置的):
$ cd ~/Downloads
3、使用dpkg
命令安装Chrome包:
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
不出意外会出现类似以下的错误提示,原因是因为依赖包的问题:
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 unconfiguredProcessing 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、找到问题是因为没有安装这个libxss1
的依赖包,我们可以用很简单的命令安装这个依赖包:
$ sudo apt-get install -f
5、完成上述操作,提示安装的时候输入y
,回车继续安装,会出现下面这样的提示,Chome就应该安装好啦!
Reading package lists... DoneBuilding dependency treeReading state information... DoneCorrecting dependencies... DoneThe following extra packages will be installed:libxss1The following NEW packages will be installed:libxss10 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]? ySelecting 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
需要注意的是,安装软件之前确保你已经做过更新和升级如果没有更新到最新请参考以下更新:
$ sudo apt-get update# 然后:$ sudo apt-get upgrade转载:http://veryb.us/share/304.html
- Ubuntu 13.04 怎样安装 Google Chrome
- Ubuntu怎样安装Google Chrome
- 【转载】Ubuntu 12.04 怎样安装 Google Chrome
- Ubuntu 12.04 怎样安装 Google Chrome
- 怎样安装 Google Chrome
- Ubuntu 13.04 安装 google chrome
- Ubuntu 13.04安装Google Chrome
- Ubuntu安装Google Chrome
- ubuntu安装Google Chrome
- Ubuntu安装google chrome
- ubuntu安装google-chrome
- ubuntu 安装google chrome浏览器
- Ubuntu 12.04安装Google Chrome
- Ubuntu下安装google-chrome
- Ubuntu 12.04安装Google Chrome
- Ubuntu 12.04安装Google Chrome
- Ubuntu 12.04安装Google Chrome
- Ubuntu 12.04安装Google Chrome
- OpenCV学习笔记(五十七)——在同一窗口显示多幅图片
- 将SQLite数据转换成sql server数据
- Android之场景桌面(一)
- id3_get_tag
- Dom4j中的中文编码问题
- Ubuntu 13.04 怎样安装 Google Chrome
- 从Trie树(字典树)谈到后缀树
- Unite2013开发者大会:Unity新增多项重磅革新
- java web从零单排第二期之《html表单基础介绍》
- (读书笔记).NET大局观-.NET框架类库概观
- 单链表实现约瑟夫环示例
- 最大全1矩阵元素数
- 【Android自动化测试之Robotium】02. Robotium之用例分析
- js获取地址栏url以及获取url参数