Website Vidya
Linux & ServersStep-by-Step Guide

How to Install Google Chrome on Ubuntu 24.04

Learn how to install Google Chrome on Ubuntu 24.04 LTS using the official Google repository, configure GPG keys, launch the browser, and manage updates.

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

7 min read

Learn how to install Google Chrome on Ubuntu 24.04 LTS using the official Google repository, configure GPG keys, launch the browser, and manage updates.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Preparing Your System and Verifying Architecture
  • Step 2: Installing Essential Prerequisites
Grounded in full engineering runbookWebsiteVidya AI Engine

Web browsing speed, rendering engine fidelity, and enterprise developer tools make Google Chrome an indispensable application for developers, system administrators, and everyday desktop users. When you install google chrome on ubuntu 24.04, you gain direct access to Google's proprietary Blink rendering engine, built-in PDF viewing capabilities, synchronized bookmarks, and enterprise security policies.

Because Google Chrome is proprietary software, it is not distributed in Ubuntu's default upstream universe repositories. However, Google maintains an official APT repository specifically tailored for Debian and Ubuntu distributions. Configuring this official repository ensures that your Chrome installation receives immediate zero-day security patches, browser engine upgrades, and stability improvements alongside your standard system updates.

In this tutorial, you will discover two verified methods to install Google Chrome on Ubuntu 24.04 LTS: configuring the official signed APT repository with modernized GPG keyrings in /etc/apt/keyrings/, and installing the downloaded .deb binary directly via apt. You will also learn post-installation configurations including hardware acceleration under Wayland and headless CLI usage.

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 workstation installation of Ubuntu 24.04 LTS (64-bit x86_64 architecture).
  • A user account configured with sudo administrative privileges.
  • Access to a command-line terminal (Ctrl+Alt+T) and a stable Internet connection.
  • Basic familiarity with executing standard APT package manager commands.

Step 1: Preparing Your System and Verifying Architecture

Before attempting to download Google Chrome, ensure that your Ubuntu workstation is running on a 64-bit x86 architecture. Google ceased 32-bit Linux support years ago and does not provide an official ARM64 Linux build of desktop Google Chrome (Chromium is recommended for ARM64 machines such as Raspberry Pi).

Execute the dpkg --print-architecture command to verify your machine architecture, and update your local APT package database index to ensure all existing dependencies are current.

Advertisement
# Verify system architecture (must return amd64)
dpkg --print-architecture

# Refresh the local package index and upgrade existing packages
sudo apt update && sudo apt upgrade -y

Step 2: Installing Essential Prerequisites

To fetch Google's GPG repository signing key and manage secure TLS connections over HTTPS, you must ensure that utility packages such as curl, ca-certificates, and gnupg are installed on your workstation.

Install these foundational networking and security packages using the standard APT package manager.

# Install curl, ca-certificates, and gnupg
sudo apt install -y curl ca-certificates gnupg

Step 3: Configuring the Official Google Chrome APT Repository

In modern Ubuntu releases like Ubuntu 24.04 LTS, using the deprecated apt-key add utility is strongly discouraged due to security vulnerabilities where third-party keys could validate unverified packages globally. Instead, follow Debian repository best practices by importing Google's public key directly into /etc/apt/keyrings/.

First, verify that the /etc/apt/keyrings directory exists with secure permissions (0755). Then, download Google's official public GPG key, de-armor it, and store it securely.

Advertisement
# Create the secure keyrings directory if it does not already exist
sudo install -m 0755 -d /etc/apt/keyrings

# Download and de-armor Google's official signing key
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /etc/apt/keyrings/google-chrome.gpg

# Ensure read-only permissions for the imported keyring
sudo chmod a+r /etc/apt/keyrings/google-chrome.gpg

Step 4: Adding the Google Chrome Source List

With the cryptographic keyring safely in place, create an isolated repository source list entry under /etc/apt/sources.list.d/google-chrome.list. This entry explicitly references the GPG key via the signed-by attribute, preventing unauthorized repository interception.

Write the source repository configuration using the following command:

# Add the official Google Chrome repository definition
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] https://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list

Step 5: Installing Google Chrome via APT

Now that the repository is registered, refresh your APT package database so that APT recognizes the packages hosted on Google's repository servers.

Once refreshed, install the stable release package google-chrome-stable. APT will automatically resolve and install all shared graphical libraries and fonts required by Chrome.

# Update package index to include the newly added Google repository
sudo apt update

# Install Google Chrome Stable
sudo apt install -y google-chrome-stable

Alternative Method: Installing Google Chrome via Official .deb Package

