设为首页 收藏本站
查看: 1113|回复: 0

[经验分享] ubuntu下chrome的安装

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2015-7-29 10:40:24 | 显示全部楼层 |阅读模式
通过google下载安装包
huwei@huwei:~/Downloads$ ll -a
total 47028
drwxr-xr-x  2 huwei huwei     4096 Jul 28 00:16 ./
drwxr-xr-x 18 huwei huwei     4096 Jul 28 00:12 ../
-rw-rw-r--  1 huwei huwei 48147924 Jul 28 00:16 google-chrome-stable_current_amd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
使用sudo dpkg -i 安装包名字 安装chrome,但是u缺少相关库文件,系统会报错
huwei@huwei:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb
(Reading database ... 198622 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (44.0.2403.107-1) over (44.0.2403.107-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libappindicator1; however:
  Package libappindicator1 is not installed.

dpkg: error processing package google-chrome-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
google-chrome-stable



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
尝试安装缺少的文件,通过报错“Package libappindicator1 is not installed”,我们尝试安装libappindicator1文件
huwei@huwei:~/Downloads$ sudo apt-get install libappindicator1
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libappindicator1 : Depends: libindicator7 (>= 0.4.90) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

通过提示,我们安装libappindicator1 libindicator7两个文件
huwei@huwei:~/Downloads$ sudo apt-get -f install libappindicator1 libindicator7
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  account-plugin-windows-live libupstart1
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libappindicator1 libindicator7
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
1 not fully installed or removed.
Need to get 39.9 kB of archives.
After this operation, 201 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main libindicator7 amd64 12.10.2+14.04.20141007.1-0ubuntu1 [21.7 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/main libappindicator1 amd64 12.10.1+13.10.20130920-0ubuntu4.1 [18.2 kB]
Fetched 39.9 kB in 0s (127 kB/s)            
Selecting previously unselected package libindicator7.
(Reading database ... 198622 files and directories currently installed.)
Preparing to unpack .../libindicator7_12.10.2+14.04.20141007.1-0ubuntu1_amd64.deb ...
Unpacking libindicator7 (12.10.2+14.04.20141007.1-0ubuntu1) ...
Selecting previously unselected package libappindicator1.
Preparing to unpack .../libappindicator1_12.10.1+13.10.20130920-0ubuntu4.1_amd64.deb ...
Unpacking libappindicator1 (12.10.1+13.10.20130920-0ubuntu4.1) ...
Setting up libindicator7 (12.10.2+14.04.20141007.1-0ubuntu1) ...
Setting up libappindicator1 (12.10.1+13.10.20130920-0ubuntu4.1) ...
Setting up google-chrome-stable (44.0.2403.107-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...



到此,chrome安装成功!!!


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-91884-1-1.html 上篇帖子: RHEL/CentOS配置epel源 下篇帖子: ssh-keygen生成密钥对 chrome ubuntu
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表