How to install Google Chrome on Ubuntu 18.04 using the Command Line?

Following are the steps to install Google Chrome using Command-Line.

  1. Edit the source.list file using the below command.

    # sudo nano /etc/apt/sources.list
  2. Go to the end of the file and add the below line at the end of file.

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


  3. Save and Exit the sources.list file.

  4. Download the Google Signing Key with the below command.

    # wget https://dl.google.com/linux/linux_signing_key.pub 


  5. We will use the apt key to keyring. It will verify the integrity of the Google Chrome Package.

    # sudo apt-key add linux_signing_key.pub 
  6. Let us update the package list and install the stable version of Google Chrome.

    # sudo apt update
    # sudo apt install google-chrome-stable
  7. You may receive a warning while running sudo apt update command.

    # Target Packages (main/binary-amd64/Packages) is configured multiple times
  8. Hit the below command to remove the error message.

    # sudo rm /etc/apt/sources.list.d/google-chrome.list
    
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Do You Provide GUI With VPS or Just a Command Line?

Yes, we do provide GUI environment with all our Windows VPS plans. However, in Linux VPS, you...

Will internal traffic between two VPS viz. a Database Server and a Web Server be counted in my bandwidth usage?

Yes it will. The traffic will be counted in the bandwidth usage of your VPS. Even if you use...

How to Deploy Laravel Application with Nginx on Ubuntu?

Laravel is a PHP Framework and Nginx is a Web-Browser which can be installed on Ubuntu. Nginx is...

DOS AND DON'TS FOR Linux VPS

Dos and Don'ts for Linux Classic VPS, SSD VPS, and Linux Private Cloud VPS : Please allow...

How to add user to sudo group in a Linux VPS?

With Sudo you can provide special privileges to any user or group. In Linux, there are few...