How to Install Chromium on Ubuntu 24.04
Complete guide to install Chromium on Ubuntu 24.04 LTS using Snap and APT, with Wayland hardware acceleration and default browser settings.

5 min read
Complete guide to install Chromium on Ubuntu 24.04 LTS using Snap and APT, with Wayland hardware acceleration and default browser settings.
- Prerequisites and Supported Releases
- Step 1: Understanding Chromium Packaging on Modern Ubuntu
- Step 2: Installing Chromium via Snap (Recommended Default)
Software developers, privacy advocates, and Linux enthusiasts frequently prefer an unbranded, open-source web browsing engine that delivers cutting-edge web standard compliance without proprietary telemetry. When you install chromium on ubuntu 24.04, you deploy the core open-source browser project that powers modern web architectures, providing full compatibility with Chrome Web Store extensions, developer DevTools, and V8 JavaScript execution.
On Ubuntu 24.04 LTS, Canonical packages Chromium primarily as a sandboxed Snap package, which automates background security updates and isolates browser processes from the underlying host filesystem. This tutorial covers installation via Snap and APT transitional wrappers, explores native deb repository alternatives, and configures hardware acceleration flags for seamless Wayland desktop rendering.
Chromium is the high-performance open-source foundation behind Google Chrome, Microsoft Edge, and modern web engines. This guide shows how to install Chromium on Ubuntu 24.04 LTS using the official Snap package and native deb alternatives, configure Wayland hardware video decoding, manage extensions, and configure default browser settings.
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:
- An active Ubuntu 24.04 LTS system with a graphical desktop environment (GNOME, KDE, XFCE).
- A user account with active sudo administrative privileges.
- An active Internet connection to download browser packages.
- At least 500 MB of available disk storage.
Step 1: Understanding Chromium Packaging on Modern Ubuntu
Before running installation commands, it is helpful to understand how Canonical distributes Chromium on Ubuntu. If you execute sudo apt install chromium-browser, Ubuntu installs a transitional dummy package that automatically invokes snap install chromium.
This architectural shift ensures that Chromium receives rapid upstream security patches directly without waiting for Debian or Ubuntu distribution point release cycles.
| Attribute | Official Snap Package | Native DEB / PPA Alternative |
|---|---|---|
| Maintenance | Maintained directly by Canonical | Community maintained (e.g. Linux Mint / Debian upstream) |
| Security Updates | Automated background rollouts | Standard apt upgrade schedule |
| Confinement | Strict AppArmor / cgroups sandboxing | Traditional unrestricted Linux process |
| File Access | Access to ~/ and connected mounts | Direct access to full local filesystem |
| Startup Overhead | Minimal container init on cold boot | Instant native execution |
Step 2: Installing Chromium via Snap (Recommended Default)
The Snap daemon creates all desktop shortcuts, registers MIME handlers, and downloads necessary sandboxing profiles automatically.
# Install Chromium from the stable channel
sudo snap install chromium
# Expected confirmation output:
# chromium 126.0.6478.126 from Canonical✓ installed
Step 3: Alternative Method — Installing Native DEB via Linux Mint PPA
If your workflow specifically prohibits Snap packages (e.g. automated Selenium testing grids in lightweight Docker containers), you can acquire native DEB packages from Linux Mint's official Debian package repository, which builds un-snapped Chromium binaries.
Configure the Linux Mint repository and pin its priority higher than standard Ubuntu repositories to prevent APT from overriding the package.
# Import the Linux Mint package signing key
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL http://packages.linuxmint.com/mint.gpg | gpg --dearmor | sudo tee /etc/apt/keyrings/linuxmint.gpg > /dev/null
# Add the Linux Mint package repository
echo "deb [signed-by=/etc/apt/keyrings/linuxmint.gpg] http://packages.linuxmint.com virginia upstream" | sudo tee /etc/apt/sources.list.d/linuxmint.list
# Pin package priority so only Chromium is pulled from this repository
sudo tee /etc/apt/preferences.d/mint-chromium <<EOF
Package: chromium
Pin: origin packages.linuxmint.com
Pin-Priority: 900
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: -1
EOF
# Update package index and install native DEB
sudo apt update
sudo apt install -y chromium
Step 4: Launching Chromium and Setting as Default Browser
You can launch Chromium by searching for Chromium Web Browser in the GNOME Application Dash, or by invoking the binary from your terminal.
To set Chromium as your operating system's default browser for all web links, use the xdg-settings command.
# Launch Chromium from the terminal
chromium &
# Set Chromium as the default system browser
xdg-settings set default-web-browser chromium_chromium.desktop
# Verify current default browser configuration
xdg-settings get default-web-browser
Step 5: Enabling Hardware Video Acceleration on Wayland
You can verify hardware acceleration inside Chromium by navigating to chrome://gpu in the address bar. Look for Video Decode: Hardware accelerated highlighted in green.
# Launch Chromium with native Wayland and VA-API video decoding flags
chromium --ozone-platform=wayland --enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks
Step 6: Managing Removable Media and Printer Permissions for Snap
Because the Snap version operates within a security confinement sandbox, it cannot read files on external USB drives or access network printers by default.
Connect the necessary Snap interface plugs to grant permissions:
# Grant access to external USB drives and network mounts
sudo snap connect chromium:removable-media
# Grant access to CUPS printing services
sudo snap connect chromium:cups-control
Step 7: Completely Uninstalling Chromium from Ubuntu 24.04
If you need to remove Chromium, execute the command corresponding to your chosen installation method.
# If installed via Snap:
sudo snap remove chromium
# If installed via APT / Linux Mint repo:
sudo apt purge -y chromium
sudo rm -f /etc/apt/sources.list.d/linuxmint.list /etc/apt/preferences.d/mint-chromium /etc/apt/keyrings/linuxmint.gpg
# Remove local browsing profile data:
rm -rf ~/snap/chromium ~/.config/chromium
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:
Chromium cannot access files in /mnt or /media.
Cause: Strict Snap confinement prevents reading non-home filesystem paths.
Resolution: Connect the removable-media plug: sudo snap connect chromium:removable-media.
sudo snap connect chromium:removable-media
Screen sharing does not work during Google Meet or Zoom calls on Wayland.
Cause: PipeWire desktop portal permissions are missing or WebRTC pipewire flags are disabled.
Resolution: Ensure xdg-desktop-portal-gnome is installed and launch Chromium with --enable-features=WebRTCPipeWireCapturer.
sudo apt install -y xdg-desktop-portal-gnome
Chromium fails to launch with 'Missing sandbox' error in root containers.
Cause: Running Chromium as root without unprivileged user namespaces.
Resolution: Never run browsers as root, or pass the --no-sandbox flag inside isolated test containers.
chromium --no-sandbox
Security Best Practices and Hardening
Chromium's Snap confinement provides an essential defense-in-depth security layer against zero-day browser exploits.
Avoid running Chromium with --no-sandbox on personal workstations, as disabling the sandbox exposes the host filesystem to remote malicious JavaScript payloads.
Periodically audit installed browser extensions and remove unverified extensions to protect sensitive browser sessions, cookies, and tokens from credential leakage.
Use isolated browser profile instances when conducting automated testing or security penetration assessments against staging web targets.
Related Ubuntu Tutorials and Documentation
Deepen your Linux system administration skills with our related production-tested guides:
- How to Install Google Chrome Web Browser on Ubuntu 24.04 — Compare open-source Chromium with proprietary Google Chrome on Ubuntu.
- How to Install Microsoft Edge Browser on Ubuntu 24.04 — Deploy Microsoft Edge alongside Chromium-based browser workflows.
- How to Uninstall Software Packages on Ubuntu — Master package and snap removal, cache cleaning, and profile purging.
Authoritative References and Official Documentation

The Linux Command Line, 2nd Edition: A Complete Introduction
Frequently Asked Questions
Quick answers to common questions and configurations
chromium --incognito.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!