Installing Chrome on Lubuntu

Since Chrome provides a Debian package, you can do:

s@s-Lubuntu:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb 
[sudo] password for s: 
Selecting previously unselected package google-chrome-stable.
(Reading database ... 118145 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (61.0.3163.91-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on gconf-service; however:
  Package gconf-service is not installed.
 google-chrome-stable depends on libgconf-2-4 (>= 3.2.5); however:
  Package libgconf-2-4 is not installed.
 google-chrome-stable depends on fonts-liberation; however:
  Package fonts-liberation is not installed.

dpkg: error processing package google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:

That didn’t work since dpkg can’t install dependencies. So I tried using apt.

s@s-Lubuntu:~/Downloads$ sudo apt install ./google-chrome-stable_current_amd64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 google-chrome-stable : Depends: gconf-service
                        Depends: libgconf-2-4 (>= 3.2.5) but it is not installed
                        Depends: fonts-liberation but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Now using the –fix-broken option

s@s-Lubuntu:~/Downloads$ sudo apt --fix-broken install ./google-chrome-stable_current_amd64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb'
google-chrome-stable is already the newest version (61.0.3163.91-1).
The following additional packages will be installed:
  fonts-liberation gconf-service gconf-service-backend gconf2-common libgconf-2-4
The following NEW packages will be installed:
  fonts-liberation gconf-service gconf-service-backend gconf2-common libgconf-2-4
0 upgraded, 5 newly installed, 0 to remove and 178 not upgraded.
1 not fully installed or removed.
Need to get 987 kB of archives.
After this operation, 4,185 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 gconf2-common all 3.2.6-3ubuntu7 [20.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 libgconf-2-4 amd64 3.2.6-3ubuntu7 [84.6 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 gconf-service-backend amd64 3.2.6-3ubuntu7 [57.8 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 gconf-service amd64 3.2.6-3ubuntu7 [2,038 B]
Get:5 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 fonts-liberation all 1:1.07.4-2 [822 kB]
Fetched 987 kB in 1s (829 kB/s)           
Selecting previously unselected package gconf2-common.
(Reading database ... 118248 files and directories currently installed.)
Preparing to unpack .../gconf2-common_3.2.6-3ubuntu7_all.deb ...
Unpacking gconf2-common (3.2.6-3ubuntu7) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../libgconf-2-4_3.2.6-3ubuntu7_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-3ubuntu7) ...
Selecting previously unselected package gconf-service-backend.
Preparing to unpack .../gconf-service-backend_3.2.6-3ubuntu7_amd64.deb ...
Unpacking gconf-service-backend (3.2.6-3ubuntu7) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-3ubuntu7_amd64.deb ...
Unpacking gconf-service (3.2.6-3ubuntu7) ...
Selecting previously unselected package fonts-liberation.
Preparing to unpack .../fonts-liberation_1%3a1.07.4-2_all.deb ...
Unpacking fonts-liberation (1:1.07.4-2) ...
Setting up gconf2-common (3.2.6-3ubuntu7) ...

Creating config file /etc/gconf/2/path with new version
Processing triggers for sgml-base (1.29) ...
Setting up fonts-liberation (1:1.07.4-2) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu2) ...
Setting up libgconf-2-4:amd64 (3.2.6-3ubuntu7) ...
Setting up gconf-service-backend (3.2.6-3ubuntu7) ...
Setting up gconf-service (3.2.6-3ubuntu7) ...
Setting up google-chrome-stable (61.0.3163.91-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.24-9ubuntu2) ...

Now you should see Chrome icon in the Internet menu. Enjoy.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: