To install Google Chrome web browser on Ubuntu linux, there are two methods, the easiest is through the Ubuntu software library and the second is through the command line. So here are the steps to follow if you are looking for an alternative to Firefox, the browser supplied by default with this distribution.
1. Install Google Chrome on Linux Ubuntu via the software library
– First click on the menu Applications then on Ubuntu Software Center.
– In the search field, try to search for the browser with the word “Chromium” or “Chromium Web browser”
– In the results of your search, then click on Chromium web browser then press the button To install.
– Enter your password and click on Authenticate.
– Google Chromium will be downloaded and then installed.
– To launch it and start using it, go to the menu Application, then Internet and finally on Chromium web browser.
2. Install Google Chrome on Linux Ubuntu via the command line
Even in command line, there are two methods, a simpler installation directly with Google packages, and this is the most recommended method and another method with Google repositories that you need to add to the source list of your operating system.
Method 1: with Google packages
1. On the official Google Chrome download page, choose your Ubuntu / Debian package according to the hardware architecture of your computer (64-bit .deb for Debian and Ubuntu or 64-bit .rpm for Fedora and openSUSE).
2. Then read and accept the general conditions of use then download the .deb file that you have selected on the page.
3. Once downloaded, go to the directory or package google-chrome-stable_current_amd64.deb is located.
4. Open the terminal and check that you are in the correct directory, then type the following command to install the packages for Google Chrome and all of its dependencies:
sudo dpkg -i google-chrome-stable_current_amd64.deb
And hit enter.
Method 2: with Google repositories
To add the Google repository directly, in your terminal, enter the following commands:
sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –
sudo apt-get update
And finally, to install the latest stable version of Chrome with all the security updates and feature updates, all you have to do is type this last linux command in your terminal:
sudo apt-get install google-chrome-stable