How to Install Microsoft Edge on Rocky Linux EL9 or EL8

Microsoft Edge, a product of Microsoft’s innovation, has expanded its reach beyond Windows and macOS to cater to Linux users. For those keen on leveraging its capabilities on Rocky Linux, this guide will detail how to install Microsoft Edge on Rocky Linux 9 or the older stable Enterprise Linux release of Rocky Linux 8. Built on the robust foundation of the Chromium open-source project, Edge offers a blend of speed, security, and seamless integration with other Microsoft services.

Key Advantages of Microsoft Edge:

  • Optimized Performance: Experience faster page loads and smoother browsing, making web navigation a breeze.
  • Robust Security: Edge prioritizes user safety with enhanced privacy features and robust security mechanisms.
  • Microsoft Ecosystem Integration: Seamlessly connect directly from the browser with Microsoft services, including Office and OneDrive.
  • Extension Support: Enhance your browsing experience with many extensions and web apps available for Edge.
  • Reading and Annotation Tools: Dive into an immersive reading experience with tools that allow annotations and easy reading.
  • 4K Streaming: Elevate your media consumption with support for 4K streaming, ensuring crisp and clear visuals.
  • Collections Feature: Organize, save, and share web content efficiently with the integrated Collections feature.

While Rocky Linux has the reliable Firefox ESR as its default browser, Microsoft Edge offers a fresh alternative with unique features and integrations. This guide will walk you through the steps to set up Microsoft Edge on Rocky Linux 9 or 8, covering the installation of stable, beta, or developer versions. Additionally, you’ll gain insights into updating or uninstalling the browser as needed.

Install Microsoft Edge on Rocky Linux 9 or 8 via DNF

Step 1: Update Rocky Linux Before Microsoft Edge Installation

As a precautionary measure, running an update on your system before installing the Edge browser is important. 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 RPM on Rocky Linux

To install Microsoft Edge on your Rocky Linux 9 or 8 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 on Rocky Linux 9 or 8 via DNF Command

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 receives regular updates with bug fixes and security patches.

You can install the stable version using the following command in your terminal.

sudo dnf install microsoft-edge-stable

Alternatively, 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.

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, the latest version with the most recent features and developments. However, it is essential 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 the beta or dev (nightly) builds 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.

Install Microsoft Edge on Rocky Linux 9 or 8 via Flatpak and Flathub

Flatpak with Flathub Microsoft Edge installations have only two options available, stable or dev. If you want to access the beta, you will need to use the Microsoft RPM method in the previous section.

The following alternative method will explain how to install Microsoft Edge on Rocky Linux 9 or 8 using the Flatpak and Flathub tools. These are noteworthy instruments in the Linux world that ensure compatibility and easy software distribution.

Understanding Flatpak and Flathub on Rocky Linux

Flatpak serves as a universal package management system in the Linux domain. Its underlying principle is to make applications run seamlessly across diverse Linux distributions. It achieves this by isolating applications in individual environments and eliminating potential system library conflicts.

Flathub is a complement to Flatpak. It’s an application repository that hosts apps packaged with Flatpak. Acting as a centralized platform, Flathub enables users to search for, locate, and install numerous applications.

Setting Up Flathub for Microsoft Edge on Rocky Linux

Before proceeding with the installation, ensuring the Flathub repository is integrated with your system is vital. Having Flathub set up is fundamental since it provides a gateway to a myriad of applications, Microsoft Edge being one of them.

To enable the Flathub repository, execute the command below:

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

Executing this command ensures your system’s capability to tap into the wide range of applications that Flathub offers.

Install Microsoft Edge on Rocky Linux 9 or 8 via DNF Command

With Flathub configured and operational, installing Microsoft Edge on your Rocky Linux system becomes straightforward. Utilize the flatpak install command to commence the installation:

flatpak install flathub com.microsoft.Edge

After the successful execution of the above command, Microsoft Edge will be integrated and operational on your Rocky Linux platform.

Install Microsoft Edge Dev Version on Rocky Linux 9 or 8

If your requirements lean towards the developmental side or you wish to test upcoming features, consider installing the Microsoft Edge dev (nightly) version. Execute the command below to achieve this:

flatpak install flathub com.microsoft.EdgeDev

Like the DNF method, both of these browsers can be installed side-by-side if you want to use both.

Launch Microsoft Edge on Rocky Linux 9 or 8

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.

## stable ##

microsoft-edge
microsoft-edge-stable

## beta ##

microsoft-edge-beta

## dev ##

microsoft-edge-dev

Alternatively, Flatpak installations of Edge need to use one of the following commands:

## stable ##
flatpak run com.microsoft.Edge

## dev ##

flatpak run com.microsoft.EdgeDev

