How to Install MacBook Linux? Easy Step Guide

Mahima Dave Written by Mahima Dave
Updated on
Jun 23, 2026

Apple hardware is legendary, but macOS isn’t the only way to experience it. I decided to install Linux on Mac to escape the limitations of the Apple ecosystem. And to my surprise, MacBook Linux installation lowered the RAM and CPU usage and gave me complete ownership over my system configuration (which MacBook doesn’t allow). 

In fact, Linux takes 2.63% of the Desktop Operating System Market Share in the United States of America – April 2026. So if you are here just to try Linux, or looking to install Linux on Mac Pro or any Mac in the future, save this blog because here I will show you how to install Linux on Intel Macs and Apple Silicon Macs.

Quick Takeaway:

  • Installation steps depend entirely on whether your Mac uses an Intel processor or an Apple Silicon M-series chip.
  • Modern M1 to M4 Macs use an automated terminal script by the Asahi Linux Project.
  • Older MacBooks need a traditional bootable USB drive flashed using software like BalenaEtcher.

How to Install Apple Silicon MacBook Linux?

If you are wondering, can you run Linux on a MacBook with a modern M-series chip? Let me tell you, yes, it is possible. Settling on a MacBook Linux environment used to be complex, but Asahi Linux has made native Linux for Mac easily accessible. This method involves writing scripts in the Terminal on Mac instead of using traditional USB tools.

“And so really a lot of the philosophy behind the [Framework Laptop 13] Pro was ‘let’s build the MacBook Pro for Linux users. Let’s take the software that they want, the distro that they prefer, and then make sure that the hardware experience lives up to what they would expect coming from a MacBook Pro.’”

  • Nirav Patel (Framework’s CEO)

Framework’s CEO recognizes this massive shift in favor of Linux.

Fedora Asahi Remix makes the entire Linux installation on Mac safe right from the first step. 

Let’s see how I installed Linux on my Mac.

Step 1: To start off my Linux Mac setup, I open the macOS Terminal app by using the Spotlight Search.

Search and open the Terminal on Mac

Step 2: Copy-paste the official download command from Asahi Linux to get the automated installer scripts:

curl https://alx.sh | sh

Enter the Command to download Asahi Linux

Step 3: Once you press Return, the Terminal will ask you for the Administrator password. Enter the admin password and press Return to start the download.

Enter the Admin password

Step 4: When installing Linux on Mac hardware, the installer will ask how much space you want to allocate for your new Linux distribution. I recommend giving 20 GB – 40 GB of your drive. Type your preferred size and press “Y”.

 Enter the smallest allowable size for Linux

Step 5: Next, the Terminal prompts options to choose what to do:

f: Install an OS into free space

r: resize an existing partition to make space for a new OS

q: Quit without doing anything

Type “f”  to install Linux on the free space that was just created.

Install OS into free space

Step 6: Choose an OS to install for all the Fedora Asahi Remix. (My personal recommendation would be choosing KDE Plasma or the GNOME environment)

Choose an OS to install

Step 7: You will see the space required and the available free space. Type “max” when asked to let the new OS use how much of the space you created.

Enter max to use all space available

Step 8: Enter a name for your partition, and then it installs a submacOS into that partition. This will take 25-30 seconds.

Enter the OS name for Linux

Step 9: Enter the admin credentials once more to set the new OS.

Enter the password to continue

Step 10: The final step is to boot the system. Press and hold the power button until you see “Loading startup options…” on your screen. Select your new Linux volume and enter the password. You will boot into a Linux environment. And finally, your MacBook Linux is created. You will be welcomed with the Fedora Asahi Remix setup.

Welcome to Fedora Asahi Remix setup screen

How to Install Linux on Intel Macs?

If you’re working with an older Intel-based Mac, setting up a MacBook with Ubuntu is the best option. Unlike Apple Silicon, running Ubuntu on a MacBook Pro or setting up Linux on iMac desktops requires a traditional USB installation process. Having personally tested these setups on both Intel and Apple Silicon machines, here’s how to install Linux on a Mac:

