How to Install Microsoft Edge on Linux Mint 22 and 21

Install Microsoft Edge on Linux Mint 22.x and 21.x with Microsoft APT, then verify, update, remove, and fix repo issues.

Last updatedAuthorJoshua JamesRead time6 minGuide typeLinux MintDiscussion2 comments

Microsoft 365 sign-ins, SharePoint sessions, and Edge-specific policies work more predictably when the Linux desktop uses the same browser your account expects. The cleanest way to install Microsoft Edge on Linux Mint is Microsoft’s APT repository, which keeps updates in APT and exposes Stable, Beta, and Dev packages.

Skip the one-off .deb download for normal Linux Mint installs. The repository path is cleaner because APT owns updates and source cleanup, and Linux Mint 22.x and 21.x both use Microsoft’s stable suite for Edge without any Ubuntu codename mapping.

Install Microsoft Edge on Linux Mint

Microsoft Edge is not part of Linux Mint’s default repositories or Software Manager as an official package, so the supported path is Microsoft’s own Linux repository. These commands target standard 64-bit PC installs with Debian’s amd64 architecture label; ARM systems do not have installable Edge browser package stanzas in the Microsoft repository used here.

ChannelPackageBest ForUpdate Rhythm
Stablemicrosoft-edge-stableDaily browsing, Microsoft 365, and normal work accountsRegular stable releases with security fixes in between
Betamicrosoft-edge-betaEarly testing without jumping to the fastest-moving previewPreview builds ahead of Stable
Devmicrosoft-edge-devWeb testing against the newest public preview buildThe fastest-moving public preview package

Keep one Edge repository definition. Do not add Microsoft Edge through extrepo or a generic Microsoft product repository alongside the manual DEB822 source. The Edge packages can manage channel source files after installation, and duplicate entries for the same Microsoft Edge repository can trigger duplicate target or Signed-By errors during apt update.

Update System Packages

Refresh APT metadata and install any pending package updates before you add the Edge repository.

sudo apt update && sudo apt upgrade -y

Import the Microsoft Edge Signing Key

Install the small dependency set used for Microsoft’s key and repository setup.

sudo apt install ca-certificates curl gnupg -y

Fetch Microsoft’s public key as an unprivileged file, convert it to a binary keyring, and install the final keyring under /usr/share/keyrings. If you want more background on the download flags, see our curl command reference.

curl -fsSLo microsoft.asc https://packages.microsoft.com/keys/microsoft.asc
gpg --dearmor --yes -o microsoft-edge.gpg microsoft.asc
sudo install -m 0644 microsoft-edge.gpg /usr/share/keyrings/microsoft-edge.gpg
rm -f microsoft.asc microsoft-edge.gpg

Add the Microsoft Edge Repository

Write the DEB822 source file directly with tee. The command checks the local package architecture first and stops before writing the source unless the system reports amd64. Plain shell redirection such as > does not inherit sudo, so this pattern avoids a common copy-paste failure. The Suites: stable value is Microsoft’s Edge repository suite, not a Linux Mint or Ubuntu codename.

arch="$(dpkg --print-architecture)"

case "$arch" in
    amd64)
        printf '%s\n' \
        'Types: deb' \
        'URIs: https://packages.microsoft.com/repos/edge-stable' \
        'Suites: stable' \
        'Components: main' \
        'Architectures: amd64' \
        'Signed-By: /usr/share/keyrings/microsoft-edge.gpg' | sudo tee /etc/apt/sources.list.d/microsoft-edge.sources > /dev/null
        ;;
    *)
        printf 'Microsoft Edge Linux packages are available for amd64 only in this repository. Detected: %s\n' "$arch" >&2
        false
        ;;
esac

Check the file once before you refresh APT.

cat /etc/apt/sources.list.d/microsoft-edge.sources
Types: deb
URIs: https://packages.microsoft.com/repos/edge-stable
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/microsoft-edge.gpg

Refresh APT and confirm Linux Mint can see the Edge packages.

sudo apt update

A successful update should mention https://packages.microsoft.com/repos/edge-stable and the stable/main amd64 Packages index. Exact package-list sizes can change as Microsoft publishes new builds.

Check the channel candidates before installing. The exact version changes as Microsoft publishes browser updates, but each package should show a non-empty Candidate line and a https://packages.microsoft.com/repos/edge-stable row in the version table.

for package in microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev; do
    apt-cache policy "$package" | sed -n '1,6p'
done

Install a Microsoft Edge Channel

Stable is the right default for most Linux Mint desktops. Beta and Dev stay available when you need a preview build for browser testing.

