Starting from Loki, the elementary OS will no longer support installing Debian packages (.deb) by double-clicking on it. That’s because elementary OS is using its own App Store, and not the Ubuntu’s Application Center.
I’m not sure if elementary OS will ever directly support Debian packages in the future, but for now, thankfully there are still ways to solve this issue. Google Chrome comes packaged in Debian package from Google’s official download page.
You can’t directly install the .deb package in elementary OS Loki and later by double-clicking on it. Here is a workaround for Loki as well as the Juno. If you are looking for Juno, please skip to the subsequent section below.
Install .deb packages on elementary OS Loki
You can install Debian packages by two methods including a command line way and GUI way, but both methods use ‘gdebi’ application installer.
The generic format of the command is as follows:
sudo gdebi package.deb
Install Google Chrome on elementary OS Loki
STEP 1: Download Google Chrome for your computer.
STEP 2: By default settings, the downloaded file should go into the ‘Downloads’ directory. The file name should be similar to ‘google-chrome-stable_current_amd64.deb‘.
STEP 3: Launch ‘Terminal’ and navigate into the ‘Downloads’ directory using CD command.
STEP 4: Type ls to see the list of contents in the directory.
STEP 5: Copy the file name of the Chrome setup file.
STEP 6: Enter the following command. You can paste the file name after typing using the gdebi command as follows:
sudo gdebi google-chrome-stable_current_amd64.deb
STEP 7: You will have to enter the root password and enter ‘Y’ to complete the installation. After installation is complete, you should see Google Chrome in the Applications menu.
Graphical User Interface Way
Another way is to install gdebi installer in the elementary OS, which will let you install any .deb files easily by right-clicking on the Debian file and ‘open with gDebi’.
STEP 1: Install the gdebi installer.
sudo apt install gdebi
STEP 2: Now all you have to do is just right-click on the downloaded Chrome deb package and select ‘Open with gDebi’ to proceed with the GUI method of installing Google Chrome.
Install Google Chrome on elementary OS Juno
STEP 1: Launch the Epiphany web browser and go to the Google Chrome website to download the latest version. The downloaded file should be something like “google-chrome-stable_current_amd64.deb. I’m assuming that the file is in the “Downloads” folder.
STEP 2: Launch “Terminal”, and navigate to the downloads directory using the cd command. Use the ls command to see the content of the folder.
STEP 3: Run the following command. Replace the file name in the below command with that of the filename you have downloaded.
sudo dpkg -i google-chrome-stable_current_amd64.deb
STEP 4: Pay attention to the progress in the Terminal. You may see a dependency error saying that “google-chrome-stable depends on fonts-liberation and the package fonts-liberation is not installed“. It’s completely safe to ignore it as the next command will completely take care of it.
STEP 5: Enter the following command:
sudo apt -f install
Enter “Y” when prompted.
STEP 6: Google Chrome should get installed.
STEP 7: Launch the Wingpanel and look for Chrome. Congratulations – you have successfully installed Chrome on elementary OS Juno!