The passage walks you through installing Microsoft Edge on Rocky Linux 8 by first importing Microsoft’s GPG key, then creating a repository file under /etc/yum.repos.d so dnf can handle dependency resolution and future updates automatically. It shows how to install the desired channel (stable, beta, or dev) with a single dnf install command and notes that the common libcrypto.so.1.0.2 missing‑library error on fresh systems is fixed by installing the compat-openssl10 package. After installation you verify the browser by launching the binary in /opt/microsoft/msedge/, optionally set Edge as the default handler with xdg-settings, and ensure it stays current through regular dnf update operations. Throughout, brief troubleshooting tips (network checks for key import, running from a graphical session) help avoid typical pitfalls.
Install Microsoft Edge on Rocky Linux 8 – Quick Guide to Get the Browser Running
You’ll learn how to pull the official Microsoft Edge packages onto a Rocky Linux 8 workstation, add the repo, and get the stable, beta or dev channel up and running without chasing dead‑ends. The steps also cover the occasional missing library trap that trips many newcomers.
Add Microsoft’s repository
First you need the Microsoft signing key so the system trusts the packages.
rpm --import https://packages.microsoft.com/keys/microsoft.asc
If this command fails, double‑check your network – corporate firewalls love to block direct downloads from unknown hosts.
Next create a repo file under /etc/yum.repos.d:
cat <<EOF > /etc/yum.repos.d/microsoft-edge.repo
[microsoft-edge]
name=Microsoft Edge
baseurl=https://packages.microsoft.com/yumrepos/edge
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF
Why a separate repo? It lets dnf resolve dependencies automatically and keeps Edge up‑to‑date with the same mechanism you use for other RPMs.
Choose your channel (stable, beta, dev)
Microsoft ships three channels. Replace stable in the install command with beta or dev if you want to test newer features.
dnf install microsoft-edge-stable
I once installed the stable build on a fresh Rocky 8 box and got an error about libcrypto.so.1.0.2. The fix was simply pulling in the compatibility package:
dnf install compat-openssl10
That extra step saved me from a half‑hour of Googling “Edge missing libcrypto”.
Verify the installation
Run the browser once to let it create its config directory and cache some data:
/opt/microsoft/msedge/msedge &
If you see the splash screen, you’re good. If the terminal prints something about cannot open display, you probably launched it from a non‑graphical session – switch back to your desktop environment or use sudo -u <your_user> /opt/... to run it as the logged‑in user.
Optional: set Edge as default browser
Rocky Linux uses xdg-mime for defaults. To make Edge the go‑to handler for HTTP/HTTPS links:
xdg-settings set default-web-browser microsoft-edge.desktop
I like to keep Firefox for legacy sites and let Edge handle Microsoft services; this command makes that split painless.
Keep Edge updated
Because the repo is now part of your system, a regular dnf update will pull in new Edge releases alongside security patches. No need for a separate updater script – just trust the normal package manager.
That’s it. You’ve got Microsoft Edge installed on Rocky Linux 8 and know how to switch channels, fix the common libcrypto hiccup, and keep things current.