# Virtual machine setup documentation

Set up an Ubuntu virtual machine (VM) on a Windows^®^ or Mac^®^ host computer to sync, build, and flash the Qualcomm^®^ Linux^®^ software.

## VM setup overview

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> High-level VM setup overview

Provides a high-level overview of when to set up an Ubuntu VM.

https://docs.qualcomm.com/doc/80-80022-41/topic/getting-started.html#vm-setup-overview

## Set up an Ubuntu VM on Windows

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Prerequisites to set up an Ubuntu VM on Windows

Verify hardware and software requirements before setting up an Ubuntu VM on a Windows host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#prereq-windows

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Install Ubuntu in WSL

Verify and install Ubuntu 22.04 on a Windows host computer using Windows Subsystem for Linux (WSL).

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#install-ubuntu-22-04-linux-distribution

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Configure global settings for WSL

Configure WSL settings: memory, processors, and swap storage.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#conf-global-sets-for-wsl

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Configure Ubuntu settings in WSL

Configure DNS, Git, and local settings for WSL.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#conf-ubuntu-sets-for-wsl

## Set up an Ubuntu Server VM on an Arm64 Mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Prerequisites to set up an Ubuntu Server VM on an Arm64 Mac

Verify hardware and software requirements before setting up an Ubuntu VM on an Arm64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#arm64-based-mac-host-system-and-software-requirements

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Install UTM on an Arm64 Mac

Install the UTM virtualization software on an Arm64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#install-utm-on-mac-on-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Create a VM in UTM on an Arm64 Mac

Set up and configure a VM in UTM on an Arm64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#create-a-vm-in-utm-on-an-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Install Ubuntu Server in UTM on an Arm64 Mac

Use the Ubuntu ISO image to install Ubuntu Server in a VM on an Arm64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#install-ubuntu-on-vm-on-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Launch the Ubuntu Server VM on an Arm64 Mac

Start the VM to run Ubuntu Server virtually on an Arm64 Mac.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#launch-ubuntu-vm-on-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Access the Qualcomm Linux development kit

Connect the Qualcomm Linux development kit to the Arm64 Mac computer and access it from the Ubuntu Server VM.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#access-rb3-gen-2-device-from-the-utm-vm-for-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Configure power settings for Arm64 Mac and Ubuntu Server

Configure settings to prevent the Arm64 Mac computer and the Ubuntu Server VM from going to sleep due to inactivity.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#configure-power-settings-arm64

## Set up an Ubuntu VM on an x86\_64 Mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Prerequisites to set up an Ubuntu VM on an x86\_64 Mac

Verify hardware and software requirements before setting up an Ubuntu VM on an x86\_64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#intel-based-x86-64-mac-host-system-and-software-requirements

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Install UTM on an x86\_64 Mac

Install the UTM virtualization software on an x86\_64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#install-utm-x8664-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Create a VM in UTM on an x86\_64 Mac

Set up and configure a VM in UTM on an x86\_64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#create-a-vm-in-utm-x8664-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Install Ubuntu in UTM on an x86\_64 Mac

Use the Ubuntu ISO image to install Ubuntu in a VM on an x86\_64 Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#install-ubuntu-on-vm-on-intel-based-x86-64-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Launch the Ubuntu VM on an x86\_64 Mac

Start the VM to run Ubuntu virtually on an x86\_64 Mac.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#launch-ubuntu-vm-on-intel-based-x86-64-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Access the Qualcomm Linux development kit

Connect the Qualcomm Linux development kit to the x86\_64 Mac and access it from the Ubuntu VM.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#access-rb3-gen-2-device-from-x86-64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Configure power settings for x86\_64 Mac and Ubuntu

Configure settings to prevent the x86\_64 Mac and the Ubuntu VM from going to sleep due to inactivity.

https://docs.qualcomm.com/doc/80-80022-41/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#configure-power-settings-x8664

## Troubleshoot host computers and virtual machines

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Fix network failures in the Ubuntu VM

Address intermittent network issues in the Ubuntu VM, which may cause failures during ongoing build compilations.

https://docs.qualcomm.com/doc/80-80022-41/topic/troubleshoot.html#fix-network-failures-in-the-ubuntu-vm

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Optimize slow or unresponsive Mac host computer

Check if the UTM VM is using all resources, slowing down the Mac host computer.

https://docs.qualcomm.com/doc/80-80022-41/topic/troubleshoot.html#slow-or-unresponsive-host

Last Published: Apr 28, 2026

[Next Topic
Virtual machine setup overview](https://docs.qualcomm.com/bundle/publicresource/80-80022-41/topics/getting-started.md)