Google Chrome has proven to be one of the most powerful web browsers these days, and naturally many users are trying to install it on their system. This attempt, however, was unsuccessful as this popular web browser is not available from any Linux distributor for Ubuntu software. So how do we install Google Chrome on our system?
Ubuntu offers the following two ways to do this:
- Download and install Google Chrome via command line.
- Download Google Chrome through your already installed web browser (mainly FireFox) and install it graphically.
In this guide, we will learn how to download and install Google Chrome (not the open source version of Chromium) on our Ubuntu system. We will also show you how to remove it using the command line and GUI. Please note that we followed the steps below in Ubuntu 18.04 LTS (Bionic Beaver).
Before installing Google Chrome, it is important to know if you are running 32-bit or 64-bit Ubuntu. Google has discontinued its version of Chrome for 32-bit Linux systems, so you can only install it if you have 64-bit Ubuntu.
Is your Ubuntu 32-bit or 64-bit?
To be able to install Google Chrome, you need to be running a 64-bit version of Ubuntu. To check this through the command line, follow these steps:
- Open Terminal…
- Use the following command to get cpu information from sysfs and / proc / cpuinfo files:
This command will display the following output:
The CPU mode (s) entry tells you about the Ubuntu features you are using on your system; 32-bit means you are using 32-bit Linux OS, 32-bit, 64-bit means you are using 64 bit OS.
If you are using 64-bit Ubuntu, you can proceed with the installation.
Installation via the command line
To install Google Chrome from the command line, follow these steps:
Open Terminal and enter the following command:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Tip: You can also copy this command from this tutorial by selecting and copying it with Ctrl + c and then pasting it into Terminal by right-clicking the cursor location and choosing Paste from the menu.
You can follow the installation progress as follows:
The installation package is now saved on your system in the current directory, i.e. / home /
Enter the following command to install the downloaded package:
$ sudo dpkg –i google-chrome-stable_current_amd64.deb
Note. You must be the superuser to run this command.
You should now have Google Chrome installed on your system. You can start it by following the steps later in this article.
Note. If you downloaded the installation package anywhere else, you need to specify the full path in the dpkg command.
Google Chrome Graphical Installation
This process will guide you how to graphically install Google Chrome on your system. You will use your already installed web browser to download the installation package. In our case, we’ll be using FireFox, the default browser for Ubuntu 18.
Download the installer package from the official google download page.
Click the icon Download Chrome button.
The next page will open asking you to select a package to install.
Since we are installing Chrome for Ubuntu, we will choose the first option. You will also be asked to agree to the terms of service.
Click the icon Accept and install button to continue if you agree to the terms of service.
The following dialog will open asking you to either save the package or run it through the software installation.
We recommend that you save the file and click OK…
The google-chrome-stable_current_amd64.deb installation package will be saved in the Downloads folder.
Open the installation package by double-clicking it in Downloads folder.
The following dialog will open in the software application:
Click the icon Install button.
You will be prompted to authenticate as only the superuser can install the software on Ubuntu.
Enter your password and click Authenticate…
The installation process will now start and you can see it in the following dialog:
You should now have Google Chrome installed on your system. You can start it by following the steps below.
Launching Google Chrome
After successful installation, you will be able to launch Google Chrome in the following ways:
- Typing Google Chrome in Ubuntu Dash.
- Access to Google Chrome from the applications menu.
When you first open Chrome, you will be prompted with the following message:
Mark the desired option; Google Chrome will be launched!
The advantage of installing Chrome via the official installer is that you will be updated if a newer version of the software is available.
Removing Google Chrome
Let’s take a look at the following two ways to completely remove Google Chrome from your system:
- Through the command line
- Through the graphical interface
Through the command line
To uninstall Google Chrome, run these commands from Terminal:
$ sudo apt-get purge google-chrome-stable
(This command will uninstall the Chrome installation.)
$ rm ~/.config/google-chrome/ -rf
(This command will remove user preferences such as any plugins you may have installed for your Chrome.)
Continue with Y to uninstall the installation.
Through the graphical interface
To uninstall Google Chrome via Ubuntu GUI, follow these steps:
Open Synaptic Package Manager from Ubuntu Dash.
Please install it via Ubuntu software if not already installed on your system.
You will be prompted to provide authentication as only the superuser can uninstall software on Ubuntu.
Search Google Chrome via the search button as follows:
You will be able to see the google-chrome-stable entry marked in green in the search results.
Choose Google Chrome stable, right click and then click Mark for complete removal from the menu.
Google Chrome will be selected for removal.
Now click Use the button is located at the top.
The following dialog will appear:
Click Use to completely uninstall Google Chrome.
Google Chrome will be removed from your system. It is now obvious that we do not need our system to provide us with updates to it; follow these steps to turn off updates for Chrome.
Open Software and updates from Ubuntu Dash and click Other software tab.
- Please select http://dl.google.com/linux/chrome/deb/stable main record and click delete button.
- Enter the superuser password and click Authenticate…
You have removed Google Chrome from your system and disabled updates for it.
We have seen that in the end, installing and removing Google Chrome from Ubuntu is not that difficult. You only need to run a few commands or use a friendly graphical interface to install non-Linux software.
How to install Google Chrome on Ubuntu 18.04 LTS