Step 1: To begin the installation of Linux on Mac with an Intel processor, I downloaded the official Ubuntu Desktop ISO image file onto my desktop.

Download Ubuntu for Mac

Step 2: Next, I plug in a blank 8GB or larger flash drive that I don’t mind erasing.

Connect the USB drive to the Mac

Step 3:  Open a free open-source tool called BalenaEtcher and download it to create a bootable USB installer with Ubuntu ISO.

Download balenaEtcher on Mac

Step 4: Launch BalenaEtcher, click Flash from file, and select the downloaded Ubuntu ISO. Select the target, i.e, the USB attached, and click the Flash button. This handles the complex task of making the drive bootable.

Flash Ubuntu into the USB drive

Step 5: Before flashing, I need to clear out the dedicated storage space alongside macOS for MacBook Linux. For this, I select the main internal hard drive from the left side bar in Disk Utility and click the Partition button at the top.

Create a partition on the Mac drive

Step 6: Click the plus (+) icon to add a new volume. I formatted this new partition as MS-DOS (FAT) and allocated at least 40 GB of space.

Click + to add a partition

Step 7: Choose Add Partition to make space for Linux installation on Mac.

Click the Add Partition button

Step 8: Now boot my Intel Mac. I restart the Mac, and while it’s restarting, I hold the Option key until entering the boot menu.

Hold the Option key while the Mac is restarting

Step 9: A screen with Macintosh HD alongside a yellow/orange icon labeled “EFI Boot” appears. Use the arrow keys to select the EFI Boot and hit Return to load the live Linux environment.

Select the EFI Boot

Step 10: When the desktop boots up, a welcome menu will ask if you want to try or install Ubuntu. Select it, and press Return. Your MacBook Linux is successfully installed. Follow the wizard to set up your Linux.

Select the Try or Install Ubuntu option

Essential Pre-Installation Steps and Backups

Before I touch a single partition to type a terminal command, I always prepare my environment. Modifying the core operating system comes with the risk of data loss, so skipping these precautions isn’t even a choice.

  • Start by running a complete system backup using a Time Machine. It backs up your data, so in case you fail to install Linux, you can restore your important files from this backup.
  • Make sure the MacBook is plugged into a reliable power adapter for an undisturbed MacBook Linux installation. A sudden power loss mid-process can permanently corrupt the file system.

Is the Mac Architecture Linux Compatible?

If you face errors, your Mac architecture likely does not match your chosen setup method. Apple hardware falls into 2 completely different eras. And each has its own set of compatible installations. Otherwise, you may face issues like Mac computer freezing during setup. 

1. Apple Silicon Macs

Because modern M-series chips use custom Apple architecture, traditional Linux USB installers won’t boot in them.

  • Run the Asahi Linux Project terminal script to install Fedora Asahi Remix directly on your hardware.
  • Use virtual tools like UTM, Parallels (non-free), or VMware to run lightweight versions of Ubuntu or Debian on a Mac.

2. Intel- Based Macs

Older Macs use standard computer firmware. It gives you complete freedom to run almost any operating system.

  • The one I used, BalenEtcher, to flash standard desktop distros like Ubuntu, Linux Mint, etc, onto a USB drive and install them directly. If you are stuck between Linux Mint vs Ubuntu, both run smoothly on older Intel hardware.
  • Install a tool called rEFInd to replace Apple’s plain startup picker with a clean dual-boot selection menu.
  • Use completely free tools like Oracle VirtualBox to test Linux setups right inside your current desktop workspace.

Core System Requirements

No matter your chosen path, make sure you have these bare minimums to prevent installation crashes:

  • Storage Space: A minimum of 30GB of free drive space is required to safely hold a dual-boot operating system architecture. If you don’t have enough available storage, checking how to free up disk space on Mac beforehand can help you create room for Linux installation.
  • Security Clearance: If your Intel Mac has an Apple T2 Security Chip, you must boot into macOS Recovery Mode. Also, change the Startup Security Utility settings to allow booting from external media and turn off Secure Boot.

