AMP AMP

How to Install Google Chrome in Debian

To install Google Chrome in Debian

Google Chrome is a fast and freeware web browser released by Google. Its auto-fill option helps the user to do searching instantly. This tutorial will help you with the installation of Google Chrome on your Debian machine.


Installation of Google Chrome

Before installing Google Chrome, add repo link on apt source list.

root@linuxhelp:~# nano /etc/apt/sources.list
deb http://dl.google.com/linux/chrome/deb/ stable main

Now download the key for Google Chrome by triggering the following command.

root@linuxhelp:~# wget https://dl-ssl.google.com/linux/linux_signing_key.pub

--2016-11-10 10:15:57--  https://dl-ssl.google.com/linux/linux_signing_key.pub
Resolving dl-ssl.google.com (dl-ssl.google.com)... 74.125.130.93, 74.125.130.91, 74.125.130.190, ...
Connecting to dl-ssl.google.com (dl-ssl.google.com)|74.125.130.93|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5840 (5.7K) [application/octet-stream]
Saving to: ‘ linux_signing_key.pub’ 

linux_signing_key.p 100%[=====================> ]   5.70K  --.-KB/s   in 0.003s

2016-11-10 10:15:58 (1.72 MB/s) - ‘ linux_signing_key.pub’  saved [5840/5840]

Next add that key by using apt-key command

root@linuxhelp:~# apt-key add linux_signing_key.pub
OK

Now update the key with the help of following command.

root@linuxhelp:~# apt-get update

Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [916 B]                          
Get:2 http://dl.google.com stable Release [1,189 B]                            
Get:3 http://dl.google.com stable/main amd64 Packages [1,440 B]                
Get:4 http://ftp.debian.org jessie-updates InRelease [145 kB]                  
Hit http://security.debian.org jessie/updates InRelease                        
Ign http://dl.google.com stable/main Translation-en_US                         
Ign http://dl.google.com stable/main Translation-en       
Get:5 http://ftp.debian.org jessie-updates/main Sources [15.4 kB]
Get:6 http://ftp.debian.org jessie-updates/contrib Sources [32 B]  
Get:7 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
Get:8 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:9 http://ftp.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:10 http://ftp.debian.org jessie-updates/main amd64 Packages [15.5 kB]    
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Fetched 192 kB in 4s (40.3 kB/s)
Reading package lists... Done

Once the key is updated, install the Google Chrome stable edition by invoking apt-get install command.

root@linuxhelp:~# apt-get install google-chrome-stable

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7
Recommended packages:
  indicator-application
The following NEW packages will be installed:
  google-chrome-stable libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4
  libindicator7
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 46.0 MB of archives.
After this operation, 179 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 54.0.2840.90-1 [45.8 MB]
Get:2 http://ftp.debian.org/debian/ stable/main libdbusmenu-glib4 amd64 12.10.2-1 [104 kB]
Get:3 http://ftp.debian.org/debian/ stable/main libdbusmenu-gtk4 amd64 12.10.2-1 [90.8 kB]
Get:4 http://ftp.debian.org/debian/ stable/main libindicator7 amd64 0.5.0-2 [52.2 kB]
Get:5 http://ftp.debian.org/debian/ stable/main libappindicator1 amd64 0.4.92-3.1 [52.5 kB]
Fetched 46.0 MB in 1min 2s (734 kB/s)                                          
Selecting previously unselected package libdbusmenu-glib4:amd64.
(Reading database ... 141817 files and directories currently installed.)
.
.
.
Setting up google-chrome-stable (54.0.2840.90-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-18+deb8u6) ...

Now Google Chrome is ready to be accessed. Enter chrome on the activities search bar, and click on the chrome icon to access Google Chrome.

You' ll get a Pop-up menu. Click on the checkbox and click OK

Now browser is open as below.

Type google.co.in on the address bar.

You can search your favorite sites through Google Chrome.

FAQ
Q
Can extensions use 3rd party web services?
A
Yes. Extensions are capable of making cross-domain Ajax requests, so they can call remote APIs directly. APIs that provide data in JSON format is particularly easy to use.
Q
Can extensions create UI outside of the rendered web page?
A
Yes, your extension may add buttons to the Chrome browser's user interface. See browser actions and page actions for more information.
Q
How do I build a UI for my extension?
A
Extensions use HTML and CSS to define their user interfaces, so you can use standard form controls to build your UI, or style the interface with CSS, as you would a web page. Additionally, extensions can add some limited UI elements to Chrome itself.
Q
How do I add a bookmark in Chrome to my home screen?
A
Create a bookmark via the menu, find it in the bookmark list, long-press on it, and tap "Add to home screen".
Q
What are Google Chrome Extensions?
A
Google Chrome Extensions are applications that run inside the Chrome browser and provide additional functionality, integration with third party websites or services, and customized browsing experiences.