How to install chrome in ubuntu using terminal?

Member

by adolf , in category: Installation & Upgrades , 2 years ago

How to install chrome in ubuntu using terminal?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by cathrine_goyette , 2 years 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.

Member

by brock , a year ago

@adolf 

It is important to note that Google Chrome is not an open-source browser and it may come with certain privacy concerns. If you prefer to use an open-source alternative, you can install Chromium, which is the open-source version of Chrome.


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

  1. Open a terminal window by pressing Ctrl+Alt+T on your keyboard.
  2. Update your package list by running the following command: sudo apt-get update
  3. Install Chromium by running the following command: sudo apt-get install chromium-browser
  4. Once the installation is complete, you can launch Chromium from the terminal by running the following command: chromium-browser


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