{"id":10121,"date":"2025-04-07T01:10:00","date_gmt":"2025-04-07T05:10:00","guid":{"rendered":"https:\/\/www.both.org\/?p=10121"},"modified":"2025-04-07T08:40:25","modified_gmt":"2025-04-07T12:40:25","slug":"using-linux-on-apple-silicon","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=10121","title":{"rendered":"Using Linux on Apple Silicon"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"10121\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p class=\"has-small-font-size\">Image: Tom&#8217;s Hardware Guide<\/p>\n\n\n\n<p>I bought an M3 MacBook Air last fall to experiment with AI tools and LLMs that were available for use on Apple Silicon. The M3 had more RAM than the M2 it replaced and a larger NVME drive. Those were important considerations. I wanted to install Fedora Asahi Linux on it eventually. To my dismay, I learned that the M3 was not supported. The Asahi Project is still working on support for M3 and M4 macOS machines. That news bummed me out when I read it. Recently, I discovered another way to run Linux on an M3 MacBook Air using UTM.<\/p>\n\n\n\n<p><a href=\"https:\/\/mac.getutm.app\/\" target=\"_blank\" rel=\"noreferrer noopener\">UTM<\/a>&nbsp;is a virtualization software that can be installed on an M3, and there are a number of Linux virtual machines that can be downloaded and run at near-normal speeds on the M3.&nbsp;According to the project website, \u201cUTM employs Apple\u2019s Hypervisor virtualization framework to run ARM64 operating systems on Apple Silicon at near-native speeds.\u201d This was great news, and I was eager to install it. I decided to use Homebrew to install the software.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% brew install --cask utm<\/code><\/pre>\n\n\n\n<p>Once the software was installed, I was ready to try it out. A dialog box appears, and you are invited to \u201cCreate a New Virtual Machine\u201d or \u201cBrowse UTM Gallery,\u201d a tab for the User Guide and one for support. I decided to browse the&nbsp;<a href=\"https:\/\/mac.getutm.app\/gallery\/\">gallery<\/a>&nbsp;and was pleasantly surprised to find several prebuilt Linux ARM64 machines ready to run.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a href=\"https:\/\/www.both.org\/wp-content\/uploads\/2025\/04\/UTM1.png\" target=\"_blank\" rel=\" noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"700\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2025\/04\/UTM1.png\" alt=\"\" class=\"wp-image-10122\" style=\"width:406px;height:auto\"\/><\/a><figcaption class=\"wp-element-caption\">Screen picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p>At its core, UTM operates on&nbsp;<a href=\"https:\/\/wiki.qemu.org\/License\">QEMU<\/a>\u2014a robust and versatile emulation software that has stood the test of time as a free and open-source solution. Despite its capabilities, QEMU\u2019s extensive array of command-line options and settings can make it challenging to navigate and configure. UTM simplifies this process by offering the same robust functionality as QEMU while eliminating complexity, making it accessible to users without requiring expert-level setup.<\/p>\n\n\n\n<p>I chose Debian 11 XFCE from one of the prebuilt machines, downloaded it quickly, and booted it up. The Debian machine has 1 gigabyte of RAM, a 20 GB disk drive, a VGA console, and an ARM64 architecture.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a href=\"https:\/\/www.both.org\/wp-content\/uploads\/2025\/04\/UTM2.png\" target=\"_blank\" rel=\" noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"594\" src=\"https:\/\/www.both.org\/wp-content\/uploads\/2025\/04\/UTM2.png\" alt=\"\" class=\"wp-image-10123\" style=\"width:566px;height:auto\"\/><\/a><figcaption class=\"wp-element-caption\">Screen picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p>The project\u2019s&nbsp;<a href=\"https:\/\/docs.getutm.app\/\">documentation<\/a>&nbsp;is excellent and extensive. It is open source with an Apache 2.0 license, and the&nbsp;code is available on&nbsp;<a href=\"https:\/\/github.com\/utmapp\/UTM\">Github<\/a>. I\u2019m still exploring and learning each time I use it. It\u2019s fun to use Linux on Apple Silicon at near-native speeds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I bought an M3 MacBook Air last fall to experiment with AI tools and LLMs that were available for use on Apple Silicon. <\/p>\n","protected":false},"author":32,"featured_media":10083,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-10121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10121"}],"version-history":[{"count":6,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10121\/revisions"}],"predecessor-version":[{"id":10142,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10121\/revisions\/10142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/10083"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}