If you prefer a direct single-file installation without manually creating source list files, you can download the pre-compiled .deb bundle directly from Google's distribution servers using wget.

When you install the package using sudo apt install ./google-chrome-stable_current_amd64.deb, APT automatically fetches required runtime dependencies and configures Google's daily cron update task under /etc/cron.daily/google-chrome.

# Navigate to the temporary directory
cd /tmp

# Download the latest 64-bit Google Chrome Debian package
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

# Install the package and resolve dependencies automatically
sudo apt install -y ./google-chrome-stable_current_amd64.deb

# Clean up the downloaded deb installer
rm -f google-chrome-stable_current_amd64.deb

Step 6: Launching and Verifying Google Chrome

Once installation completes, you can start Google Chrome from your graphical desktop or directly from the terminal command line.

To launch Chrome from the GNOME application menu, press the Super key (Windows key), type Google Chrome, and click the application icon. Alternatively, launch it from your active terminal session using the binary command.

# Launch Google Chrome from the terminal
google-chrome-stable &

# Check the installed binary version
google-chrome-stable --version

Step 7: Configuring Hardware Acceleration and Wayland Support

Ubuntu 24.04 LTS uses the Wayland display protocol by default. While Chrome runs smoothly under XWayland emulation, enabling native Wayland rendering delivers lower latency, crisp high-DPI scaling, and superior battery efficiency on laptops.

Open Google Chrome, navigate to chrome://flags in your URL bar, and set the following parameters:

1. Search for Preferred Ozone platform and set it to Auto or Wayland.

2. Search for Hardware-accelerated video decode and ensure it is set to Enabled.

After changing these flags, click the Relaunch button in the bottom right corner of the browser window. You can verify GPU status by visiting chrome://gpu.

Step 8: Managing and Updating Google Chrome

Because Google Chrome integrates directly into Ubuntu's APT ecosystem, software updates occur seamlessly alongside standard system maintenance.

Whenever Google publishes a new Chrome release or emergency security patch, running standard system upgrade commands will immediately upgrade Chrome.

# Update package metadata and upgrade Chrome specifically
sudo apt update
sudo apt --only-upgrade install -y google-chrome-stable

Step 9: Removing Google Chrome from Ubuntu 24.04

If you decide to uninstall Google Chrome from your Ubuntu 24.04 system, remove the application package and associated configuration files cleanly.

Run the following sequence to purge the package, clean up repository files, and remove the GPG keyring.

# Purge Google Chrome and orphaned dependencies
sudo apt purge -y google-chrome-stable
sudo apt autoremove -y

# Remove repository configuration files and GPG keyring
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
sudo rm -f /etc/apt/keyrings/google-chrome.gpg

# Optionally remove local user profile cache and preferences
rm -rf ~/.config/google-chrome ~/.cache/google-chrome

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:

APT warning: Key is stored in legacy trusted.gpg keyring

Resolution: This warning occurs when old instructions imported keys using apt-key add. Resolve it by deleting the old key from /etc/apt/trusted.gpg using sudo apt-key del <key-id> and ensuring your repository file in /etc/apt/sources.list.d/google-chrome.list uses signed-by=/etc/apt/keyrings/google-chrome.gpg.

Google Chrome crashes or displays blank white pages under Wayland

Resolution: Launch Chrome from the command line with software rendering fallback: google-chrome-stable --disable-gpu. If the browser opens successfully, update your GPU graphics drivers or reset hardware acceleration flags via chrome://flags.

Error: No sandbox available when launching Chrome as root

Resolution: Google Chrome refuses to execute as the root user without sandboxing because it creates catastrophic privilege escalation risks. Always run Chrome as a standard non-root desktop user account.

Security Best Practices and Hardening

Always store external repository signing keys in /etc/apt/keyrings/ with read-only permissions (0644) rather than relying on legacy global keyrings.

Never run Google Chrome with --no-sandbox on production desktop workstations, as disabling the sandbox exposes your filesystem to malicious web payloads.

Keep Google Chrome updated regularly using sudo apt update && sudo apt upgrade to protect against published zero-day browser vulnerabilities.

Audit installed third-party Chrome extensions periodically to prevent unauthorized session hijacking, keystroke logging, or token theft.

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

3 FAQs
Yes, Google Chrome is free to download and use on Linux for personal and commercial environments under Google's proprietary Terms of Service.
Yes. Once Google's official repository is configured, you can install google-chrome-beta or google-chrome-unstable alongside the stable version.
Go to Settings > Apps > Default Apps, locate Web, and select Google Chrome. You can also execute xdg-settings set default-web-browser google-chrome.desktop in your terminal.
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