How to Install Google Chrome on Ubuntu and Linux Mint

How to Install Google Chrome on Ubuntu and Linux Mint

Google Chrome is a popular web browser known for its speed, security, and simplicity. While Firefox is the default browser on Ubuntu and Linux Mint, many users prefer Chrome for its wide range of features and extensions. If you’re looking to install Google Chrome on Ubuntu or Linux Mint, this guide will walk you through the process step by step. The installation process is straightforward and can be completed in a few minutes.

1. Why Choose Google Chrome?

Before diving into the installation process, it’s important to understand why many people prefer Google Chrome over other browsers.

  • Speed and Performance: Chrome is known for its fast browsing speeds and efficient performance.
  • Extensions: The Chrome Web Store offers a wide range of extensions that enhance productivity and functionality.
  • Syncing Across Devices: With a Google account, you can sync bookmarks, history, and settings across multiple devices.
  • Security Features: Chrome provides robust security features, including regular updates, phishing protection, and sandboxing technology.

Now, let’s proceed with the installation.

2. Prerequisites

Before you begin, ensure your system meets the following prerequisites:

  • Operating System: Ubuntu 20.04 or later, or Linux Mint 20 or later.
  • User Privileges: You need to have sudo (superuser) privileges to install software.
  • Internet Connection: A stable internet connection is required to download the browser.

3. Step-by-Step Installation Guide

Step 1: Update Your System

Before installing any new software, it’s always a good idea to update your system. Open a terminal window by pressing Ctrl + Alt + T and type the following command:

sudo apt update && sudo apt upgrade -y 

This command updates the package list and upgrades any outdated packages.

Step 2: Download the Google Chrome .deb Package

Google Chrome is not available in the default Ubuntu or Linux Mint repositories. You need to download the .deb package from Google’s official website. To do this, follow these steps:

  • Open Firefox or any other web browser currently installed on your system.
  • Go to the Google Chrome download page.
  • Click on the “Download Chrome” button.
  • Choose “64-bit .deb (for Debian/Ubuntu)” and click “Accept and Install.”

Alternatively, you can download the .deb package using the terminal with the following command:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 

This command uses wget to download the Chrome .deb package directly.

Step 3: Install Google Chrome Using the Terminal

Once the .deb package is downloaded, you can install it using the dpkg command. In the terminal, navigate to the directory where the package is located (if you downloaded it through a browser, it’s usually in the Downloads folder):

cd ~/Downloads 

Now, install the package with:

sudo dpkg -i google-chrome-stable_current_amd64.deb 

During the installation, you might see dependency errors. If this happens, run the following command to fix the dependencies:

sudo apt --fix-broken install 

This command installs any missing dependencies and completes the installation process.

Step 4: Verify the Installation

After the installation is complete, you can verify that Google Chrome has been installed successfully. You can do this by launching Chrome from the terminal or searching for it in the applications menu.

To launch from the terminal, type:

google-chrome 

Chrome should open, and you can set it as your default browser if you wish.

Step 5: Update Google Chrome

Google Chrome updates automatically whenever a new version is available. However, you can also update it manually using the terminal. Run the following commands to ensure Chrome is up to date:

sudo apt update sudo apt --only-upgrade install google-chrome-stable 

This will check for updates and install the latest version of Google Chrome.

4. Troubleshooting Common Issues

Sometimes, you might encounter issues during or after the installation. Here are some common problems and how to resolve them:

  • Dependency Errors: If you see errors related to dependencies during installation, running sudo apt --fix-broken install usually resolves the issue.
  • Chrome Not Launching: If Chrome doesn’t launch after installation, try running it from the terminal. Look for any error messages that can guide you to the problem.
  • Slow Performance: If Chrome runs slowly, consider disabling unnecessary extensions or using the --no-sandbox option when launching Chrome from the terminal. However, be aware that disabling sandboxing can reduce security.

5. Uninstalling Google Chrome

If you decide to remove Google Chrome from your system, the process is simple. Open a terminal and run the following command:

sudo apt remove google-chrome-stable 

This command uninstalls Google Chrome but retains your personal data and settings. If you want to remove everything, including user data, use:

sudo apt purge google-chrome-stable 

Finally, clean up any unnecessary packages left behind:

sudo apt autoremove 

6. Conclusion

Installing Google Chrome on Ubuntu and Linux Mint is a straightforward process that only takes a few minutes. By following this guide, you can enjoy Chrome’s speed, security, and features on your Linux system. Whether you’re switching from another browser or installing Chrome for the first time, the steps outlined here will help you get started.

With Chrome installed, you can browse the web, install extensions, and sync your data across devices. If you ever encounter issues, the troubleshooting tips provided should help you resolve them quickly. And if you decide to switch back to another browser, uninstalling Chrome is just as easy.

Google Chrome is a powerful tool that enhances your browsing experience, making it a great choice for users on Ubuntu and Linux Mint.

Fedya Serafiev

Fedya Serafiev

Fedya Serafiev owns the website linuxcodelab.eu. He finds satisfaction in helping people solve even the most complex technical problems. His current goal is to write easy-to-follow articles so that such problems do not arise at all.

Thank you for reading the article! If you found the information useful, you can donate using the buttons below: