24

I'm Web Developer and need Microsoft Edge for testing on my Ubuntu.

I know I can have Microsoft Edge by:

  1. Installing Windows on Virtual Machine.
  2. Linux - Windows Dual boot.

But with these solutions, I have to buy windows while I'm not using it for everyday computing. Also I can't get rid of the Windows with these solutions.

I've read some articles about Microsoft Edge on Linux but couldn't find any solution. In 2015 they did this conference and Edge on Linux still doesn't happening:

WOAH, I CAN TEST EDGE & IE ON A MAC & LINUX!

I also found this and It seems Microsoft doesn't care for Edge on Linux. at least for now:

It turns out that Microsoft Edge is only available with operating system like Windows 10 and a browser application with few mobile devices.

Is there anyway to have Microsoft Edge on Linux without VM?

  • 1
    Just an update to this question, thats Microsoft have confirm Edge support to Linux OS recently. So you can use Edge directly on Linux system. – Mayur Jan 31 at 10:51
9

Microsoft Edge for Linux is now available in the Dev Channel at Microsoft Edge Insider Channels. Packages are available in deb and rpm formats. To examine files before installation:

mkdir /tmp/msedge
dpkg-deb -x microsoft-edge-dev_88.0.673.0-1_amd64.deb /tmp/msedge

After extraction, it's possible to run without installing:

/tmp/msedge/opt/microsoft/msedge-dev/microsoft-edge-dev

Warning: If the deb is installed, it will add an apt repository by creating /etc/apt/sources.list.d/microsoft-edge-dev.list


The following info about using Microsoft Edge with Wine may be out of date. The installer appears to have stopped working.

Microsoft Edge for Windows 7 can now be run with Wine. Since the new versions of Edge use the Blink HTML engine, it may behave differently from older versions of Edge. There may also be compatibility problems with other Blink-based browsers, such as may be seen with some sites on Chrome vs Chromium, especially when Microsoft moves into the extend phase.

  1. Install winehq-staging (I was using version 4.13 when I first wrote this; I am now using 5.4).

  2. Download the MS Edge installer for Windows 7.

  3. Make sure Wine compatibility mode is set to Windows 7.

     winecfg
    
  4. Run the installer with Wine.

     wine MicrosoftEdgeSetup.exe
    
  5. Run Edge. There are a lot of fixit and err messages, but nothing show stopping. If you get a black window at first, wait a few minutes. It takes a while to load at first and will eventually display properly. I was able to change settings and browse a few sites without noticing any major problems aside from the one shown in the screenshot below, which isn't unexpected.

     wine 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
     wine 'C:\Program Files (x86)\Microsoft\Edge Beta\Application\msedge.exe'
     wine 'C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe'
    

    Performance is generally poor. Video and audio are glitchy.

    msedge - doesn't look special

  6. If the black screen doesn't go away... I don't know why. Maybe it's related to the version of Wine, graphics card, or Wayland? I'm using X11 with Intel graphics card.

| improve this answer | |
  • Great tut! Unfortunately this does not seem to work any longer, for me the black screen does not go away. Even after waiting hours. – Phil Roggenbuck Mar 16 at 23:03
  • @PhilRoggenbuck I just installed release version of Edge last night, and black screen went away after about a minute. I'm using Wine 5.4 Staging. Intel graphics card. X11. – xiota Mar 16 at 23:29
  • thanks for the info. I will try it again, I'm using the amd opensource driver. – Phil Roggenbuck Mar 18 at 7:46
  • I also faced the same blank screen problem. After several hours of frustration, I was finally able to get it it running. I ended up installing vulkan and lutris, and then followed the instructions at reddit.com/r/wine_gaming/comments/ejoh2x/… to setup edge.exe as a 'game' inside lutris and was successfully able to run Netflix and Amazon Prime both run in 1080p. Make sure to enable DXVK – Nehal J Wani Jul 13 at 5:15
29

First, install VirtualBox: https://www.virtualbox.org/wiki/Linux_Downloads

Then, install the Edge virtual machine for VirtualBox from here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

