Following are the steps to install Google Chrome using Command Line –
1. Edit the source.list file using this command –
# sudo nano /etc/apt/sources.list
2. Go to the end of the file and add the below-given line at the end of the file –
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable mai
3. Save and exit the sources.list file.
4. Download the Google Signing Key using the command given below –
# 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 the sudo apt update command.
# Target Packages (main/binary-amd64/Packages) is configured multiple times
8. Execute the command given below to remove the error message.
# sudo rm /etc/apt/sources.list.d/google-chrome.list