Google chrome is a cross-platform web browser and is considered the best among other browsers. Chrome is not an open source browser, so it is not available on the Ubuntu Software Center.
Chromium is an open source version of Chromium with fewer features. Chrome no longer supports the 32-bit version, and the Chrome browser currently supports both 32-bit and 64-bit versions. Chrome supports a large number of extensions to prevent cross-site scripting vulnerabilities, DevTools, etc.
In this tutorial, I will show you how to install google chrome browser on Ubuntu 20.04. You can follow the same instructions for Ubuntu 18.04, 16.04 and other Debian distributions.
Here we discuss two methods, the first one will display the desktop GUI The method is very simple, followed by Terminal.
Install Chrome on Ubuntu from the GUI
Installing google chrome from the graphical interface is the easiest way. I have taken a screenshot to make it easier to understand.
To continue the steps below, make sure your computer is connected to the Internet.
01) Visit the google chrome website and click “Download Chrome”:
02) Select your download package, in this case, I choose 64-bit .deb for Debian/Ubuntu and click the “Accept and Install” button:
03) A deb file will be downloaded to your “download” folder:
04) Right-click the file, and then click “Open with another application”,
note: In previous versions of Ubuntu, you can double-click the file to start the installation. On Ubuntu 20.04, to solve this problem, you can select the file “Properties” -> select the “Open With” tab -> select “Software Installation”, and then click “Set as Default”.
05) Select the “Software Installation” application:
06) Now click the “Install” button:
07) Provide privileged user password for authentication:
08) To start chrome, press the “Windows” key and enter “chrome”:
09) The first time it will prompt you to choose whether you want to use Google Chrome as the default browser:
10) Finally, you can use the chrome web browser:
Now it’s time to import bookmarks, add to favorites and set favorites background on chrome.
Install Chrome on Ubuntu from the terminal
First, download the .deb file using wget file from the official website of the terminal, and then install it using dpkg or apt-get.
Use the wget command to download the deb file:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
Or use the apt-get command:
$ sudo apt-get install ./google-chrome-stable_current_amd64.deb
To start Google Chrome from the terminal, run:
Or run chrome in the background:
$ google-chrome &
Update Google Chrome
It is recommended to provide the latest chrome update to provide more security features, other improvements and features.
The installation process will add a PPA to your system, so whenever you update your system through the “Software Update” tool, Google Chrome will automatically receive the latest update.
You can verify by checking the following documents:
$ cat /etc/apt/sources.list.d/google-chrome.list
Output ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
By manually adding Google repositories
For terminal-centric users, you can install the chrome browser by manually adding the Google repository. To do this, create a file named “google-chrome.list” in the “/etc/apt/sources.list.d” directory.
Enter the following command in the terminal:
$ sudo vi /etc/apt/sources.list.d/google-chrome.list
Then add the following and save the file:
deb http://dl.google.com/linux/chrome/deb/ stable main
Or use the following single line:
$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
After adding the Google repository to the source file, you need to get the repository key using the following command
$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
If you have completed all the steps above, run:
$ sudo apt-get install google-chrome-stable
To update, you can run the same above command again when a new version is available, or update the system with the following command
sudo apt-get update.
Please note that you can also install Beta and unstable versions of Chrome using the same repository. To do this, use the following command.
$ sudo apt-get install google-chrome-beta
For unstable versions of Chrome:
$ sudo apt-get install google-chrome-unstable
Uninstall Google Chrome
First, use the keyboard shortcut (Ctrl + Alt + T) or open the terminal from the taskbar.
To remove Google Chrome from the system, enter:
$ sudo apt remove google-chrome-stable
To clean up the package manager to ensure that there are no configuration files or dependent packages, run:
$ sudo apt-get autoremove
All the steps mentioned are not limited to the Ubuntu operating system, but should be run on Linux Mint, base OS, Zorin OS and other Ubuntu distributions.
Hope you enjoy reading the installation steps of Google chrome, which is one of the best browsers in the world.