Ubuntu – How to install Chrome on a server

command linegoogle-chromeserver

I'm a complete newbie to Ubuntu Server and am looking for a web browser which I am learning to use as it is a requirement of the course I'm doing.
It's been many a year since I've spent any time poking around a CLI and am constantly going back and forward between various websites for hints on coding.
I'm running this in VMWare and it would make life a bit easier if I could find a decent web browser to use.
I won't use Firefox as I find it too unstable and don't use it on my windows box… I've tried Links2 and a couple of other light weight broswers but I'm not keen.

Can any one give an idiots guide to what I need to do to set up Chrome or something similar to run on Ubuntu server.

Best Answer

The installation Procedure for Google Chrome Browser 64-bit version 73.0.3683.86.

Step-1: First, add (if not added already) the Google Chrome repository on your system using the following command. While using PPA to our system we also receive the latest updates whenever you check for system updates.

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

Now add the PPA url to the /etc/apt/sources.list.d/google.list file as per Ubuntu system architecture.

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

Step-2: Install or Upgrade Google Chrome

After adding Google Chrome repository in our system use following commands to install the latest Google Chrome stable release. If you already have installed an older version, It will upgrade currently installed version with recent stable version.

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

Step-3: Verify version

$ google-chrome --version

enter image description here Figure-1: Google Chrome latest version 73.0.3683.86

you will see the output will be Google Chrome 73.0.3683.86.

Step-4: Launch Google Chrome

After completing step-3 the Google Chrome has been installed successfully on your system. Finally issue command to see Chrome browser:

$ google-chrome-stable &

Note: You can also access Chrome browser through Gnome dash and double-click chrome browser shortcut.

Related Question