How to Install Microsoft Edge Browser on Ubuntu 24.04


With the advancement of AI, the demand for Edge browsers is increasing as Microsoft is clearly taking the lead in the game of AI compared to Bard or what you call now Gemini. Many people want to explore the generative AI and the Microsoft co-pilot in the Microsoft Edge browser. So if you are a Linux user, specifically Ubuntu, then you must also be looking to get your hands on the new generative searches powered by Microsoft AI.

This article will help you with Microsoft Edge browser installation on your Ubuntu 24.04 desktop. Let’s discover each of the installation methods with steps in this article.

Table of Contents:

1. How to Install Microsoft Edge Browser on Ubuntu 24.04

To install the Microsoft Edge browser in Ubuntu 24.04 you can either download its deb file directly through the Microsoft Edge browser download page, or you can try adding the Microsoft repository to your Ubuntu system. After adding the repository, install the Microsoft Edge browser using the apt.

Installing Microsoft Edge through either the GUI method (deb file) or the CLI method (adding repository) gives you the same version. In both cases, your system automatically adds the official Edge repository for Linux. This ensures you receive future Edge updates alongside your regular software updates.

Let’s take a close look at both of these methods for Microsoft Edge browser installation.

2. Installing Microsoft Edge Using Deb File (GUI Method)

Installing the Microsoft Edge browser on Ubuntu 24.04 is easy, simply download the Edge deb file. After downloading the deb file, install it using apt.

Step 1: To install the Microsoft Edge browser, first open the download page for the Microsoft Edge browser. Now select the Linux deb package for downloading.

Step 2: Before the download begins, accept the agreements. Read them if needed and click the Accept and Download button.

Clicking the button will automatically download a .deb installation package. This package works on Ubuntu, and all its official variants (like Kubuntu, Xubuntu, etc.). It also works on many Ubuntu-based distributions (Linux Mint, elementaryOS).

Step 3: The Microsoft Edge browser deb file will start downloading and once it is done you will find it inside your Ubuntu file manager.

Step 4: Next, open the file directory in the terminal and run the below-given command to install the Microsoft Edge browser deb file:

sudo apt install /your/path/to/package/microsoft-edge-stable_123.0.2420.53-1_amd64.deb

For the file path, right-click the deb file and select Properties. You will find the path to the file in the opened window.

Note: Replace the deb file name in the above installation command. You can use the ls command to copy the file name and paste it inside the above command.

Step 5: The Microsoft Edge browser is installed on Ubuntu 24.04. Open the App menu or App Centre and launch the browser.

You can also start the browser directly through the terminal by running this command:

microsoft-edge

You will see the Microsoft Edge browser will open up as a new tab on your Ubuntu 24.04 desktop.

Perform all the basic settings like adding your account, allowing permission to save passwords, and syncing your devices with the Microsoft Edge browser. This will help you to access your browser data like passwords and history from any device with the same account login.

3. Installing Microsoft Edge Browser by adding Repository (Terminal Method)

The second method for installing the Microsoft Edge browser on Ubuntu 24.04 is by adding the official Microsoft repository to your system. Follow these steps to install Edge using this method:

Step 1: First download the Microsoft GPG key. Run this command in your terminal to download a file from Microsoft:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

This file acts like a digital key to verify software authenticity before you install it.

Note: If the curl is missing, run sudo apt install curl to install it.

Step 2: Now you have to add this key to your system’s trusted keys:

sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/

Step 3: Next, run this command to add the Microsoft repository to your system:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list'

The above command will tell your system where to find software updates from Microsoft, specifically for the Edge browser.

Step 4: Finally, update your system and install the Microsoft Edge browser in Ubuntu 24.04 using these two commands:

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

Step 5: Lastly, you can also remove the downloaded GPG key for Microsoft, as we have already added it to the system and now there is no need for that file:

sudo rm microsoft.gpg

4. Installing Other Versions of Microsoft Edge

Microsoft also offers different versions of the Microsoft Edge browser. You can try the beta version or if you are a developer you can also try their developer version to test new features and design.

To install the Microsoft Edge browser beta version, run this command:

sudo apt install microsoft-edge-beta

Similarly, to install the Microsoft Edge developer version, run:

sudo apt install microsoft-edge-dev

5. Uninstall Microsoft Edge Browser on Ubuntu 24.04

If you have installed the Microsoft Edge browser using this guide, and tried it out but didn’t like it, simply uninstall using these commands:

To uninstall the stable version of the Microsoft Edge browser, run this command:

sudo apt remove microsoft-edge-stable

To remove the beta version, run:

sudo apt remove –autoremove microsoft-edge-beta

To remove the developer version of the Edge browser, run this command:

sudo apt remove –autoremove microsoft-edge-dev

That’s it from this article. We have covered two ways to install the Microsoft Edge browser on the Ubuntu 24.04 system.

Conclusion

To install the Microsoft Edge browser on Ubuntu 24.04 you can try two different methods. The first method is using the deb file, which you can get from the Microsoft Edge website. Once downloaded, install it using the apt. Another way of installing Microsoft Edge is using the Microsoft repository. First, add the Microsoft repository by adding its GPG key to the Ubuntu keys list. After that, you can install the Edge browser using the apt install. Both installation methods for Edge browsers are covered in this article.

Print Friendly, PDF & Email
Categories