Microsoft Edge is a relatively newer web browser that was launched in 2015.
This is a cross-platform web browser that can also be used with Linux-based systems.
Edge supports Debian, Ubuntu, Fedora, and OpenSUSE distribution.
It is expected Edge will be available for more platforms in upcoming releases.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Open Source related Software Installation tasks.
In this context, we shall look into how you can install this web browser on a Linux Mint 20 machine.
To install Microsoft Edge browser on a Linux Mint 20 system, you will have to perform the following steps on it.
First, you need to execute the “curl” command in the manner shown below:
$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > Microsoft.gpg
Now, you should install "microsoft.gpg" on your system with the command shown below:
$ sudo install –o root –m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
After that, you need to execute the "echo" command in the following manner:
$ sudo sh –c ‘echo “deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main” > /etc/apt/sources.list.d/Microsoft-edge-dev.list’
Now, you need to remove "microsoft.gpg" from your Linux Mint 20 system that you have installed in step # 2.
This can be done with the command shown below:
$ sudo rm microsoft.gpg
After executing this command, you will finally be able to install Microsoft Edge on your Linux Mint 20 system.
However, before installing Microsoft Edge browser on your system, you should update it with the following command to read all the new changes:
$ sudo apt update
Once the system update is complete, you can follow the next step to install the Microsoft Edge browser on your system.
To install Microsoft Edge browser on your Linux system, you will have to execute the command shown below:
$ sudo apt install microsoft-edge-dev
When the Microsoft Edge browser has been installed successfully on your Linux Mint 20 system, you can try to launch it to confirm its installation.
To launch Microsoft Edge browser through the terminal, you will have to execute the following command:
$ microsoft-edge-dev
The welcome screen of the Microsoft Edge browser will be displayed.
If you want to uninstall the Microsoft Edge browser from your Linux Mint 20 system, then you will have to follow the steps described over here.
1. Remove Microsoft Edge Browser from your Linux Mint 20 System
You can remove the Microsoft Edge browser from your Linux Mint 20 system by executing the command shown below:
$ sudo apt remove microsoft-edge-dev
2. Remove all the Irrelevant Packages and Dependencies from your Linux Mint 20 System
After executing the above-mentioned command, you can additionally remove all the extra packages and dependencies from your Linux system by executing the following command:
$ sudo apt-get autoremove
This article covers methods of installing and uninstalling the Microsoft Edge browser on a Linux Mint 20 system.
Also, if you want to get rid of it, you can conveniently uninstall it.
Edge for Linux currently supports Ubuntu, Debian, Fedora, and OpenSUSE distributions.
Developers may install Edge from the Microsoft Edge Insider site or Microsoft's Linux Software Repository.
To Install Edge on Debian, Ubuntu, and Mint:
$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
$ sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
$ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
$ sudo rm microsoft.gpg
$ sudo apt update
$ sudo apt install microsoft-edge-dev
Once successfully installed on your Linux Mint system, launch the browser from your favorite app launcher, or run microsoft-edge-dev from a command prompt.