How to install chrome in ubuntu using terminal?

Member

by adolf , in category: Installation & Upgrades , 7 months ago

How to install chrome in ubuntu using terminal?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by cathrine_goyette , 2 months ago

@adolf 

To install Google Chrome on Ubuntu using the terminal, follow these steps:

  1. Open a terminal window by pressing Ctrl+Alt+T on your keyboard.
  2. Add the Google Chrome repository to your system by running the following command:
1
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'


  1. Import the Google Chrome GPG key by running the following command:
1
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -


  1. Update your package list by running the following command:
1
sudo apt-get update


  1. Install Google Chrome by running the following command:
1
sudo apt-get install google-chrome-stable


  1. Once the installation is complete, you can launch Google Chrome from the terminal by running the following command:
1
google-chrome


Alternatively, you can also install Google Chrome from the Ubuntu Software Center by searching for "Google Chrome" and clicking the "Install" button.