How to Install Microsoft Edge on Fedora

Last updated Friday, February 27, 2026 7:18 pm 8 min read 2 comments

Fedora users who rely on Microsoft 365 usually hit the same wall: Edge is not in the default repositories. Install Microsoft Edge on Fedora and you get OneDrive sync, profile sign-in, and Copilot in a Chromium browser without leaving Linux.

You can install Edge either from Microsoft’s RPM repository with DNF (stable, beta, and dev channels) or from Flathub as a Flatpak (stable only). This guide walks through both paths, then covers verification, troubleshooting, updates, and clean removal.

Install Microsoft Edge on Fedora Linux

Use the table below to pick the method that matches your workflow.

MethodSourceRelease ChannelsUpdatesBest For
Microsoft RPM RepositoryMicrosoft Edge RPM repositoryStable, Beta, DevAutomatic via dnf upgradeNative DNF integration with all three release channels
Flatpak from FlathubFlathub StableStable onlyAutomatic via flatpak updateApplication sandboxing and system isolation

The RPM method is the best default for most Fedora users because it includes stable, beta, and dev channels with normal DNF updates. Pick Flatpak when sandbox isolation matters more than having the beta channel.

Install Microsoft Edge with DNF from the RPM Repository

Microsoft’s Linux download page mostly highlights the .deb package, but the official RPM repository is active and ships stable, beta, and dev builds. The steps below use that repository so Edge updates arrive through regular DNF upgrades.

Update Fedora Packages

Update Fedora first so DNF refreshes metadata before you add the Edge repository:

sudo dnf upgrade --refresh

This guide uses sudo for commands that need root privileges. If your account does not have sudo access yet, follow the guide to add a user to sudoers on Fedora.

Import Microsoft GPG Key

Import Microsoft’s signing key before you install packages from the Edge repository:

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

A successful key import returns no output.

Create the Microsoft Edge RPM Repository File

Create the repository file directly. This avoids the temporary config.repo profile, which ships with gpgcheck=0:

sudo tee /etc/yum.repos.d/microsoft-edge.repo > /dev/null << 'EOF'
[microsoft-edge]
name=microsoft-edge
baseurl=https://packages.microsoft.com/yumrepos/edge
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF

This gives you one clean repository file and avoids add-it-then-delete-it cleanup later.

Install Microsoft Edge from the RPM Repository

Install the stable channel:

sudo dnf install microsoft-edge-stable

Check the installed version:

microsoft-edge --version
Microsoft Edge 145.x.xxxx.xx

Your build number will differ because Microsoft pushes new Edge updates continuously.

If you need pre-release builds, install beta or dev instead. These channels change faster and can break more often, but they install as separate applications so you can keep stable installed too:

Microsoft Edge Beta:

sudo dnf install microsoft-edge-beta

Microsoft Edge Dev:

sudo dnf install microsoft-edge-dev

Confirm the repository file was written correctly:

cat /etc/yum.repos.d/microsoft-edge.repo
[microsoft-edge]
name=microsoft-edge
baseurl=https://packages.microsoft.com/yumrepos/edge
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://packages.microsoft.com/keys/microsoft.asc

This confirms package signature checks are enabled with gpgcheck=1.

Install Microsoft Edge via Flatpak on Fedora

Flatpak runs Edge in a sandbox, which can reduce host-system impact from browser bugs or overly broad file access.

Flatpak is pre-installed on Fedora Workstation, Silverblue, and Kinoite. If you use a minimal installation or server variant, install it first with sudo dnf install flatpak.

Enable the Flathub Repository

Fedora may already have the Fedora Flatpak remote, but Edge is distributed through Flathub. Add Flathub if it is not already configured:

sudo flatpak remote-add --system --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

--if-not-exists keeps this command idempotent, so rerunning it will not duplicate the remote.

Install Microsoft Edge with Flatpak

Flathub currently provides the stable build of Edge. The beta channel is not published there, and the dev listing is no longer maintained.

