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.
How to install Microsoft Edge Browser on Linux Mint 20 ?
To install Microsoft Edge browser on a Linux Mint 20 system, you will have to perform the following steps on it.
1. Execute the "curl" Command
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
2. Install "microsoft.gpg" on Linux Mint 20
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/
3. Execute the "echo" command
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’
4. Remove "microsoft.gpg" from Linux Mint 20
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.
5. Update your System's Cache
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.
6. Install Microsoft Edge Browser on your Linux Mint 20 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.
7. Launch Microsoft Edge Browser on your Linux Mint 20 System
To launch Microsoft Edge browser through the terminal, you will have to execute the following command:
The welcome screen of the Microsoft Edge browser will be displayed.
How to Uninstall Microsoft Edge Browser from Linux Mint 20 ?
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