How to Install Microsoft Edge Browser on Ubuntu 24.04
Learn how to install Microsoft Edge browser on Ubuntu 24.04 LTS using the official Microsoft APT repository and DEB package with update steps.

6 min read
Learn how to install Microsoft Edge browser on Ubuntu 24.04 LTS using the official Microsoft APT repository and DEB package with update steps.
- Prerequisites and Supported Releases
- Step 1: Installing Required Dependencies and Security Tooling
- Step 2: Adding the Microsoft GPG Signing Key
Modern Linux desktop users often require seamless interoperability with corporate enterprise environments, Microsoft 365 accounts, and cross-platform extensions. When you install microsoft edge browser on ubuntu 24.04, you obtain a fast, secure Chromium-powered web browser equipped with vertical tabs, built-in tracking prevention, Microsoft Entra ID enterprise single sign-on, and AI-assisted workflows.
Deploying Microsoft Edge on Ubuntu can be achieved either by configuring Microsoft's official APT software repository or by installing a standalone Debian package. Configuring the repository method is recommended for production environments because it guarantees that your browser receives automated security patches, bug fixes, and feature updates through Ubuntu's standard package management system.
Microsoft Edge provides a high-performance Chromium-based browsing experience on Linux with enterprise security, cross-device sync, and Copilot integration. This guide shows how to install Microsoft Edge browser on Ubuntu 24.04 LTS using the official Microsoft APT repository and DEB packages, configure default browser settings, and manage updates cleanly.
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 server installation of Ubuntu 24.04 LTS with an active graphical desktop environment (GNOME, XFCE, KDE, or similar).
- A user account with sudo administrative privileges.
- An active Internet connection to download packages from Microsoft repositories.
- The
curlandgpgcommand-line tools installed for package repository signing.
Step 1: Installing Required Dependencies and Security Tooling
Before configuring external third-party repositories, you must ensure that required networking, transport, and encryption packages are installed on your Ubuntu system.
Open your terminal and install curl, gpg, and apt-transport-https via APT.
# Refresh package index and install repository utilities
sudo apt update
sudo apt install -y curl gpg apt-transport-https ca-certificates
Step 2: Adding the Microsoft GPG Signing Key
Verifying the key permissions prevents unprivileged users from modifying repository verification anchors while ensuring the APT package manager can read the key during package updates.
# Ensure the keyrings directory exists with proper permissions
sudo install -m 0755 -d /etc/apt/keyrings
# Download and dearmor Microsoft's public GPG key into the keyrings directory
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
# Set secure read permissions on the keyring file
sudo chmod 0644 /etc/apt/keyrings/microsoft.gpg
Step 3: Configuring the Official Microsoft Edge APT Repository
Specifying [arch=amd64] ensures APT does not trigger multi-architecture warnings for missing 32-bit or ARM package lists on 64-bit systems.
# Add the Microsoft Edge repository specification
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" | sudo tee /etc/apt/sources.list.d/microsoft-edge.list
Step 4: Updating Package Lists and Installing Microsoft Edge
Now that the repository is registered, refresh your local package cache so APT recognizes the newly available Microsoft Edge packages.
Install the stable production release of Microsoft Edge using apt install.
# Update package lists
sudo apt update
# Install the stable release of Microsoft Edge
sudo apt install -y microsoft-edge-stable
Available Edge Release Channels on Ubuntu
Microsoft maintains three distinct release channels for Linux users. You can install any or all channels concurrently on a single Ubuntu machine:
microsoft-edge-stable: Fully tested production release recommended for daily work.
microsoft-edge-beta: Provides upcoming major versions six weeks early for validation.
microsoft-edge-dev: Updated weekly with bleeding-edge features and preview flags.
# To install the Beta or Dev channel instead:
sudo apt install -y microsoft-edge-beta
# or
sudo apt install -y microsoft-edge-dev
Step 5: Alternative Method — Installing via Standalone DEB Package
If you prefer not to configure repositories manually via command line, you can download the official .deb installer directly from Microsoft's website and install it using APT.
When you install the official DEB package, Microsoft's installer scripts automatically configure the APT repository and GPG key for you.
# Download the latest stable Debian package directly from Microsoft
curl -fsSL -o microsoft-edge-stable.deb "https://go.microsoft.com/fwlink?linkid=2140066"
# Install the package with dependencies resolved automatically
sudo apt install -y ./microsoft-edge-stable.deb
# Remove the temporary download
rm microsoft-edge-stable.deb
Step 6: Launching Microsoft Edge and Setting as Default Browser
Once installation completes, launch Microsoft Edge from the GNOME Application overview by searching for Microsoft Edge, or start it directly from your terminal session.
To configure Microsoft Edge as the default web browser across your desktop environment, use the xdg-settings command.
# Launch Microsoft Edge from the terminal
microsoft-edge &
# Set Microsoft Edge as the system default web browser
xdg-settings set default-web-browser microsoft-edge.desktop
# Verify current default browser configuration
xdg-settings get default-web-browser
Configuring the CLI Alternatives System
For terminal utilities and development scripts that invoke x-www-browser, configure the Debian alternatives system to point to Microsoft Edge.
# Update alternative link for x-www-browser
sudo update-alternatives --config x-www-browser
Step 7: Updating and Managing Microsoft Edge on Ubuntu
Because Microsoft Edge was added via the official APT repository, you do not need to repeat the download process when a new version is released. Edge is automatically updated whenever you run standard system updates.
To update only the Microsoft Edge browser without performing a full system upgrade, target the package explicitly.
# Update package metadata and upgrade Microsoft Edge
sudo apt update
sudo apt --only-upgrade install -y microsoft-edge-stable
Step 8: Completely Uninstalling Microsoft Edge and Removing Repositories
If you need to remove Microsoft Edge from your system, use apt purge to delete the application binaries and global configuration files cleanly.
After removing the application, delete the repository source file and GPG keyring to keep your package sources pristine.
# Remove Microsoft Edge and configuration files
sudo apt purge -y microsoft-edge-stable
# Remove repository configuration and GPG key
sudo rm -f /etc/apt/sources.list.d/microsoft-edge.list
sudo rm -f /etc/apt/keyrings/microsoft.gpg
# Optionally remove local user profiles and browser cache
rm -rf ~/.config/microsoft-edge ~/.cache/microsoft-edge
# Refresh package cache
sudo apt update
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.
Cause: The Microsoft repository was configured using the deprecated apt-key add command instead of /etc/apt/keyrings.
Resolution: Remove the legacy key using sudo apt-key del and configure the key inside /etc/apt/keyrings/microsoft.gpg using the signed-by directive.
sudo rm -f /etc/apt/trusted.gpg.d/microsoft.gpg
Microsoft Edge fails to launch with 'Missing sandbox' error.
Cause: AppArmor or Linux user namespace restrictions on Ubuntu 24.04 LTS block unprivileged browser sandboxes.
Resolution: Ensure user namespaces are enabled on Ubuntu 24.04: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 or update AppArmor profiles.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Video playback hardware acceleration does not work on Wayland.
Cause: Default Chromium flags under Wayland session may not automatically enable VA-API hardware video decoding.
Resolution: Launch Edge with hardware acceleration and Wayland flags enabled.
microsoft-edge --ozone-platform=wayland --enable-features=VaapiVideoDecoder
Security Best Practices and Hardening
Always verify repository keys are stored under /etc/apt/keyrings/ with restricted read-only permissions (0644).
Never execute third-party shell scripts to install desktop browsers without reviewing repository endpoints.
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 — Explore Chrome installation and repository management on Ubuntu.
- How to Uninstall Software Packages on Ubuntu — Master clean package uninstallation, purging configurations, and removing residual dependencies.
- How to Add APT Repository in Ubuntu — Comprehensive guide to managing third-party APT repositories, PPA keys, and sources.
Authoritative References and Official Documentation

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