| improve this answer | |
  • Note that this is free and should have been the accepted answer as the linux version is not identical to the windows one and the Edge user base is Windows. – rtaft Oct 23 at 13:42
13

Update 2018

Microsoft announced that Edge will be released with Blink engine (Chromium) in early 2019. They didn't talk about Linux version yet and at this point only VM and Browserstack works.

Microsoft Edge will now be delivered and updated for all supported versions of Windows and on a more frequent cadence. We also expect this work to enable us to bring Microsoft Edge to other platforms like macOS. Improving the web-platform experience for both end users and developers requires that the web platform and the browser be consistently available to as many devices as possible.

Browserstack

With browserstack there isn't any need for VM or Dual boot. It shows Microsoft Edge on any browser. It will allow to test your local sites.

Till now, developers have been relying on virtual machines or PC’s with Windows 10 to test their products and websites on Microsoft Edge. To provide an easier way to test, Microsoft and BrowserStack are partnering to give developers a cloud based infrastructure to instantly test and ship great experiences on Microsoft Edge.

and about Local Testing Security:

Local Testing enables you to test local folders and internal servers. We use custom-designed Chrome and Firefox extensions, with WSS (secure WebSockets) to connect your machine to the cloud. WebSockets allows extensive interaction between the client browser and the servers and devices. To protect the privacy of transferred data during the testing session, we use WSS exclusively. WSS uses SSL over port 443 for transport and therefore only transmits encrypted data.

When testing an private server, we forge a connection between the server you have specified, and our virtual machines or physical devices. The mechanism is set up to forward requests and responses back and forth, and nothing else. Similarly for local folder testing, the BrowserStack cloud only has access to the folder mentioned during the setup of the connection. Our infrastructure cannot access anything else on your filesystem.

| improve this answer | |
  • 1
    Websites are not images, interaction needs to be tested too. – Timo Huovinen Sep 4 '18 at 7:39
  • Timo, Browserstack has live testing if you didn't know... – Alex May 7 '19 at 13:57
2

Microsoft announced that Edge will abandon it's curent engine to become another Chromium based web-browser. (Like we hadn't enough of those already !) So in the future you won't need to test with Edge as long as you do it with any other Chromium based browser.

| improve this answer | |
  • 6
    How does this solve op's current problem? Rather than solving the issue some time in the future? – j-money Mar 12 '19 at 9:35
  • @j-money You're right, it doesn't solve anything NOW, but it still seemed important to me. That said, and while a bit unrelated, I find it sad (and a bit dangerous) to have almost all web-browser use the same engine. I would have preferred if Microsoft add chosen to open the code of their render engine instead. – Bigou Mar 15 '19 at 16:52
2

Apart from the free virtual machines (that expire after 90 days) Paul posted, you can also use other useful tools like BrowserStack.

| improve this answer | |
-2

No, you can not get Microsoft Edge on Linux/Ubuntu or any other Linux machine. Instead of using Microsoft Edge try using a text editor that comes with your system. A text editor should function almost as well as Microsoft Edge for programming (By the way, I'm a web developer too).

| improve this answer | |
  • 12
    I want to see how Edge and IE show and handle my html/css and javascript. How text editor can do what these browsers do? – ICE Oct 23 '16 at 21:46
  • 5
    @ICE Use a VM, and/or use RemoteIE. – negusp Oct 24 '16 at 0:34
  • 4
    @ICE Why is this answer marked as correct? Using a virtual machine like in the answer from Paul is at least the recommended way from microsoft. But using a text editor for testing does not seem to be the scope of the question, or? – Trendfischer Jun 1 '17 at 8:22
  • 1
    @Trendfischer I marked as correct because of the first part of the answer. at that moment there wasn't any way to use Edge on Linux without VM. also I mentioned VM on my question. and thanks for commenting. I add a solution here which I found days ago. – ICE Jun 1 '17 at 11:31
  • 8
    What relevance does the text editor part of this answer have to the question? – RolandiXor Nov 17 '18 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.