Install Microsoft Edge Stable

Install the Stable package for everyday browsing, work accounts, and the least surprising update path.

sudo apt install microsoft-edge-stable -y

Verify the installed browser version with the stable launcher. The output should start with Microsoft Edge followed by the installed build number.

microsoft-edge --version

Install Microsoft Edge Beta

Install the Beta package when you want earlier Chromium and Edge changes without jumping to the fastest-moving preview build.

sudo apt install microsoft-edge-beta -y

Use the beta launcher name to verify the preview package you installed. The version line should include the Edge build number and the beta channel label.

microsoft-edge-beta --version

Install Microsoft Edge Dev

Install the Dev package when you need the newest public preview build for site or extension testing.

sudo apt install microsoft-edge-dev -y

Use the dev launcher name to confirm the preview package that landed on your system. The version line should include the Edge build number and the dev channel label.

microsoft-edge-dev --version

Clean Up Generated Microsoft Edge Source Files

The Edge packages can create or refresh Microsoft-managed source files during installation. Keep microsoft-edge.sources and microsoft-edge.gpg, because that source exposes Stable, Beta, and Dev from the same Microsoft package index. Remove only legacy list files or duplicate preview channel source files after you install the channels you want.

These cleanup commands are safe to run after installing only Stable, and you can rerun them after adding Beta or Dev later.

sudo rm -f /etc/apt/sources.list.d/microsoft-edge.list /etc/apt/sources.list.d/microsoft-edge-beta.list /etc/apt/sources.list.d/microsoft-edge-dev.list
sudo rm -f /etc/apt/sources.list.d/microsoft-edge-beta.sources /etc/apt/sources.list.d/microsoft-edge-dev.sources
sudo rm -f /usr/share/keyrings/microsoft-edge-beta.gpg /usr/share/keyrings/microsoft-edge-dev.gpg
sudo apt update

Launch Microsoft Edge on Linux Mint

Edge installs from a terminal, but it still needs an active graphical session when you open the browser window.

Launch Microsoft Edge from the Terminal

Use the launcher that matches the package you installed.

microsoft-edge
microsoft-edge-beta
microsoft-edge-dev

Launch Microsoft Edge from the Applications Menu

Linux Mint also adds the installed channel to the Internet category in the applications menu.

  1. Open the Mint menu from the panel.
  2. Open the Internet category.
  3. Select Microsoft Edge, Microsoft Edge Beta, or Microsoft Edge Dev, depending on the package you installed.

Manage Microsoft Edge on Linux Mint

Update Microsoft Edge

APT handles Edge updates like any other repository package. A targeted upgrade keeps the command focused on the channel you installed.

sudo apt update && sudo apt install --only-upgrade microsoft-edge-stable -y

Replace microsoft-edge-stable with microsoft-edge-beta or microsoft-edge-dev if you use a preview package.

Remove Microsoft Edge

Remove the package first, then clean up repository definitions and any local profile directories you no longer need. Remove repository files only after all Edge channels are gone.

Uninstall the Microsoft Edge Package

Run only the line for each channel you installed.

sudo apt remove microsoft-edge-stable -y
sudo apt remove microsoft-edge-beta -y
sudo apt remove microsoft-edge-dev -y

Check the installed state before you remove the repository. Each removed channel should show Installed: (none).

for package in microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev; do
    apt-cache policy "$package" | sed -n '1,6p'
done

Remove the Microsoft Edge Repository

Delete the repository files, remove Edge-specific signing keyrings and defaults files, and refresh APT.

sudo rm -f /etc/apt/sources.list.d/microsoft-edge.sources /etc/apt/sources.list.d/microsoft-edge.list
sudo rm -f /etc/apt/sources.list.d/microsoft-edge-beta.sources /etc/apt/sources.list.d/microsoft-edge-beta.list
sudo rm -f /etc/apt/sources.list.d/microsoft-edge-dev.sources /etc/apt/sources.list.d/microsoft-edge-dev.list
sudo rm -f /usr/share/keyrings/microsoft-edge.gpg /usr/share/keyrings/microsoft-edge-beta.gpg /usr/share/keyrings/microsoft-edge-dev.gpg
sudo rm -f /etc/default/microsoft-edge /etc/default/microsoft-edge-beta /etc/default/microsoft-edge-dev
sudo apt update

Verify the repository is gone. The live package candidate should be (none); a leftover /var/lib/dpkg/status row is local package history, not an active repository source.

for package in microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev; do
    apt-cache policy "$package" | sed -n '1,6p'
done

Remove Microsoft Edge Profile Data

