How to install Chrome on Ubuntu 16.04 with apt-get

Simply, just put these lines on your terminal:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable

If you are using a 64 bits architecture, you will get this error:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'

Just edit /etc/apt/sources.list.d/google.list and add "[arch=amd64]"

before:
deb http://dl.google.com/linux/chrome/deb/ stable main
afet:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Now, retry

sudo apt-get update
sudo apt-get install google-chrome-stable

Enjoy it!

Comments

Popular posts from this blog

from: can't read /var/mail/ in Python scripts

How to fix Android when developer options are not available for this user

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04