How to Install Microsoft Edge on Rocky Linux EL8 or EL9


Microsoft Edge is a web browser developed and maintained by Microsoft. It is available for Windows, macOS, and Linux, including Rocky Linux. Edge is based on the Chromium open-source project, the same technology that powers Google Chrome, and offers a similar browsing experience. Installing Microsoft Edge on Rocky Linux allows users to benefit from its many features and improvements over the default Firefox ESR browser. Some of the benefits include:

  • Improved speed and performance
  • Enhanced privacy and security features
  • Integration with other Microsoft services, such as Office and OneDrive
  • Support for extensions and web apps
  • Enhanced reading and annotation capabilities
  • 4K streaming support

Features:

  • Faster loading times and smooth performance
  • Enhanced privacy and security features
  • Integration with other Microsoft services, such as Office and OneDrive
  • Support for extensions and web apps
  • Enhanced reading and annotation capabilities
  • 4K streaming support
  • Edge also includes a “Collections” feature, which allows users to organize and share information across the web and apps.

This tutorial aims to guide you through installing Microsoft Edge on your Rocky Linux 9 or 8 workstation desktop, utilizing the command line terminal. You will learn how to install stable, beta, or developer (nightly build) versions of the browser and how to update and remove the browser if necessary.

Step 1: Update Rocky Linux

As a precautionary measure, it’s important to run an update on your system before installing the Edge browser. This will ensure that all packages are up-to-date and help prevent conflicts during installation.

sudo dnf upgrade --refresh

Step 2: Import Microsoft Edge Repository

To begin installing Microsoft Edge on your Rocky Linux workstation desktop, you must import the GPG Key for the RPM Import.

You can use the following command in your terminal to import the key.

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

After importing the GPG Key, you must add the Microsoft Edge repository to your system. This repository contains the package files for the browser, and it will allow you to install and update the software.

You can use the following command in your terminal to add the repository.

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

Step 3: Install Microsoft Edge

With the GPG key and repository in place, you can install the stable version of Microsoft Edge, which is the recommended option for most users. This version is considered the most stable, and it receives regular updates with bug fixes and security patches.

To install the stable version, you can use the following command in your terminal.

sudo dnf install microsoft-edge-stable

As an alternative, you can install the beta or dev (nightly) build versions of the Microsoft Edge browser. These versions are not recommended for daily use as they are still under development and may contain bugs or other issues. However, they can be helpful for users who want to test and experience the latest features and improvements that will be included in future browser releases.

See also
How to Install Visual Studio Code on Rocky Linux EL9 or EL8

As an alternative, one option to consider is installing the beta version of Microsoft Edge before moving on to the dev (nightly) version. The beta version is in the testing phase before it’s released to the stable version, so it offers newer features, but it may not be as stable as the stable version. This approach allows you to test new features while maintaining a stable environment.

sudo dnf install microsoft-edge-beta

Another option is to install the dev (nightly) build of Microsoft Edge, which is the latest version that includes the most recent features and developments. However, it is important to note that this version may be unstable, depending on your intended usage. It’s intended for developers and early adopters who want to test the latest features and report bugs to the development team.

sudo dnf install microsoft-edge-dev

It’s important to note that when installing the beta or dev (nightly) builds, they will be installed separately and will not replace your stable version of Microsoft Edge. This allows you to switch between different browser versions depending on your needs.

Step 4: Launch Microsoft Edge

Once the installation is complete, you can launch Microsoft Edge in a few different ways. One way is by using the following command in the terminal. This will open the browser directly from the command line.

microsoft-edge

For most desktop users, it’s not practical to open a terminal each time to launch the Microsoft Edge browser. A more convenient way to launch the browser is by accessing the application icon. This can usually be found in the applications menu or by searching for it in the search bar. Once you locate the icon, you can click on it to launch the browser. To make it even more convenient, you can pin it to the taskbar or dock for easy access by right-clicking the icon and selecting the “Pin to taskbar” or “Pin to dock” option.

Activities > Show Applications > Microsoft Edge {browser version}.

Example:

Upon opening Microsoft Edge for the first time, you will be presented with the following screen.

Example:

You will be given the option to uncheck or leave the setting as is and then click the OK button to continue. After this, you will be presented with three options: Inspiration, Informational, or Focused. Each option will give you a preview of what the view will look like as the background in your Edge browser. Select your preferred option and click the confirm button to proceed.

See also
How to Install EPEL on CentOS Stream EL9 or EL8

Example:

Lastly, you will be given the option to sign in and sync your data across multiple devices. However, if you do not need this feature, you can click on the “X” button in the top right-hand corner.

Example:

With all the steps completed, you will now have access to the Microsoft Edge internet browser, as shown below.

Example:

Additional Commands & Tips

Update Microsoft Edge

To ensure that you have the latest version of the Microsoft Edge Internet Browser installed on your system, you can use the DNF update command in the terminal, just as you would when checking for updates for your entire system. This command will check for any available updates for Edge and prompt you to install them if any are found. It is recommended to run this command regularly to stay up-to-date with the latest features and security fixes.

sudo dnf upgrade --refresh

Remove (Uninstall) Microsoft Edge

If you no longer need the Microsoft Edge browser on your system, you can remove it by executing the following command. This command will thoroughly uninstall the application and any associated files from your system.

sudo dnf autoremove microsoft-edge-stable -y

As an alternative, you can use the following command if you have installed beta or unstable alternative versions of the Microsoft Edge browser on your system. This command will remove those specific versions and their associated files, leaving your stable version of the browser intact.

sudo dnf autoremove microsoft-edge-beta -y
sudo dnf autoremove microsoft-edge-stable-dev -y

In case you have no plans to re-install the Microsoft Edge browser, it’s important to remove the associated repository. This can be done by executing the following command.

sudo rm /etc/yum.repos.d/microsoft-edge-beta.repo
sudo rm /etc/yum.repos.d/microsoft-edge-dev.repo
sudo rm /etc/yum.repos.d/microsoft-edge.repo

Conclusion

In conclusion, installing Microsoft Edge on a Rocky Linux desktop is a straightforward process that can be done through the command line terminal. By following the steps outlined in this tutorial, you will be able to install the stable, beta, or dev (nightly) version of the browser and learn how to update and remove the browser if necessary. Microsoft Edge offers many features, such as improved speed and performance, enhanced privacy and security, integration with Microsoft services, support for extensions, enhanced reading and annotation capabilities, and 4K streaming support. With Microsoft Edge installed, you will have a fast and efficient browser that can help you stay productive and connected on your Rocky Linux workstation desktop.

Leave a Comment

Share to...