Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Google Chrome Web Browser on Ubuntu 24.04

Learn how to install google chrome on ubuntu 24.04 LTS using the official .deb package, terminal commands, automated updates, and desktop launcher.

RR
Rajesh RayLead Systems Educator
Published:
5 min read
PDF Cheat Sheet
How to Install Google Chrome Web Browser on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

5 min read

Learn how to install google chrome on ubuntu 24.04 LTS using the official .deb package, terminal commands, automated updates, and desktop launcher.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Downloading the Official Google Chrome Debian Package
  • Step 2: Installing Google Chrome via APT
Grounded in full engineering runbookWebsiteVidya AI Engine

Google Chrome is the world's most widely adopted web browser, renowned for its blazing V8 JavaScript execution speed, extensive extension ecosystem, native hardware acceleration, and developer tools.

While Ubuntu ships with Mozilla Firefox pre-installed as the default web browser, millions of users and web developers prefer or require Google Chrome for web design testing, corporate enterprise logins, and cross-device account synchronization.

Because Google Chrome is proprietary software, it is not hosted in Ubuntu's default open-source repositories; however, Google provides a dedicated, official .deb installer package for 64-bit Linux distributions.

In this guide, we walk through how to install google chrome on ubuntu 24.04 LTS cleanly using both terminal commands and graphical package managers, configure automated security updates, and test headless automation.

Advertisement

Prerequisites and Supported Releases

This guide is thoroughly verified on Ubuntu 24.04 LTS (Noble Numbat) & Ubuntu 22.04 LTS. The instructions apply cleanly to cloud instances (AWS EC2, Google Compute Engine, DigitalOcean, Hetzner), bare-metal servers, and local virtual machines.

Before proceeding, ensure you have the following requirements satisfied:

  • A desktop or virtual machine running Ubuntu 24.04 LTS or Ubuntu 22.04 LTS.
  • A non-root user account with sudo administrative privileges.
  • A working internet connection to download the installer package.
  • A 64-bit x86_64 CPU architecture (Google Chrome discontinued 32-bit Linux releases).

Step 1: Downloading the Official Google Chrome Debian Package

Google maintains a static direct-download endpoint for the latest stable Linux build.

Advertisement

Open your terminal and navigate to your user's ~/Downloads directory (or /tmp):

Use the wget utility to download the official google-chrome-stable_current_amd64.deb package directly from Google's servers:

# Navigate to Downloads directory:
cd ~/Downloads

# Download the official Google Chrome stable .deb package:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

# Verify that the package was downloaded successfully:
ls -lh google-chrome-stable_current_amd64.deb
# Output confirms a file size around ~105 MB to ~115 MB.

Step 2: Installing Google Chrome via APT

While you could install the package using dpkg -i, using apt install is strongly recommended because APT automatically identifies and installs any missing shared graphic libraries or font dependencies.

Provide the relative path (beginning with ./) so APT treats the argument as a local package file:

Advertisement

Execute the installation command with administrative privileges:

# Update repository cache:
sudo apt update

# Install the local Google Chrome .deb package:
sudo apt install -y ./google-chrome-stable_current_amd64.deb

# Verify installed Chrome version:
google-chrome --version
# Expected output confirms: Google Chrome 124.x (or newer stable build)

Step 3: Understanding Google's Official APT Repository Integration

During installation, the official .deb package automatically configures Google's official APT repository on your Ubuntu machine.

It adds the repository source file into /etc/apt/sources.list.d/google-chrome.list and installs Google's cryptographic signing key into /etc/apt/trusted.gpg.d/.

This ensures that future releases of Google Chrome are automatically downloaded and applied whenever you run standard system updates:

Verify the repository configuration file:

# Inspect Google's repository configuration file:
cat /etc/apt/sources.list.d/google-chrome.list
# Output confirms:
# deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

# Subsequent updates will automatically fetch new Chrome builds:
sudo apt update && sudo apt --only-upgrade install -y google-chrome-stable

Step 4: Launching Google Chrome on Ubuntu

Once installed, you can launch Google Chrome from either the graphical user interface or the terminal command line.

From the GNOME desktop, press the Super key (Windows key) or click on the Show Apps grid icon in the dock, search for Google Chrome, and click the application icon.

To launch Chrome directly from your command-line terminal, run:

Chrome opens and presents an initial prompt offering to set Chrome as your default browser and send crash reports to Google.

