Guides 11792 Published by

The guide walks you through installing Microsoft Edge on Rocky Linux 8 or 9 by first updating the system and adding the necessary `dnf-plugins-core` package, then pulling in Microsoft’s repository URL and GPG key so DNF can fetch the stable Edge build safely. It also includes handy tips—swap “rocky8” for “rocky9” if you’re on version 9, double‑check that core libraries like libgtk‑3.so.0 are present, and launch Edge from the command line or pin it to your dock once it’s installed. By importing Microsoft’s key you protect against rogue packages, and the tutorial notes that a fresh kernel usually keeps dependency errors at bay while ensuring Edge loads with the familiar logo and syncs when logged in. In short, this step‑by‑step walkthrough offers a clean DNF install without snaps or containers, making Edge feel almost native on Rocky Linux and inviting users to share their experience afterward.



Install Microsoft Edge on Rocky Linux EL8 or EL9

If you’ve been hunting for a Chromium‑based browser that stays in sync with the Windows world, this guide shows you exactly how to pull Microsoft Edge onto Rocky Linux 8 or 9 without any of those “I don’t know what I’m doing” moments.

1. Make sure your system is up‑to‑date
sudo dnf update -y

A fresh kernel and libraries mean fewer surprises when Edge pulls in its dependencies. I’ve seen folks hit the “Missing libstdc++‑shared.so” error after a half‑finished upgrade.

2. Install dnf-plugins-core if you don’t already have it
sudo dnf install -y dnf-plugins-core

The config-manager command lives in that package and lets us add Microsoft’s repo easily.

3. Add the official Microsoft repository
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge/rocky8.repo

Pro tip: If you’re on Rocky 9, swap rocky8 for rocky9 in the URL. A typo here will leave you with a “repo not found” error that feels like an internet mystery.

4. Import Microsoft’s GPG key
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

This step protects you from a man‑in‑the‑middle that might try to replace Edge with some malicious package. I once saw a rogue repo sneak in and install a fake “Edge” that just opened a terminal; importing the key stops that.

5. Install Microsoft Edge
sudo dnf install -y microsoft-edge-stable

What happens? DNF will resolve dependencies, pull in Chromium’s shared libraries, and place microsoft-edge into /usr/bin. If you get “Failed to resolve dependency: libgtk-3.so.0 not found,” it usually means the base Rockylinux repo is out of date—run step 1 again.

6. Launch it
microsoft-edge &

You should see Edge load with the familiar Microsoft logo and your profile sync if you’re logged in. If you prefer a quick test, run:

microsoft-edge https://www.whatismyip.com

and make sure the page loads without stuttering.

7. Optional: Pin it to your desktop

On GNOME, right‑click the Edge icon once it’s on the dock and choose “Add to Favorites.” If you’re on KDE or another DE, drag the “Microsoft Edge” launcher from the application menu onto the panel.

That’s all there is to it—no extra snaps, no container tricks, just a straight DNF install. Microsoft Edge on Rocky Linux feels surprisingly native, and I’ve used it for everything from debugging HTML5 games to watching YouTube in high‑res without the lag I get from Firefox on the same machine.