Microsoft Edge on Linux? This is how you install the web browser on your distro



For years, Linux and Microsoft have been rivals, and there has always been some tension between the two operating systems. However, over time, they have ended up making peace, and today it is easy to find the Kernel within Windows 10 and Windows 11 (as is the case with WSL), and vice versa, to be able to find programs, until recently unimaginable, available for Linux, such as Microsoft Edgethe company’s browser based on Chromium.

After the failure of Internet Explorer, and the classic Edge, one of the best fucking decisions that Microsoft makes is to abandon its web engine once and for all and jump through the hoops of the most popular engine, which, in the end, is what people use: chrome. Thus, in January 2020, Microsoft finally launched its new web browser for all Windows users (from 7 onwards), shortly after launching versions specially designed for other operating systems, such as macOS and, of course, Linux.

The new Chromium-based Edge is roughly a version of Google Chrome without all the Google bad stuff (i.e. the spying and tracking), and it changes many of the system functions and adds new features that, by default, , are not available in the Google browser, such as performance improvements or better ways of working. In addition, such is the similarity between both browsers that is it possible to install chrome extensions on edgeso that users do not miss anything when changing.

Edge is not fully OpenSource software, only the engine (Chromium) is open source. Therefore, we will never see it installed by default in any distro. But, if we want, we can install it by hand, Let’s see how.

Install Microsoft Edge on Linux

There are two different ways to install this new web browser on any Linux distro.

Using the DEB/RPM package

The first one is by downloading the installation package from the web page of the browser. This website will automatically detect the operating system that we are using, and will allow us to automatically download the best version for our system. For example, we are going to download the version to install it on Ubuntu, so we will download the .DEB version of it. In case of using other distros not based on Debian, like Fedora, we should download the RPM package.

Install Edge on Linux - 1

Before continuing, we will have to accept the license terms.

Install Edge on Linux - 2

Once the corresponding DEB/RPM package has been downloaded, we run it on our computer by double-clicking on it. The package manager of our computer will open, and we will be able to see general information about it. For example, the version that we are going to install, the type of license, and the size of the program, among other aspects.

Install Edge on Linux - 3

We click on the “Install” button, enter the superuser password, or root, when asked, and wait for the installation to complete. Ready. Now the browser will appear in the list of installed applications of our distro, and we can run it directly from there.

Install Edge on Linux - 4

From Terminal

If we are one of those who prefer to install the programs from the terminal, using commands, we will also be able to do it. To do this, the first thing we must do is copy the program’s installation script to the system and import the Microsoft GPG keys to be able to authenticate the package. We can do this by directly executing the following commands in our terminal, always with root permissions.

on ubuntu

To install it on a Debian-based distro, such as Ubuntu, the commands that we must execute on the system are the following:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg –dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
sudo sh -c ‘echo “deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main” > /etc/apt/sources.list.d/microsoft-edge-dev.list’
sudo rm microsoft.gpg

Once the keys have been imported, we will have our system ready to install the browser using the package manager of our system. In our case, since we are using Ubuntu, we can do it through APT. Therefore, we simply execute the following command and wait for it to finish.

sudo apt update && sudo apt install microsoft-edge-stable

We can also install the “Dev” version for developers using the following command:

sudo apt install microsoft-edge-dev

Or the beta, by changing the repository name to “/etc/apt/sources.list.d/microsoft-edge-beta.list’” and running the command:

sudo apt install microsoft-edge-beta

When finished, we will already have Edge installed on our computer, and we can start browsing with it by launching it from the list of system applications.

in fedora

If what we want is to launch this browser in a Fedora-based distro, then what we must do is execute the following commands (which are very similar to the ones we have just seen with Ubuntu):

sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo dnf config-manager –add-repo https://packages.microsoft.com/yumrepos/edge sudo mv /etc/yum. repos.d/packages.microsoft.com_yumrepos_edge.repo /etc/yum.repos.d/microsoft-edge-dev.repo

And, to install it, we will do it with:

sudo dnf install microsoft-edge-stable

Likewise, we can change “microsoft-edge-stable” to “sudo dnf install microsoft-edge-dev” or “sudo dnf install microsoft-edge-beta” depending on whether we want to install the beta version of the browser, or the developer version Web.

In OpenSuse

Microsoft also allows us to install your browser on OpenSUSE-based distros. To do this, we must also change a little the commands that we must execute, leaving them as follows:

sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo zypper ar https://packages.microsoft.com/yumrepos/edge microsoft-edge-dev sudo zypper refresh

And, to install it:

sudo zypper install microsoft-edge-stable

Likewise, we can change the name of the package to “microsoft-edge-dev” or “microsoft-edge-beta” depending on the version of the browser that we want to install.

Refresh the browser

Contrary to what happens with the version of the browser for Windows, in the case of Edge for Linux we cannot update it from the “About” section. When we enter it we can see information about the version, but not the browser updater itself.

About Edge on Linux

To bring Edge up to date when there are new versions, what we have to do is update it like any other program installed on our system. That is, through the corresponding package manager.

To do this, what we will do is search for new package updates in the repositories of our distro, and download those that are available. The fastest way to do this is to run the following command in an Ubuntu terminal:

sudo apt update && sudo apt upgrade

If we do not want to use the terminal, we can also download the DEB/RPM package again when there is a new version from the Edge web page to install it on top and thus update to the latest version.

Thus, if there is a new version of Edge for Linux, we can download and install it on the PC. If we use Fedora, or OpenSUSE, we will have to execute the appropriate command to update the browser to its corresponding version.

Uninstall Edge and clear your data

In the event that we are not convinced by the operation of Edge for Linux, we can always delete it so that there is no trace that it has been on our computer. We can do this, as always, in several different ways. If we still save the installer of the program, we can open it with our package manager to see the option to uninstall it and proceed to delete it just as we installed it at the time.

Uninstall Edge on Linux - 1

In addition, we can also do it from a terminal, executing the following command:

sudo apt purge microsoft-edge-stable

If we use the “beta” or “dev” version, we must change the name of the package to that of the version that we have installed. Thanks to the “purge” command we can delete both the browser and all the data related to it from our system, erasing all traces of Edge and being able to continue with our lives.

If we use another distro, like the ones we have seen, we will have to delete it using “dnf” or “zypper”.



Related News

Samsung does not want to invest in OLED technology, and LG is the big loser

The OLED industry is booming. Sales of televisions with this technology have not stopped increasing, managing to break all records. But even so, Samsung will

32 or 64 bits, which is better for programming?

As the labor market is in the world of technology, many users are entering the exciting sector of software development. And not only to find work, since

This Steam Deck style PC is curious, let’s see the specs

The portable PC hardware market is making a comeback. In addition to the most recent Steam Deck, we cannot fail to notice the Nintendo Switch which, although

AirPods Pro 2 to feature high-quality Bluetooth codec

Apple recently made the new AirPods beta firmware available with the first build of iOS 16 and other upcoming operating systems introduced during the WWDC

Netflix has a secret menu for better recommendations. how to get it

Netflix has a lot of TV shows, movies and documentaries. From binge-worthy original shows like Stranger Things and Bridgerton to horror movies, sci-fi and

Google finds evidence of spyware ‘Hermit’ use, warns Android victims

Google has found strong evidence that enterprise-grade Android spyware called 'Hermit' is being used via SMS messages to target high-profile Android users.