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.

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.
- Prerequisites and Supported Releases
- Step 1: Downloading the Official Google Chrome Debian Package
- Step 2: Installing Google Chrome via APT
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.
Complete step-by-step desktop user and developer tutorial on how to install and maintain the official Google Chrome web browser on Ubuntu 24.04 LTS (Noble Numbat). Explains downloading the official 64-bit Debian package directly from Google, installing via APT with automatic dependency resolution, configuring Google's official APT repository for automated background updates, launching Chrome from the CLI and GUI, running headless Chrome for automation, and cleanly removing Chrome.
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
sudoadministrative 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.
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:
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.
Related Ubuntu Tutorials and Documentation
Deepen your Linux system administration skills with our related production-tested guides:
- Install deb Files on Ubuntu: apt, dpkg, and gdebi — Comprehensive guide to managing standalone Debian deb installer files.
- How to Add APT Repository in Ubuntu 24.04 and 22.04 — Master modern signed-by keyrings and repository sources on Ubuntu.
- Initial Server Setup on Ubuntu 24.04 LTS — Essential baseline hardening and developer environment setup.
Authoritative References and Official Documentation

The Linux Command Line, 2nd Edition: A Complete Introduction
Frequently Asked Questions
Quick answers to common questions and configurations
.deb package from Google./etc/apt/sources.list.d/google-chrome.list. Whenever you run sudo apt update && sudo apt upgrade, Chrome updates alongside your operating system.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.~/.config/google-chrome/.Editorial Disclosure: Website Vidya is supported by our readers. When you purchase hosting, tools, or software through our verified partner links, we may earn an affiliate commission at no extra cost to you. We only recommend solutions we trust and rigorously verify.
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.
Most Read Guides
TrendingUbuntu Server Not Booting? 10 Simple Steps to Fix It Fast
How to Create a 3D Button in HTML and CSS: Easy Steps
How to Install Python and Pip on Ubuntu 24.04 LTS
How to Install Nginx on Ubuntu 24.04
How to Install Python on Ubuntu 24.04 LTS
Related Technical Guides
Tested runbooks, server administration walkthroughs, and troubleshooting guides


Join the Conversation & Perspective
Have thoughts, counterpoints, or reflections on this story? Engage directly with fellow readers and editorial contributors.
No comments on this guide yet. Be the first to share your thoughts or ask a question!