Guides 11792 Published by

The guide walks a user through adding Microsoft’s Edge repository to Ubuntu 22.04 by first downloading and importing the GPG key, moving it into /usr/share/keyrings/, and then appending the signed‑by entry to the sources list so apt can verify packages. After updating the package database, it shows how to install the microsoft-edge-stable package, noting that this name differs from Snap or Flatpak versions and warning about possible GTK dependency conflicts on older systems. The tutorial also demonstrates launching Edge from the terminal, checking for permission issues, and offers troubleshooting steps such as fixing broken dependencies with apt --fix‑broken install or adding missing libraries like libxss1. Finally it mentions alternative installation methods using Snap or Flatpak for users who prefer sandboxed versions that avoid touching system libraries but may launch more slowly.



Install Microsoft Edge on Ubuntu 22.04 LTS – Step‑by‑Step Guide

If you’re still stuck in the old‑school Chrome world and want Windows‑style Edge on your Linux box, this walk‑through shows how to get the official package running on Ubuntu 22.04 LTS without chasing broken Snap builds.

Why install Microsoft Edge on Linux?

Edge isn’t just another Chromium fork; it ships with a different set of extensions, better integration with Windows services, and that familiar “Start Menu” feel. For developers who need to test cross‑platform UIs or for users who prefer the built‑in password manager, having Edge on Ubuntu can be surprisingly handy.

Prerequisites before you start

  • A user account with sudo privileges
  • Internet connection (the installer will pull a few hundred megabytes)
  • An up‑to‑date system (sudo apt update && sudo apt upgrade)

Add the Microsoft repository and import keys

  1. Fetch the public key that validates Edge’s packages:

    curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

    Why this matters: Without the key, apt refuses to trust the files and will stop you from installing anything.

  2. Move the key into the apt trusted list:

    sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
  3. Add Microsoft’s Edge repository to your sources list:

    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" | sudo tee /etc/apt/sources.list.d/microsoft-edge-dev.list
  4. Refresh the package database:

    sudo apt update

Install Microsoft Edge with apt

Now you’re ready to pull down the actual browser:

sudo apt install microsoft-edge-stable

A couple of things worth noting:

  • The package name is microsoft-edge-stable; don’t mix it up with any Snap or Flatpak variants.
  • If you see a warning about “depends on libgtk-3-0 but it can’t be installed”, the repository is missing a dependency; this usually happens when another version of GTK is already locked in your system.

Verify installation and launch

After the install finishes, Edge should appear in your application launcher. Launch it from the terminal to double‑check:

microsoft-edge

If the browser starts without error, you’re good to go. If a dialog pops up asking for “root privileges”, that indicates a permissions hiccup – usually resolved by rebooting.

Common hiccups and how to fix them

  • Broken dependencies after a kernel update: I’ve seen this happen after a bad driver update on a fresh 22.04 install. Run sudo apt --fix-broken install to resolve any orphaned packages before attempting the Edge install again.
  • Package not found: If apt can’t find microsoft-edge-stable, double‑check that the repository line is correctly spelled and that you ran sudo apt update.
  • Missing 32‑bit libraries on a 64‑bit system: Some users report “libxss1 missing” errors. Installing it with sudo apt install libxss1 usually fixes the issue.

Alternative installation methods

If you’d rather avoid adding a new repository, Edge is also available as a Snap or Flatpak package:

# Snap
sudo snap install microsoft-edge --classic

# Flatpak (after adding flathub)
flatpak install flathub com.microsoft.Edge

These versions are sandboxed and don’t touch your system libraries, but they can be slower to launch.