Edge stores profile and cache data under your home directory. List those directories first instead of guessing which channels have local data on your account.

for base in "$HOME/.config" "$HOME/.cache"; do
    [ -d "$base" ] && find "$base" -maxdepth 1 -type d -name 'microsoft-edge*'
done

If the command prints directories you no longer need, remove only those paths. If it prints nothing, there is no remaining Edge profile data in those locations.

This cleanup permanently deletes local bookmarks, cookies, cached files, and saved sessions that were not synced to your Microsoft account.

for base in "$HOME/.config" "$HOME/.cache"; do
    [ -d "$base" ] && find "$base" -maxdepth 1 -type d -name 'microsoft-edge*' -exec rm -rf -- {} +
done

Troubleshoot Microsoft Edge on Linux Mint

Most Edge problems on Linux Mint come from duplicate repository files, an unsupported architecture, or a missing keyring, not from the browser package itself.

Fix Duplicate Microsoft Edge Repository Warnings

If apt update warns that Edge targets are configured multiple times, first list every source file that mentions the Microsoft Edge repository.

grep -RIn "packages.microsoft.com/repos/edge" /etc/apt/sources.list /etc/apt/sources.list.d 2>/dev/null

Keep microsoft-edge.sources when it points to https://packages.microsoft.com/repos/edge-stable. Remove legacy list files and generated duplicate preview source files, then refresh APT.

sudo rm -f /etc/apt/sources.list.d/microsoft-edge.list /etc/apt/sources.list.d/microsoft-edge-beta.list /etc/apt/sources.list.d/microsoft-edge-dev.list
sudo rm -f /etc/apt/sources.list.d/microsoft-edge-beta.sources /etc/apt/sources.list.d/microsoft-edge-dev.sources
sudo rm -f /usr/share/keyrings/microsoft-edge-beta.gpg /usr/share/keyrings/microsoft-edge-dev.gpg
sudo apt update

Fix Microsoft Edge Extrepo Signed-By Errors

If an older Edge source, an extrepo source, or a legacy list file still points at https://packages.microsoft.com/repos/edge with a different Signed-By path, APT can stop before it reads package lists.

E: Conflicting values set for option Signed-By regarding source https://packages.microsoft.com/repos/edge/ stable: /var/lib/extrepo/keys/edge.asc !=
E: The list of sources could not be read.

Use the source inventory command to confirm the conflicting files. For the repository layout used here, keep microsoft-edge.sources when it points to https://packages.microsoft.com/repos/edge-stable. If extrepo is still installed, disable its Edge entry first, then remove any leftover source file that still points at /repos/edge.

grep -RIn "packages.microsoft.com/repos/edge" /etc/apt/sources.list /etc/apt/sources.list.d 2>/dev/null
if command -v extrepo >/dev/null 2>&1; then
    sudo extrepo disable edge
fi

sudo rm -f /etc/apt/sources.list.d/extrepo_edge.sources /etc/apt/sources.list.d/microsoft-edge.list
sudo apt update

Fix Microsoft Edge Package Discovery or GPG Errors

If APT cannot find Edge packages or reports a missing key, confirm the channel candidates first.

for package in microsoft-edge-stable microsoft-edge-beta microsoft-edge-dev; do
    apt-cache policy "$package" | sed -n '1,6p'
done

If the candidates are empty or APT reports a signature problem, reimport the keyring and refresh APT.

curl -fsSLo microsoft.asc https://packages.microsoft.com/keys/microsoft.asc
gpg --dearmor --yes -o microsoft-edge.gpg microsoft.asc
sudo install -m 0644 microsoft-edge.gpg /usr/share/keyrings/microsoft-edge.gpg
rm -f microsoft.asc microsoft-edge.gpg
sudo apt update

Conclusion

Microsoft Edge is ready on Linux Mint with Microsoft’s repository handling future updates and duplicate channel sources cleaned up. For another work-account browser, compare Google Chrome on Linux Mint; for Chromium-family alternatives, use the Chromium browser or Brave Browser guides.

Share this guide

Help another Linux user troubleshoot faster

Share this guide with someone troubleshooting Linux systems or saving it for later.

Follow LinuxCapable

Want more LinuxCapable guides in Google?

Add LinuxCapable as a preferred source so Google can show more of our fresh Linux tutorials in Top Stories and From your sources when relevant.

Add LinuxCapable as a preferred source on Google
Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffeeBuy me a coffee

2 thoughts on “How to Install Microsoft Edge on Linux Mint 22 and 21”

Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed in published comments:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Got a Question or Feedback?

We read and reply to every comment - let us know how we can help or improve this guide.

Verify before posting: