How to Install Microsoft Edge on Fedora Linux

Microsoft Edge is a Chromium-based web browser known for its speed, security, and extensive feature set, including advanced privacy settings, built-in malware protection, and seamless integration with Microsoft services. The browser has made significant strides since its inception, offering multiple versions including stable, beta, and developer builds that let you choose the balance between reliability and access to new features.

On Fedora, Microsoft Edge can be installed using two main methods. The Microsoft RPM repository provides access to the latest stable, beta, and developer builds with updates delivered directly from Microsoft. Alternatively, Flatpak from Flathub offers sandboxed environments for the stable and developer builds, providing enhanced isolation and security. This guide walks you through both installation methods with practical examples, helping you choose the approach that fits your workflow and security requirements.

Choose Your Microsoft Edge Installation Method

Both installation methods deliver fully functional Microsoft Edge browsers, but they differ in package management, update delivery, and system integration. Understanding these trade-offs helps you select the method that aligns with your priorities.

MethodVersions AvailableBest ForTrade-offs
Microsoft RPM RepositoryStable, Beta, DevUsers who want native DNF integration, all three release channels, and traditional system package managementRequires repository configuration and GPG key import; updates through system package manager
Flatpak from FlathubStable, Dev onlyUsers prioritizing application sandboxing, system isolation, and simplified permission managementNo beta channel; slightly larger disk footprint due to bundled dependencies; may have minor desktop integration differences

The RPM repository method integrates Microsoft Edge directly into your system package management, making it behave like any other Fedora package with standard update workflows. Flatpak isolates Edge in a sandbox with controlled filesystem and system access, reducing potential security exposure but adding a layer between the browser and your system. For most users, the RPM method offers the most straightforward experience with access to all three release channels, while Flatpak appeals to those who value application isolation and don’t need the beta channel.

Method 1: Install Microsoft Edge via Microsoft RPM

Microsoft removed official RPM installation instructions from their website but continues to provide and update all three release channels (stable, beta, and dev) in RPM format through their package repository. The method below remains fully supported and delivers the latest Microsoft Edge builds directly from Microsoft’s servers.

Update the Fedora Packages Before the Microsoft Edge Installation

Before jumping in, ensuring your system is up-to-date is good practice. This step avoids potential conflicts and ensures a smooth installation process. Open your terminal and execute the following command:

sudo dnf upgrade --refresh

Import Microsoft RPM Repository

Before we install Microsoft Edge, we need to add its official repository to our system. However, we should import the GPG key for the RPM packages before doing so. This key verifies the authenticity and integrity of the packages we’ll install, adding an extra layer of security. To import the GPG key, run this command:

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

This command downloads and imports the Microsoft GPG key used to sign the RPM packages for Microsoft Edge. It ensures the packages are genuine and haven’t been tampered with.

Next, add the Microsoft RPM repository to your system. Fedora 42 (oldstable) and Fedora 43 (stable) ship DNF5 by default, so use the command below.

For Fedora 42 and newer (DNF5):

sudo dnf config-manager addrepo https://packages.microsoft.com/yumrepos/edge/config.repo

Fedora 42/43 use DNF5 as the default package manager. Check your DNF version with dnf --version if you are unsure.

After adding the repository, you should see output confirming the addition:

Adding repo from: https://packages.microsoft.com/yumrepos/edge

Install Microsoft Edge from the RPM Repository

Microsoft Edge offers three release channels, each serving different needs. The stable version provides a well-tested and reliable browsing experience with features that have passed thorough quality assurance. The beta version lets you preview upcoming features before they reach stable, though you may encounter occasional bugs. The developer version delivers the newest features and changes as soon as they are ready, accepting higher instability in exchange for early access.

Option 1: Install Microsoft Edge Stable Build (Recommended)

For most users, the stable version offers the best balance of features, performance, and reliability. Install it with this command:

sudo dnf install microsoft-edge-stable

After installation completes, verify the version and build:

microsoft-edge --version

Option 2: Install Microsoft Edge Beta or Dev Builds

