Linux on MacSource: iMore

With virtualization, you can install and use various operating systems on your Mac, including Windows and Linux. For the latter, we recommend using the latest version of Parallels or open-source VirtualBox. Here's a look at how to install and use Linux using each option.

What is virtualization?

As I noted in a previous post, software virtualization allows you to simulate a hardware environment and run multiple operating systems on one computer. In doing so, these virtual machines can take advantage of the hardware components on a computer such as RAM and storage in complete isolation to the primary operating system.

For those wanting to install Linux on their Mac through virtualization, we recommend using the latest version of Parallels or open-source VirtualBox. The former offers an easier-to-install solution, but you must pay for it after a 14-day free trial. The latter is open-source and free, but more difficult to install. Regardless, each solution will get the job done.

Installing Linux through Parallels

Using Parallels 15 for Mac, you can install a copy of Linux on your computer following the directions below. These steps assume Parallels has already been installed on your machine.

  1. Click File on the Parallels toolbar.
  2. Select New
  3. Highlight Download Ubuntu Linux under Free Systems.

    Install Linux on Mac using ParallelsSource: iMore

  4. Click Continue.
  5. Choose Download to download a copy of Linux onto your computer.

    Download LinuxSource: iMore

Once installed, Linux want you to add a new password for the "Parallels" user. You can also choose "Not Listed?" to add a new UNIX user. Regardless, sign into your UNIX account.

Ubunti Linux user loginSource: iMore

  1. Type in your newly created password in the Parallels Tools box.
  2. Click OK.

    Install Parallels toolsSource: iMore

  3. Restart your virtual machine at the prompt.

You can now use Ubuntu Linux on your Mac using Parallels.

Installing Linux through VirtualBox

To install a virtual copy of Linux on your Mac using the open-source VirtualBox, do the following. These steps assume VirtualBox has already been installed on your machine:

  1. Click New in VirtualBox.
  2. Add a name for your virtual copy of Linux.
  3. Choose Linux as the type of installation.
  4. Select the version of Linux to use.
  5. Click Continue

    Install Linux using VirtualBoxSource: iMore

  6. Choose a Memory Size. Use the suggested minimum or select another number up to your maximum. The more memory you allocate for your virtual operating system, the speedier it will be.
  7. Select Continue.
  8. Choose the Create a virtual hard disk now radio dial.
  9. Click Create.

    Linux Memory and Hard DriveSource: iMore

  10. Confirm VDI (VirtualBox Disk Image) as your hard drive file type.
  11. Select Continue.
  12. Confirm Dynamically allocated for storage.

    Linux storage selectionSource: iMore

  13. Choose file location and size
  14. Select Create.

    Installed Linux on MacSource: iMore

The steps above are just the first part of installing Linux on your Mac. You must now download a copy of Linux to work with VirtualBox to finish the process:

  1. Download Ubuntu Desktop from the Ubuntu website.
  2. Click Download next to the latest LTS version.
  3. Confirm to download.

    Download UbuntuSource: iMore

Once downloading this file is complete, go back into VirtualBox.

  1. Highlight the Linux instance on the left side of the VirtualBox Manager.
  2. Choose Start.
  3. Click on the File Icon on the pop-up screen.
  4. Select Add at the top left.

    Add LinuxSource: iMore

  5. Find, then highlight the Ubuntu file you just downloaded.
  6. Choose Open.

    Get Linux fileSource: iMore

  7. With the new file highlight, select Choose.
  8. Select Start.

    Linux installSource: iMore

From there, following the online directions provided by Ubuntu to finish the installation.

Adjust the settings

Depending on your Mac version and age, you may need to adjust the VirtualBox settings for Linux to make the window bigger. To do so, you must first exit the Linux installation. From there:

  1. Highlight the Linux virtual intallation on the main VirtualBox screen.
  2. Choose Settings.
  3. Select Display.
  4. Change Scale Factor from 100% to 200%.
  5. Click OK.

    Linux display settingsSource: iMore

  6. Click Start to start Linux on your Mac.

You can now change the screen size for your Linux installation and begin using the oeprating system on your Mac.

VirtualBox Linux on MacSource: iMore

Which should you choose?

Having installed Linux through both Parallels and VirtualBox on my MacBook Pro, I can tell you the process is easier through Parallels. As you can see above, there are much fewer steps to install Linux through Parallels. The result is the same once the operating system gets installed, however.

If you're already using Parallels on your Mac (to use Windows, for example), you should continue to do so for Linux. The process is simple, and easy-to-follow. However, if you're looking for a free solution or are new to virtualization, consider VirtualBox. Just go into it know you'll need to follow a few more steps.

Questions?

Do you have any questions? Let us know in the comments below.

We may earn a commission for purchases using our links. Learn more.