How To Install Google Chrome On Ubuntu Using Command Line Or Gui

Why Chrome Stands Out on Ubuntu

You’re running Ubuntu, a powerhouse of open-source software, but sometimes you just need that specific tool that works seamlessly with your workflow. Maybe it’s a web application your company uses, a browser extension that doesn’t have a Firefox equivalent, or simply the familiarity of Chrome’s developer tools. The default Firefox browser is excellent, yet the call for Google Chrome is strong for many users.

Installing software on Ubuntu is usually a one-click affair from the Software Center. However, Chrome isn’t found there by default because it’s not part of the official Ubuntu repositories. This leads to a common point of confusion for new and experienced users alike: how do you safely and correctly get Chrome onto your system?

The process is straightforward once you know the path. You can choose between the graphical software center method or the terminal route, which is often faster and gives you more control. This guide will walk you through both, ensuring you have Chrome up and running, updated, and integrated with your system in minutes.

Prerequisites Before You Begin

Before downloading any new software, it’s good practice to ensure your system is current. This minimizes the chance of conflicts and ensures you have the latest security updates for your core system.

Open your terminal. You can do this by pressing Ctrl + Alt + T on your keyboard. Once it’s open, run the following two commands one after the other. You will be prompted to enter your user password; when you type it, no characters (asterisks or dots) will appear. This is normal security behavior for the terminal.

sudo apt update

This command refreshes your local package index. It fetches the latest list of available software from the repositories configured on your system. It does not install or upgrade any packages itself.

sudo apt upgrade -y

This command upgrades all the installed packages on your system to their latest available versions from the repositories. The -y flag automatically answers “yes” to the prompt, allowing the upgrade to proceed without further input. This step might take a few minutes depending on the number of updates.

With your system updated, you’re ready to proceed with the Chrome installation. You’ll also need a working internet connection, as the installer will download the actual browser package from Google’s servers.

Method One: Installation via the Terminal (Recommended)

Using the terminal might seem daunting if you’re new to Linux, but it’s often the fastest and most reliable method. The steps are sequential and give you clear feedback at each stage. We’ll use the wget command to download the official .deb package and then install it using the apt package manager.

Download the Official Chrome Package

First, navigate to a directory where you want to place the download file, like your Downloads folder. Use this command:

cd ~/Downloads

Now, download the latest stable version of Chrome for 64-bit Linux. The following command fetches the package directly from Google.

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

You should see output showing the download progress, ending with a message like ‘Saving to: google-chrome-stable_current_amd64.deb’. This file is the installer package.

Install the Downloaded Package

With the .deb file in your directory, you can now install it. Use the apt install command pointing to the local file. The ./ before the filename is important, as it tells apt the file is in the current directory.

sudo apt install ./google-chrome-stable_current_amd64.deb

how to instal chrome on ubuntu

Apt will analyze the package, list the new dependencies it needs to install (like libraries Chrome requires), and ask for confirmation. Press ‘Y’ and then Enter to continue. The package manager will handle everything from here, fetching dependencies from Ubuntu’s repositories and configuring Chrome.

Launch and Verify the Installation

Once the installation finishes, you can launch Chrome immediately from the terminal:

google-chrome

More conveniently, you can find it in your application menu. Click the “Show Applications” button (usually at the bottom of the dock) and search for “Chrome”. You should see the Google Chrome icon. You can pin it to your dock for easy access.

On first launch, Chrome will ask if you want to set it as your default browser and may offer to sign in to your Google account to sync bookmarks, history, and passwords. These choices are up to you.

Method Two: Installation via GUI and Software Center

If you prefer using graphical interfaces, the process is just as simple. It involves manually downloading the package from Google’s website and using the Ubuntu Software Center to install it.

Download the Package from the Web

Open Firefox (or your current default browser). Navigate to the official Google Chrome download page: google.com/chrome.

The website should automatically detect you are on Linux and offer a download button for the .deb package (For Debian/Ubuntu). Click the “Download Chrome” button.

In the pop-up that appears, confirm the download by selecting the .deb package option and accepting the Terms of Service. The file will download to your ~/Downloads folder.

Install Using the Software Center

Open your file manager (Files/Nautilus) and navigate to the Downloads folder. Find the file named something like google-chrome-stable_current_amd64.deb. Double-click it.