# Launch Google Chrome in background from terminal:
google-chrome &

# Open a specific website directly from the CLI:
google-chrome https://websitevidya.com &

Step 5: Running Google Chrome in Headless Mode (CLI Automation)

Developers frequently use Google Chrome on Ubuntu servers or CI/CD test runners to take website screenshots, generate PDFs, or run automated browser test suites without a physical display.

Use the --headless flag to execute Chrome silently from the command line:

Here are practical examples generating a full-page screenshot and printing a website to PDF:

# Take an automated screenshot of a webpage:
google-chrome --headless --disable-gpu --screenshot=screenshot.png https://websitevidya.com

# Generate a PDF of a website:
google-chrome --headless --disable-gpu --print-to-pdf=webpage.pdf https://websitevidya.com

# Dump rendered HTML DOM of a single-page application:
google-chrome --headless --disable-gpu --dump-dom https://example.com

Step 6: Uninstalling Google Chrome from Ubuntu

If you no longer need Google Chrome, remove the software using standard APT package management commands.

Use apt purge to remove the binary packages and global configuration files:

Optionally remove the residual Google APT repository list and downloaded installer package:

# Purge Google Chrome package and global configuration:
sudo apt purge -y google-chrome-stable

# Remove orphaned dependencies:
sudo apt autoremove -y

# Remove Google's repository source list:
sudo rm -f /etc/apt/sources.list.d/google-chrome.list

# Remove downloaded .deb installer:
rm -f ~/Downloads/google-chrome-stable_current_amd64.deb

Troubleshooting and Common Errors

When configuring Ubuntu servers, unexpected permission errors, network timeouts, or lock contention can occur. Review these common issues and verified resolutions:

dpkg: dependency problems prevent configuration of google-chrome-stable

Cause: Installing via dpkg -i failed because prerequisite font or graphics libraries were missing.

Resolution: Run sudo apt --fix-broken install to download and configure the missing dependencies automatically.

sudo apt --fix-broken install -y

Running as root without --no-sandbox is not supported

Cause: Attempting to launch Google Chrome as the root administrative user, which Chrome blocks for security reasons.

Resolution: Launch Chrome as a standard non-root user, or add --no-sandbox if running inside an automated Docker container.

google-chrome --no-sandbox &

Chrome fails to launch or displays black window under Wayland

Cause: Hardware graphics acceleration conflicts with Ubuntu 24.04's default Wayland display server.

Resolution: Launch Chrome with the Wayland ozone flag enabled: google-chrome --ozone-platform-hint=auto &.

google-chrome --ozone-platform-hint=auto &

Security Best Practices and Hardening

Always download Google Chrome exclusively from Google's official dl.google.com domain to avoid trojanized third-party builds.

Never run Google Chrome with --no-sandbox during routine web browsing; the Chromium sandbox isolates malicious web scripts from the host operating system.

Keep automatic updates enabled in APT so Chrome receives critical Zero-Day security patches immediately.

Deepen your Linux system administration skills with our related production-tested guides:

Authoritative References and Official Documentation

Frequently Asked Questions

Quick answers to common questions and configurations

4 FAQs
No. The Ubuntu App Center provides open-source Chromium and Firefox (packaged as Snaps), but proprietary Google Chrome must be downloaded directly as a .deb package from Google.
When you install Google Chrome, it configures an official APT repository in /etc/apt/sources.list.d/google-chrome.list. Whenever you run sudo apt update && sudo apt upgrade, Chrome updates alongside your operating system.
Yes. Google packages Chrome Stable (google-chrome-stable), Chrome Beta (google-chrome-beta), and Chrome Unstable/Dev (google-chrome-unstable) as independent packages that can coexist on the same machine.
Google Chrome stores user profiles, extensions, bookmarks, and browsing history in your home directory at ~/.config/google-chrome/.
RR
Written byVerified Author

Rajesh Ray

I’m Rajesh Rai, a full-stack developer, Linux administrator, and technology enthusiast passionate about making complex technology easier to understand and use.

SPAM-FREE MODERATED DISCOURSE

Join the Conversation & Perspective

Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.

AT
MP
JV
+2

No comments on this guide yet. Be the first to share your thoughts or ask a question!

Recommended Reading10 Guides

Related Technical Guides

Tested runbooks, server administration walkthroughs, and troubleshooting guides

Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout