Install latest Google Chrome on Debian 6/7

Google Chrome is a free web browser developed by Google for Windows, Mac and Linux operating systems. It’s one of the most popular and widely used web browser by most of the internet users. In this post, I will be installing it on a x64 Debian Desktop

[box type=”info” style=”rounded” icon=”info”]For those running Debian 6.0 XFCE desktop environment, or any other desktop environment like KDE, MATE, GNOME, Unity etc, do the following first:

– Edit gnome-keyring-pkcs11.desktop file

vi /etc/xdg/autostart/gnome-keyring-pkcs11.desktop

Locate the line OnlyShowIn, add XFCE; at the end of it and save[/box]

Step 1: Setup Key

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Step 2: Setup Repository

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

Step 3: Install Package

sudo apt-get update

sudo apt-get install google-chrome-stable

Step 4: Launch Google Chrome

Note: if still logged in as root and want to start Google Chrome, then do this:

xhost +

sudo -i -u <username> /opt/google/chrome/chrome</username>

When done run this,

xhost -
 
comments powered by Disqus