博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
install chrome in elementary os
阅读量:6253 次
发布时间:2019-06-22

本文共 5106 字,大约阅读时间需要 17 分钟。

Elementary OS Freya 0.3.2 was officially out for public. As previous release, it comes pre-installed with Midori browser – a clean, lightweight, simple but beautiful web browser. However I prefer to use Google Chrome than Midori. This post will show you how to install Google Chrome on Elementary OS Freya 0.3.2. It should be applicable for previous or newer version of this OS.

Download Google Chrome

First you need to download the Google Chrome from . Select the Debian/Ubuntu package since Elementary OS is based-on Ubuntu.

Install Google Chrome using dpkg tool

Once the package downloaded, install it using dpkg tool via terminal app sudo dpkg -i google-chrome-stable_current_amd64.deb like below:

$ sudo dpkg -i google-chrome-stable_current_amd64.deb[sudo] password for computechtips:Selecting previously unselected package google-chrome-stable.(Reading database ... 166268 files and directories currently installed.)Preparing to unpack google-chrome-stable_current_amd64.deb ...Unpacking google-chrome-stable (47.0.2526.106-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 unconfiguredProcessing 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+elementary2~ubuntu14.04.1) ...Rebuilding /usr/share/applications/bamf-2.index...Processing triggers for mime-support (3.54ubuntu1.1) ...Processing triggers for man-db (2.6.7.1-1ubuntu1) ...Errors were encountered while processing:google-chrome-stable

As you can see in the log above, the installation encountered errors while processing. It requires libappindicator1 package to be installed first.

OK let’s install it using apt-get tool

$ sudo apt-get install libappindicator1Reading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies:libappindicator1 : Depends: libdbusmenu-gtk4 (>= 0.4.2) but it is not going to be installedDepends: libindicator7 (>= 0.4.90) but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

The installation of libappindicator1 package also failed as you can see above. Fortunately it told us the solution to run apt-get -f install with no packages. Let’s execute the command.

$ sudo apt-get -f installReading package lists... DoneBuilding dependency treeReading state information... DoneCorrecting dependencies... DoneThe following packages were automatically installed and are no longer required:efibootmgr secureboot-dbUse 'apt-get autoremove' to remove them.The following extra packages will be installed:libappindicator1 libdbusmenu-gtk4 libindicator7The following NEW packages will be installed:libappindicator1 libdbusmenu-gtk4 libindicator70 upgraded, 3 newly installed, 0 to remove and 48 not upgraded.1 not fully installed or removed.Need to get 66,3 kB of archives.After this operation, 334 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://kambing.ui.ac.id/ubuntu/ trusty-updates/main libdbusmenu-gtk4 amd64 12.10.3+14.04.20140612-0ubuntu1 [26,4 kB]Get:2 http://kambing.ui.ac.id/ubuntu/ trusty-updates/main libindicator7 amd64 12.10.2+14.04.20141007.1-0ubuntu1 [21,7 kB]Get:3 http://kambing.ui.ac.id/ubuntu/ trusty-updates/main libappindicator1 amd64 12.10.1+13.10.20130920-0ubuntu4.1 [18,2 kB]Fetched 66,3 kB in 0s (794 kB/s)Selecting previously unselected package libdbusmenu-gtk4:amd64.(Reading database ... 166375 files and directories currently installed.)Preparing to unpack .../libdbusmenu-gtk4_12.10.3+14.04.20140612-0ubuntu1_amd64.deb ...Unpacking libdbusmenu-gtk4:amd64 (12.10.3+14.04.20140612-0ubuntu1) ...Selecting previously unselected package libindicator7.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 libdbusmenu-gtk4:amd64 (12.10.3+14.04.20140612-0ubuntu1) ...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 (47.0.2526.106-1) ...update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto modeProcessing triggers for libc-bin (2.19-0ubuntu6.6) ...

As you see above, Google Chrome has been successfully installed and configured on Elementary OS. Below is the screenshot of Google Chrome on Elementary OS Freya 0.3.2.

 

Hopefully this brief tutorial is helpful for you.

转载于:https://www.cnblogs.com/shenfengok/p/6034713.html

你可能感兴趣的文章
c# 生成 验证码
查看>>
Selenium学习(4) 键盘操作
查看>>
SQL Server 触发器
查看>>
神奇语言 python 初识面向对象
查看>>
何为SLAM
查看>>
Effective C++ 条款五 了解C++默默编写并调用哪些函数
查看>>
图的存储结构(邻接矩阵)
查看>>
[工具]infolite-chrome插件css插件
查看>>
javascript 深拷贝
查看>>
SwitchHosts—hosts管理利器
查看>>
【代码小记】无
查看>>
【知识点】Java机密
查看>>
如何在 Java 中正确使用 wait, notify 和 notifyAll?
查看>>
BarTender 2016表单中的“秤显示”控件
查看>>
仓库盘:动态盘点
查看>>
全面理解javascript的caller,callee,call,apply概念[转载]
查看>>
C#中使用Monitor类、Lock和Mutex类来同步多线程的执行
查看>>
Jquery 下拉框取值
查看>>
POJ 1287 Networking 【最小生成树Kruskal】
查看>>
IDEA中使用Maven创建Java Web项目
查看>>