If you want to preview upcoming features or test web applications against pre-release versions, install the beta or developer channels. However, these versions receive less testing and may contain bugs that affect stability, making them unsuitable for critical daily browsing tasks.

Microsoft Edge Beta:

sudo dnf install microsoft-edge-beta

Microsoft Edge Dev:

sudo dnf install microsoft-edge-dev

These versions install as separate applications alongside any existing Microsoft Edge installation, allowing you to run stable, beta, and dev builds simultaneously without conflicts.

Verify the installed versions with these commands:

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

Method 2: Install Microsoft Edge via Flatpak from Flathub

Flatpak offers an alternative installation method that isolates Microsoft Edge in a sandboxed environment with controlled access to your system resources. This approach enhances security by limiting what the browser can access and modify, while Flathub serves as the centralized repository hosting the Edge packages. Flatpak installations include all necessary dependencies bundled with the application, reducing conflicts with system libraries and simplifying cross-distribution compatibility.

Enable the Flathub Repository

Before installing Microsoft Edge through Flatpak, ensure your system has access to the Flathub repository, which hosts thousands of applications including Microsoft Edge. Run this command to add Flathub as a Flatpak remote:

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

The --if-not-exists flag prevents errors if Flathub is already configured on your system, making this command safe to run multiple times. This step establishes the connection between your Flatpak installation and Flathub’s application repository, enabling you to install and update Microsoft Edge through Flatpak’s package management system.

Install Microsoft Edge with Flatpak

With Flathub configured, you can now install Microsoft Edge through Flatpak. Note that Flathub only provides stable and developer versions of Microsoft Edge, not the beta channel. Both versions install as separate applications, allowing you to run them simultaneously if needed.

To install the stable version of Microsoft Edge:

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

For the developer version with the latest experimental features:

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

If you encounter an error stating “Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub’,” the Flathub repository is disabled on your system. Enable it with this command:

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

After enabling Flathub, retry the installation command above for your desired Microsoft Edge version.

Launch Microsoft Edge Browser

Launch Microsoft Edge from the Command Line

Terminal commands provide direct control over application launching and can be useful for scripting, automation, or when you prefer keyboard-driven workflows. The launch command depends on which installation method you used.

Launch RPM-Installed Microsoft Edge

To launch the stable version of Microsoft Edge from your terminal, execute this command:

microsoft-edge

If you installed the beta or developer versions, use their respective commands:

microsoft-edge-beta
microsoft-edge-dev

Launch Flatpak-Installed Microsoft Edge

For Flatpak installations, use the flatpak run command with the application ID to launch Microsoft Edge:

flatpak run com.microsoft.Edge
flatpak run com.microsoft.EdgeDev

Launch Microsoft Edge from the Desktop

Most users prefer launching applications through the graphical interface. Fedora’s GNOME desktop environment provides an application menu where Microsoft Edge appears alongside your other installed software.

To launch Microsoft Edge from the desktop:

  1. Click on Activities in the top left corner of your desktop.
  2. Click on Show Applications, represented by a grid of dots at the bottom of the sidebar.
  3. Locate the Microsoft Edge icon, or type “Microsoft Edge” in the search bar for quick access.
  4. Click the Microsoft Edge icon to launch the browser. If you installed multiple versions (stable, beta, or dev), each appears as a separate icon with its channel label.

Configure Microsoft Edge on First Launch

When you launch Microsoft Edge for the first time, an introductory setup wizard walks you through basic configuration options. This process takes only a few minutes and helps customize the browser to match your preferences and workflow requirements.

Navigate the Welcome Screen

The welcome screen introduces key Microsoft Edge features and guides you through initial configuration choices, including privacy settings, new tab page layout, and bookmark importing from other browsers.

Available options typically include privacy settings customization, new tab page layout selection, and bookmark importing from other browsers installed on your system.

Sign In and Sync Settings (Optional)