Wrapping Up Your MacBook Linux

Switching my Mac over to Linux was one of the most rewarding tech projects. Once you turn your Macbook Linux, you will have a machine built for your own customization, no more Mac limitations. Don’t worry if you hit a few hurdles during your installation process. Datarecovee is ready to assist you in overcoming them!

Frequently Asked Questions

Is it possible to install Linux on a Mac?

Ans. Yes, it is possible. You can install Linux using automated terminal scripts for modern Apple Silicon chips or a bootable USB installer for older Intel Macs.

Is Asahi Linux legal?

Ans. Yes, Asahi is completely legal. It does not use any proprietary Apple code and is built using legal reverse -engineering methods.

Which Linux distribution is best for MacBooks?

Ans. Fedora Asahi Remix is best for modern Apple Silicon MacBook Linux. For older Intel Macs, Ubuntu and Linux Mint are good choices.

Can I completely remove Linux and go back to macOS?

Ans. Yes. You can delete Linux partitions using macOS Disk Utility and expand your original storage back to its full size.

Will installing Linux on my Mac make it run fast?

Ans. Yes. Linux is lightweight and uses less RAM and CPU power than macOS. Thus, using Linux instantly speeds up older hardware.

Which OS is better than Linux?

Ans. It depends on your technical needs. macOS is better for ecosystem integration, Windows for gaming, and Linux for customization and programming.

Is running Linux on Mac legal?

Ans. Yes, running Linux on Mac is completely legal. You own the physical hardware and have the right to modify its operating system.

Related Posts
irql not less or equal
Tech Guides Aug 26, 2026
IRQL NOT LESS OR EQUAL: How to Fix the BSOD Error in Windows

One faulty driver or unstable hardware component can suddenly turn a normal session into a Windows blue screen. The IRQL…

why does chrome use so much ram
Tech Guides Aug 26, 2026
Why Does Chrome Use So Much RAM and How to Fix It?

A few open tabs should not feel like a memory crisis, but Chrome can make RAM usage climb quickly. But…

Headless Commerce APIs & Content Management
Tech Guides Aug 26, 2026
How Headless Commerce Works with APIs and Content Management

In a regular ecommerce store, one simple change affects everything. Changing the checkout affects the design of the blog. Adding…

Transfer Photos from iPhone to Mac
Tech Guides Aug 21, 2026
How to Transfer Photos from iPhone to Mac: 4 Easy Methods

Moving photos from your iPhone to your Mac does not have to be complicated. You can use a USB cable…

iPhone Unavailable Means
Tech Guides Aug 18, 2026
 iPhone Unavailable: What It Means and How to Fix It?

Seeing the iPhone Unavailable lock screen can be alarming, especially if you need immediate access to your device. Many people…

Turn On Lenovo Laptop
Tech Guides Aug 18, 2026
How to Turn On Lenovo Laptop (When It Won’t Start)

Pressing the power button on your Lenovo laptop and getting no response can be worrying. Sometimes the screen stays black,…

linux-proxy-setup-guide
Tech Guides Aug 17, 2026
Using Proxy Services on Linux: A Practical Guide for Browsers, Terminals, and Applications

A proxy service can be needed by Linux users in case of restrictions within the network, location-specific web content, necessary…

Azure Migration Guide
Tech Guides Aug 12, 2026
From On-Premises to Azure: What System Administrators Need to Know Before Moving to the…

Moving from on-premises infrastructure to Microsoft Azure is barely a matter of just moving servers and applications. The real challenge…

Poor Cell Service Costs
Tech Guides Jul 27, 2026
The Hidden Cost of Poor Cell Service at Work

In our day-to-day changing lives, cell phones play a vital role. Whether it is contacting your loved ones, sending text…