globaluf.blogg.se

How to run linux on mac m1
How to run linux on mac m1




  • Download the Ubuntu Server ISO image for the version you’re interested in (I used 20.10).
  • Download and install UTM - you can get a free version, or pay a small amount for it to get updates and to its support development.
  • Here’s what I did to get myself up-and-running with an Ubuntu virtual machine running on UTM, editing code with VScode’s Remote-SSH extension. But a bit of searching led me to UTM as a MacOS hypervisor that would support the M1 processor. For a couple of minutes I seriously entertained the idea of returning this machine and getting another Intel-based one. I recently got a MacBookPro built on Apple’s M1 ARM CPU, and my usual set-up is impossible because VirtualBox doesn’t (yet) support ARM processors. Using VScode to SSH “remotely” into these VMs is a great set-up for development, for me. On my Intel-based Macs I have been using VirtualBox and Vagrant to run Linux virtual machines for years. Otherwise, it's the same wherever you get it from.Linux VMs on an M1-based Mac with VScode and UTM

    how to run linux on mac m1

    UTM is free and open-source, but the paid version in the Mac App Store provides automatic updates and helps support development.

    how to run linux on mac m1

    Under its skin is QEMU, a very old but still very good tool. UTM is another virtualization tool worth looking at, and it offers something the others currently do not. The icing on the cake is the Coherence mode, allowing you to run Linux apps outside the main Parallels window, almost as if they were native Apple Silicon Mac apps. Again, you'll be requiring Linux distros with ARM builds, but Parallels makes it super simple to download and install them. You're looking at $100 for a perpetual license, but it works really well and it's easy to use.

    how to run linux on mac m1

    Alternatively, using the Virtualization Framework are more consumer-friendly tools from the likes of Parallels, UTM, and VMWare.Īlternatively, you can go for Parallels, but this one will cost you, and it isn't cheap. But some of the biggest names are available for ARM, including Ubuntu and Debian. The caveat remains that you have to use an ARM-friendly Linux distribution (or "distro"), so that could rule out your favorite.






    How to run linux on mac m1