For most desktop users, opening a terminal each time to launch the Microsoft Edge browser is impractical. Accessing the application icon is a more convenient way to launch the browser. This can usually be found in the applications menu or by searching for it in the search bar. Once you locate the icon, 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}.

Screenshot of launching Microsoft Edge on Rocky Linux EL9/EL8.
Clicking the launch button for Microsoft Edge on Rocky Linux.

You will be presented with the following screen upon opening Microsoft Edge for the first time.

First-time configuration steps of Microsoft Edge on Rocky Linux EL9/EL8.
Setting up Microsoft Edge for the first time on Rocky Linux.

You can uncheck or leave the setting, 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.

Theme selection, like "Focus", for Microsoft Edge on Rocky Linux EL9/EL8.
Opting for the “Focus” theme in Microsoft Edge on Rocky Linux.

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, click the “X” button in the top right-hand corner.

Sign-in or skip step during the final configuration of Microsoft Edge on Rocky Linux EL9/EL8.
Choose to sign in or skip during Microsoft Edge’s last setup on Rocky Linux.

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

Confirmation screen of Microsoft Edge successfully installed on Rocky Linux EL9/EL8.
Microsoft Edge installation completion screen on Rocky Linux.

Tips for Getting Started with Microsoft Edge on Rocky Linux 9 or 8

With Microsoft Edge now installed, here’s a compilation of tips, curated explicitly for Rocky Linux users, to make your transition smoother and help you get the most out of Microsoft Edge.

General Tips with Microsoft Edge on Rocky Linux

  • Syncing Across Devices: Microsoft Edge allows you to synchronize bookmarks, passwords, and more across multiple devices. To take advantage of this feature, ensure you sign in with a Microsoft account.
  • Read Aloud: Edge’s Read Aloud feature can be a boon, especially when multitasking. This tool reads web pages aloud, making content consumption easier.
  • Collections: Organize your thoughts, ideas, and the sites you visit using the Collections feature. It’s a productive way to manage web content, especially for research or projects.

Customizations with Microsoft Edge on Rocky Linux

  • Dark Mode: If you’re a fan of dark-themed UIs, switch to Dark Mode. Navigate to Settings > Appearance, and select Dark under the “Theme” section.
  • Customize Start Page: Tailor your start page to your liking by adding your most frequented sites, setting a preferred background, and choosing which news or topics appear. Click on the gear icon on the New Tab page to start customizing.
  • Extensions: While Edge has its dedicated extensions store, it’s also compatible with Chrome extensions. Visit the Chrome Web Store, and you’ll find an array of extensions that can seamlessly integrate into Edge.

Other Tips with Microsoft Edge on Rocky Linux

  • PDF Reader: Did you know that Microsoft Edge can also function as a PDF reader? Drag and drop a PDF file into an Edge window, which will open automatically, allowing annotations, read-alouds, and more.
  • Immersive Reader: For an uncluttered reading experience, utilize the Immersive Reader feature. It removes distractions on a webpage, focusing solely on text and images relevant to the content.
  • Developer Tools: Edge’s built-in developer tools will greatly assist if you’re a web developer. Press Ctrl + Shift + I to access them. They’re similar to Chrome’s but with unique features tailored to Edge.
  • Privacy Settings: Prioritize your online safety by fine-tuning Edge’s privacy settings. Navigate to Settings > Privacy, search and services, and adjust according to your comfort level, from basic tracking prevention to strict.

Incorporating these tips into your Microsoft Edge experience on Linux, you’ll familiarize yourself faster and unlock many features that can enhance your browsing. The key is exploring, customizing, and tailoring the browser to suit your preferences and needs.

Additional Microsoft Edge Commands on Rocky Linux 9 or 8

Update Microsoft Edge on Rocky Linux 9 or 8

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

Alternatively, you can check for updates on all Flatpak installations, which, if you installed Microsoft Edge via Flatpak, will include this application:

flatpak update

Remove (Uninstall) Microsoft Edge From Rocky Linux 9 or 8

DNF Remove Method for Microsoft Edge on Rocky Linux

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 remove microsoft-edge-stable -y

Alternatively, 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 remove microsoft-edge-beta -y
sudo dnf remove microsoft-edge-stable-dev -y

Removing the associated repository is essential if you have no plans to re-install the Microsoft Edge browser. 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

Flatpak Remove Method for Microsoft Edge on Rocky Linux

For users that installed Microsoft Edge on Rocky Linux via Flatpak, use one of the following commands to remove the version of Edge you installed:

flatpak uninstall com.microsoft.Edge
flatpak uninstall com.microsoft.EdgeDev

Conclusion

In conclusion, learning how to install Microsoft Edge on a Rocky Linux desktop is a straightforward process that can be done through the command line terminal. Following the steps outlined in this tutorial, you can 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 to help you stay productive and connected on your Rocky Linux workstation desktop.

Leave a Comment


Your Mastodon Instance
Share to...