How to install Chrome browser properly via command line?
Google Chrome isn't in the repositories - however, Chromium is.
Google Chrome is only available for 64-bit Linux. I've included directions for 64 below.
To install Google Chrome, run the following:
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome*.deb
If error messages pop up after running the command sudo apt install ./google-chrome*.deb
then run the command
sudo apt-get install -f.
As per http://www.ubuntuupdates.org/ppa/google_chrome
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 really want to install Chrome (not Chromium) using apt-get
it's possible as explained here:
Add google repository to your sources, that is, create a new file under
/etc/apt/sources.list.d
with the following contents:deb http://dl.google.com/linux/chrome/deb/ stable main
Get repository key:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Update your sources:
sudo apt-get update
And install the package:
sudo apt-get install google-chrome-stable
Note: instead of google-chrome-stable
you can also install either google-chrome-beta
or google-chrome-unstable
packages from the same repository.