This action will open the Ubuntu Software Center (or a minimal package installer) with details about the Chrome package. You will see an “Install” button. Click it.

You will be prompted to enter your user password to grant installation permissions. After entering it, the Software Center will handle the installation process, showing a progress bar. Once complete, the Install button will change to “Remove” or “Launch”.

You can now close the Software Center and find Google Chrome in your application menu, ready to launch.

Keeping Chrome Updated on Ubuntu

One significant advantage of installing Chrome via the methods above is that it automatically configures Google’s official repository on your system. This is crucial.

When you used apt to install the local .deb file, it added a repository source file in /etc/apt/sources.list.d/. You can verify this by looking for a file named google-chrome.list in that directory.

What this means is that Chrome will be updated seamlessly through your system’s normal update process. Whenever you run sudo apt update and sudo apt upgrade, the package manager will check Google’s servers for a newer version of Chrome and upgrade it alongside your other system packages.

You do not need to manually download new .deb files every time there’s a security patch or feature release. The system manages it for you, ensuring you always have the latest stable version with critical security fixes.

how to instal chrome on ubuntu

Troubleshooting Common Installation Hiccups

Sometimes, things don’t go perfectly. Here are solutions to common issues you might encounter.

Dependency Errors During Installation

If the sudo apt install command fails with errors about unmet dependencies, it’s often because your package lists are out of sync or a required repository isn’t enabled. First, try updating your package list again:

sudo apt update

Then, try installing the dependencies directly using the fix-broken flag:

sudo apt –fix-broken install

Finally, retry the Chrome installation command. This usually resolves dependency issues.

Package is Not Architecture Compatible

The command in this guide uses the _amd64.deb package, which is for 64-bit systems. Virtually all modern Ubuntu installations are 64-bit. If you are running a very old 32-bit (i386) system, Chrome is no longer officially provided by Google. Your best alternative is to use Chromium, the open-source project Chrome is based on, which is available in Ubuntu’s repositories via sudo apt install chromium-browser.

Software Center Fails to Open the .deb File

If double-clicking the .deb file doesn’t launch an installer, you can use the terminal method as a reliable fallback. Navigate to the Downloads folder in the terminal and run the sudo apt install ./package-name.deb command as detailed earlier. Alternatively, you can install the GDebi package installer tool first with sudo apt install gdebi, then right-click the .deb file and choose “Open With GDebi”.

Chrome Crashes on Launch or Has Graphical Glitches

This can occasionally happen, especially on systems with proprietary NVIDIA or AMD graphics drivers. A common fix is to launch Chrome with GPU composition disabled. You can create a modified desktop entry for this.

More simply, try launching from the terminal with a disable flag to test:

google-chrome –disable-gpu

If this works, you can make the change permanent by editing the Chrome desktop entry. Search for “Main Menu” or “Alacarte” in your applications to edit the launcher command.

Choosing Between Chrome and Chromium

You might hear about “Chromium” while searching for Chrome on Linux. It’s important to understand the difference. Chromium is the fully open-source browser project that forms the core of Chrome. Google Chrome is Google’s branded product built from Chromium, with added features like automatic updates, integrated Flash (historically), certain media codecs for proprietary video formats, and the Google branding.

You can install Chromium directly from the Ubuntu repositories with a simple sudo apt install chromium-browser. It’s a great, lightweight, and privacy-focused alternative. However, if you need guaranteed compatibility with sites like Netflix or need those specific integrated codecs, the official Chrome package is the way to go. The installation process for Chromium is simpler, but you trade some website compatibility for it.

Your Next Steps After Installation

With Chrome successfully installed, you can now tailor it to your workflow. Consider syncing your account if you use Chrome on other devices to bring over your bookmarks and extensions. Explore the Chrome Web Store for essential extensions like password managers, ad blockers, or developer tools.

Remember, because you installed it via the official package, Chrome will stay updated automatically. Make a habit of periodically running your system updates to keep everything secure. You’ve now added a powerful tool to your Ubuntu desktop, bridging the gap between open-source purity and practical, everyday web compatibility.

The flexibility of Ubuntu is that it supports both worlds. You can enjoy the stability and freedom of Linux while running the exact software you need to be productive. Whether you followed the terminal route or the GUI path, you’ve successfully navigated one of the common first tasks for new Ubuntu users, unlocking access to the wider web ecosystem.

Leave a Comment

close