Install the stable build:

sudo flatpak install --system flathub com.microsoft.Edge -y

If Flatpak reports Unable to load summary from remote flathub, the Flathub remote exists but is disabled. Re-enable it with:

sudo flatpak remote-modify --system --enable flathub

After enabling the remote, run the install command again.

Verify the Flatpak Installation

Check that Edge appears in your Flatpak app list:

flatpak list | grep -i edge

Expected output:

Microsoft Edge    com.microsoft.Edge    stable    system

You can also print the Edge version directly:

flatpak run com.microsoft.Edge --version
Microsoft Edge 145.x.xxxx.xx

Launch Microsoft Edge on Fedora

Launch Microsoft Edge from the Command Line

CLI launch commands are useful for scripts, remote sessions, and quick troubleshooting.

Launch RPM-Installed Microsoft Edge

Stable RPM build:

microsoft-edge

If beta or dev is installed, use:

microsoft-edge-beta
microsoft-edge-dev

Launch Flatpak-Installed Microsoft Edge

For Flatpak installs, launch by app ID:

flatpak run com.microsoft.Edge

Launch Microsoft Edge from the Desktop

On Fedora GNOME, Edge appears in Activities after installation.

Open Activities, search for Microsoft Edge, and launch it. If you installed stable, beta, and dev, each channel appears as a separate app entry.

Configure Microsoft Edge on Fedora After First Launch

On first launch, Edge asks about privacy defaults, new-tab layout, and optional Microsoft account sign-in for sync. Skip sign-in if you want this browser profile to stay local to the Fedora machine.

Troubleshoot Microsoft Edge Issues on Fedora

Fix Microsoft Edge GPG Key Errors

If DNF throws a GPG error while installing Edge, the Microsoft signing key is usually missing or stale. A common error looks like:

Error: GPG check FAILED
Public key for microsoft-edge-stable-145.x.xxxx.xx-1.x86_64.rpm is not installed

Re-import the key:

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

Then refresh metadata to verify the repository loads cleanly:

sudo dnf makecache --refresh
microsoft-edge 100% |   9.2 KiB/s |   1.5 KiB |  00m00s
Metadata cache created.

If this completes without a GPG failure, rerun the Edge install command.

Microsoft Edge Does Not Launch

If Edge does not launch from the app menu, run it in a terminal first so you can see startup errors:

microsoft-edge 2>&1 | head -20

For RPM installs, verify package files have not been modified or removed:

rpm -V microsoft-edge-stable

No output means package files are intact. If you see file mismatches, reinstall the package.

For Flatpak installs, confirm app metadata and origin:

flatpak info com.microsoft.Edge

This confirms the app ID and source remote. If the remote is wrong or missing, reinstall from Flathub.

Fix Microsoft Edge Flatpak Sandbox Access Problems

Flatpak sandbox rules can block Edge from folders outside the default allowed paths. If file pickers cannot reach a directory you use, check current filesystem permissions first:

flatpak info --show-permissions com.microsoft.Edge | grep filesystem

Grant broader access only when needed:

sudo flatpak override --system com.microsoft.Edge --filesystem=home

This opens your full home directory to Edge. If you only need one location, use a narrower override instead of home, then restart Edge.

Repair a Broken Microsoft Edge Flatpak Install

If the Flatpak build crashes repeatedly or behaves inconsistently, run a repair first:

sudo flatpak repair --system

If issues continue, reinstall the app:

sudo flatpak uninstall --system com.microsoft.Edge
sudo flatpak install --system flathub com.microsoft.Edge -y

This pulls a clean copy from Flathub.

Update and Remove Microsoft Edge on Fedora

Update Microsoft Edge

Update Edge with the same package manager you used for installation.

For RPM installations:

sudo dnf upgrade microsoft-edge-stable

Replace microsoft-edge-stable with microsoft-edge-beta or microsoft-edge-dev for those channels.

For more package management examples, see DNF5 install commands on Fedora.

For Flatpak installations:

