domingo, 12 de junio de 2016

How to install Chrome on Linux (Ubuntu)

Open the terminal then type in to add the key
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -  

Setup package with:
sudo apt-get update
sudo apt-get install google-chrome-stable

Setup repository with:
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'


wget: A commonly used program/command in terminal to download from an URL, -q means the download would be quiet and -O to output to a file

|: PIPE is a chaining operator which makes the output of the first command act as an input to the second command.

sudo: Grant administrator permissions
sh: A command to execute linux programs
/etc/apt/sources.list.d/: This directory provides a way add locations from which packages would be downloaded.

apt-get: It is the Ubuntu advanced packaging tool (apt) with the option to

  • update: Update the locations we just add
  • install: Install a software within your list