Microsoft Edge offers synchronization across devices when you sign in with a Microsoft account, keeping your browsing history, bookmarks, passwords, extensions, and settings consistent across all your computers and mobile devices. This proves valuable when you work on multiple machines and want seamless access to your browser data.

During setup, Edge displays layout options for your new tab page:

The wizard prompts you to sign in with your Microsoft account to enable synchronization. If you lack an account, you can create one during this step, or skip sign-in entirely to use Edge without sync functionality.

To skip sign-in and use Microsoft Edge without synchronization, click the X button in the upper right corner of the sign-in dialog. This keeps your browsing data local to your Fedora system only.

Complete Initial Configuration

After navigating the welcome screens and choosing your synchronization preferences, Microsoft Edge completes its initial setup and displays the main browser window. The browser is now ready for daily use with your selected configuration.

With setup complete, Microsoft Edge opens to your chosen start page and is ready for browsing, web development, or testing web applications on Fedora.

Update and Remove Microsoft Edge

Update Microsoft Edge

Microsoft Edge receives regular updates that deliver security patches, performance improvements, and new features. The update method depends on your installation approach.

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

If you installed Microsoft Edge through the DNF package manager, use DNF to remove it cleanly from your system:

Remove stable version:

sudo dnf remove microsoft-edge-stable

Remove beta version:

sudo dnf remove microsoft-edge-beta

Remove developer version:

sudo dnf remove microsoft-edge-dev

If you plan to permanently remove Microsoft Edge and do not intend to reinstall it later, also remove the Microsoft Edge repository to keep your system clean. Note that removing the repository prevents future installations without re-importing it.

Remove the Microsoft Edge repository configuration:

Fedora 42 and newer (DNF5):

sudo dnf config-manager delrepo edge-yum

If DNF saved a local repofile such as /etc/yum.repos.d/config.repo or /etc/yum.repos.d/packages.microsoft.com_yumrepos_edge.repo, remove it after disabling the repo:

sudo rm /etc/yum.repos.d/config.repo
sudo rm /etc/yum.repos.d/packages.microsoft.com_yumrepos_edge.repo

Remove Flatpak-Installed Microsoft Edge

For Flatpak installations, use the flatpak uninstall command to remove Microsoft Edge cleanly from your system:

Remove stable version:

sudo flatpak uninstall --system com.microsoft.Edge

Remove developer version:

sudo flatpak uninstall --system com.microsoft.EdgeDev

Flatpak automatically removes unused dependencies and runtime libraries when you uninstall applications, keeping your system clean without manual intervention.

Troubleshoot Common Issues

Repository GPG Key Verification Failures

If DNF reports GPG signature verification errors when installing Microsoft Edge, the GPG key import may have failed or become corrupted. Re-import the Microsoft signing key:

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

After re-importing the key, retry the installation command.

Microsoft Edge Does Not Launch

If Microsoft Edge fails to start after installation, check for error messages in the terminal output when launching from the command line. Common causes include missing dependencies, conflicting libraries, or graphics driver issues.

For RPM installations, verify the package installed correctly:

rpm -V microsoft-edge-stable

For Flatpak installations, check application permissions and access rights:

flatpak info com.microsoft.Edge

Flatpak Sandbox Limitations

Flatpak sandboxing may restrict Microsoft Edge’s access to certain directories or system resources. If you encounter file access issues or features that do not work as expected, review and adjust Flatpak permissions using Flatseal (a graphical permission manager) or command-line overrides.

Grant additional filesystem access if needed:

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

This command grants Microsoft Edge access to your entire home directory, which may be necessary for downloading files or accessing documents outside the default sandbox restrictions.

Conclusion

Installing Microsoft Edge on Fedora through the RPM repository or Flatpak delivers a Chromium-based browser with Microsoft service integration and cross-platform sync capabilities. The RPM method provides native system integration with access to stable, beta, and dev channels through DNF, while Flatpak offers application sandboxing with stable and dev builds. Both approaches keep Edge updated automatically, ensuring you receive security patches and new features as Microsoft releases them.

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

Leave a Comment