sudo flatpak update --system com.microsoft.Edge

Or update all installed Flatpak applications at once:

sudo flatpak update --system

Remove RPM-Installed Microsoft Edge

Removing the RPM package deletes the browser binaries but leaves your local profile data in place.

Your bookmarks, saved passwords, and browsing data are stored in ~/.config/microsoft-edge/ (for stable) or the corresponding channel directory. To preserve this data before removal, back it up with mkdir -p ~/edge-backup && cp -r ~/.config/microsoft-edge* ~/edge-backup/.

Stable version:

sudo dnf remove microsoft-edge-stable

Beta version:

sudo dnf remove microsoft-edge-beta

Developer version:

sudo dnf remove microsoft-edge-dev

If you no longer want Edge packages to appear in DNF, remove the repo file and verify it is gone:

sudo rm /etc/yum.repos.d/microsoft-edge.repo
dnf repo list --all | grep -i edge

No output confirms the repository has been removed.

Remove User Data (Optional)

The uninstall leaves profile data behind. To wipe bookmarks, history, saved passwords, and extensions, remove the config directory:

rm -rf ~/.config/microsoft-edge*

This permanently deletes all your Edge profile data. Back up any important bookmarks or passwords before running this command.

Remove Flatpak-Installed Microsoft Edge

For Flatpak installs, remove the app with flatpak uninstall:

Stable version:

sudo flatpak uninstall --system com.microsoft.Edge

To delete Flatpak profile data for the stable build:

This permanently removes local Edge data from the Flatpak app directories. Back up anything you want to keep before running the command.

rm -rf ~/.var/app/com.microsoft.Edge

Frequently Asked Questions About Microsoft Edge on Fedora

Is Microsoft Edge available in Fedora’s default repositories?

No. Microsoft Edge is proprietary software and is not packaged in Fedora’s official repositories. You need to add Microsoft’s RPM repository or install the Flatpak from Flathub.

What is the difference between the RPM and Flatpak versions of Microsoft Edge?

The RPM version installs directly into the system and provides all three release channels (stable, beta, dev) with updates through DNF. The Flatpak version runs in a sandbox with restricted system access and currently offers the stable channel only. RPM is better for full system integration; Flatpak is better for isolation.

Do I need config.repo to install Microsoft Edge on Fedora?

No. You can create /etc/yum.repos.d/microsoft-edge.repo directly with gpgcheck=1 and then install microsoft-edge-stable with DNF. This avoids the temporary config.repo profile and keeps the repository setup simpler.

What package name should I use with dnf install for Microsoft Edge?

Use sudo dnf install microsoft-edge-stable for the stable channel. Pre-release channels use microsoft-edge-beta or microsoft-edge-dev.

Should I download a standalone Edge RPM instead of adding the repository?

On Fedora, the repository method is usually better because Edge updates arrive through normal dnf upgrade runs and all channels are available from one source. Standalone RPM workflows require more manual maintenance.

Does Microsoft still maintain the Edge RPM repository?

Yes. Although Microsoft’s official download page only shows the .deb package for Linux, the RPM repository at packages.microsoft.com/yumrepos/edge/ is actively maintained with all three release channels receiving regular updates.

Conclusion

Microsoft Edge on Fedora is now running with either native DNF updates or Flatpak sandboxing, based on the method you picked. Next, import browser data through edge://settings/importData, tune privacy controls at edge://settings/privacy, and round out your Microsoft workflow with Microsoft fonts on Fedora and Visual Studio Code on Fedora.

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 coffee Buy me a coffee

2 thoughts on “How to Install Microsoft Edge on Fedora”

  1. On Fedora 41, with dnf5, the commands have changed a bit:

    “`
    sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc
    sudo dnf config-manager addrepo –from-repofile=https://packages.microsoft.com/yumrepos/edge/config.repo
    sudo dnf install microsoft-edge-stable
    “`

    Reply
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:

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

Leave a Comment

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

Let us know you are human: