How to Install Google Chrome in Ubuntu 20.04?
Google chrome is a web browser that is used for net surfing. It is a product of Google Inc and one of the most popular browsers in the market.
It provides tremendous features and outstanding performance that make it a choice of every programmer nowadays whether working on windows, Linux, or macOS.
In this article, we are going to learn how to install it into Ubuntu 20.04. So, let's get started.
1. Download Google Chrome
First download google chrome by using the following command. It will download and store the file into your local system. Open the terminal by using
Ctrl+Alt+t keys combination and enter this command.
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
After successfully downloading, install the setup to make it runnable on the machine.
2. Install the Google Chrome
Use this command to install google chrome. Since we are installing a setup, so you must have admin privileges. Use Sudo to with the command. It will ask for the password, before starting the installation, so enter your password and let it install.
$ sudo apt install ./google-chrome-stable_current_amd64.deb
After successfully completing this command, google chrome has been installed. So, now you can open it and start working.
3. Open Google Chrome
To start with google chrome, just click on the windows key, or search and type chrome, and see an icon will appear. So, just click on this icon, and google chrome will open.
And after either pressing enter key or click, a new window will be open where you can start browsing.
All set, we have successfully install chrome on our local computer. Let's explore some other operations of chrome.
Update Google Chrome
You don't need to worry about updating the chrome as during installation a file was added to the system that automatically checks for the latest release and updates the chrome when it is available. you can check the file by using the following command.
$ cat /etc/apt/sources.list.d/google-chrome.list
It will show the below output to the terminal screen.
### 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
Remove Google Chrome
In case, if you want to remove the google chrome from your local system then use the following command.
$ sudo apt-get purge google-chrome-stable
$ mv ~/.config/google-chrome/ ~/.config/google-chrome.bak/
The first command will remove the chrome completely and the second command will move config file to backup directory.
At the end, we have learned to install google chrome in our local system. We can update chrome with the latest version and even can remove if require. This tutorial helps you to install the chrome step by step.