Website Vidya
Linux & ServersStep-by-Step Guide

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.

RR
Rajesh RayLead Systems Educator
Published:
6 min read
PDF Cheat Sheet
How to Install Microsoft Edge Browser on Ubuntu 24.04
AI Executive SummaryWebsiteVidya AI

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.

Key Highlights
  • Prerequisites and Supported Releases
  • Step 1: Installing Required Dependencies and Security Tooling
  • Step 2: Adding the Microsoft GPG Signing Key
Grounded in full engineering runbookWebsiteVidya AI Engine

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.

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.

Advertisement

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 curl and gpg command-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.

Advertisement
# 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:

Advertisement

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.

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
Yes. Microsoft Edge on Ubuntu supports full profile synchronization, including bookmarks, extensions, passwords, browsing history, and open tabs across Windows, macOS, Android, and iOS.
Yes. Microsoft Edge is built on the open-source Chromium browser engine, offering full compatibility with Chrome Web Store extensions and modern web standards.
Microsoft Edge on Linux includes configurable privacy settings under Settings > Privacy, search, and services. You can set Tracking Prevention to 'Strict' and disable optional diagnostic telemetry according to your security posture.
You can open an InPrivate browsing window directly from your terminal by executing: microsoft-edge --inprivate.
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