How to Install Microsoft Edge on Rocky Linux 8

Rocky Linux 8 users currently, by default, are only limited to the Firefox Internet Browser. However, many alternatives can be installed. Microsoft Edge is one alternative that has been in development for over a year and has been getting quite a lot of good reviews amongst many Linux distribution communities and maybe an alternative compared to just switching to Google Chrome.

In the following tutorial, you will learn how to install Microsoft Edge stable, beta, or developer (nightly build) on Rocky Linux 8 Workstation.



  • Recommended OS: Rocky Linux 8.+.
  • User account: A user account with sudo or root access.
  • Internet Access

Update Operating System

Update your Rocky Linux operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@rockylinux ~]$ sudo whoami

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Rocky Linux.

To use the root account, use the following command with the root password to log in.


For desktop users, the tutorial will utilize the terminal for the installation found in Activities > Show Applications > Terminal.


How to Install Microsoft Edge on Rocky Linux 8

Import Microsoft Edge GPG Key and Repository

Import the Microsoft Edge GPG Key

First, run the following command to import the GPG Key for the RPM Import:

sudo rpm --import

Import the Microsoft Edge Repository

Next, add the repo as follows:

sudo dnf config-manager --add-repo

Example output:

Adding repo from:

Now you have completed the imports, refresh your repository list to reflect the new additions.

sudo dnf update --refresh

Install Microsoft Edge

Microsoft Edge can be installed now using the dnf command as below:

sudo dnf install microsoft-edge-stable

Confirm the version and build of the Microsoft Edge version installed on your operating system using the following command:

microsoft-edge -version

Example output:

Microsoft Edge 96.0.1054.53

Optional. Install Microsoft Edge Browser Beta or Dev Version

Alternatively, you can install Microsoft Edge Brower beta or dev (nightly) build if you have downloaded the repositories. These two versions are not recommended for daily use, especially not on a main desktop or production server. However, you can install alternative versions for those who want to live on the edge.



To install Microsoft Edge Browser Beta:

sudo dnf install microsoft-edge-beta

To install Microsoft Edge Browser Dev (Nightly):

sudo dnf install microsoft-edge-dev

Note, these do not replace your stable version, and they are installed separately.

Next, verify the beta installation or unstable, use the following command.

To verify Microsoft Edge Browser Beta:

microsoft-edge-beta --version

Example output:

Microsoft Edge 97.0.1072.28 beta

To verify Microsoft Edge Browser Dev (Nightly):

microsoft-edge-dev --version

Example output:

Microsoft Edge 98.0.1093.6 dev

How to Launch Microsoft Edge

To run Microsoft Edge, you can use the terminal command in your console:


Alternatively, run the Microsoft-edge & command in the background to free up the terminal:

microsoft-edge &

However, this isn’t practical, and you would use the following path on your Rocky Linux 8 desktop to open with the path: Activities > Show Applications > Edge.

Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

The first time you open Microsoft Edge, you will be greeted by the following:

How to Install Microsoft Edge on Rocky Linux 8

Untick or leave as is and click the OK button to continue.

Afterward, you will find three options Inspiration, Informational or Focused. Selecting each tab will preview what the view will look like in your Edge browser background. Choose one and click the confirm button.

How to Install Microsoft Edge on Rocky Linux 8

Lastly, the optional sign-in and sync across multiple devices. Unless you need this, click Continue without signing in, as most users do.

How to Install Microsoft Edge on Rocky Linux 8

Now you will see The Microsoft Edge Internet Browser finally as per below:

How to Install Microsoft Edge on Rocky Linux 8

How to Update Microsoft Edge

To update Microsoft Edge Internet Browser, run the DNF update command in your terminal as you would check your entire system for any updates.

sudo dnf update

If one is available, use the upgrade option:

sudo dnf upgrade

Alternatively, you should use an updated all-in-one command.

sudo dnf upgrade --refresh

How to Remove (Uninstall) Microsoft Edge

To remove Edge from Rocky Linux 8, execute the following terminal command:

sudo dnf autoremove microsoft-edge-stable

Example output:

How to Install Microsoft Edge on Rocky Linux 8

Type Y, then press the ENTER KEY to proceed with the uninstall.

Note, unused dependencies will also be removed.

Alternatively, if you have beta or unstable alternative installations, use the following.

To remove Microsoft Edge Beta:

sudo dnf autoremove microsoft-edge-beta

To remove Microsoft Edge Dev:

sudo dnf autoremove microsoft-edge-stable-dev

Comments and Conclusion

In the tutorial, you have learned how to import the RPM binary package and the GPG key to install Microsoft Edge.

Overall, Microsoft Edge is a solid option. However, many open-source and FOSS fans will not have a bar of it due to using a Windows product in a historical sense on Linux, and the long history of Microsoft vs. Linux, some of it is justifiable truly it is, some of it is just political rubbish.

However, ranking Edge for performance and speed lands this amongst the top Internet Browser, and it truly does work well on Linux. If you can get over the fact, Microsoft owns it.

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x