Skip to content

macOS VM Setup

  1. If you have a Mac with a silicon chip, download this arm server image from here. Otherwise download this image here
  2. Install the UTM application here. UTM will allow you to virtualize Ubuntu and essentially work out of a Ubuntu machine.
  3. Open UTM, select ‘Create a New Virtual Machine’, then ‘Virtualize’, then for the operating system select ‘Other’, allocate a minimum of 4gb of memory
  4. Then choose CD/DVD Image for the boot device and then browse for and select the ubuntu image you just downloaded as the boot ISO image
  5. Specify how much storage you want the machine to have(64GB is sufficient) and continue
  6. No shared directory is needed so continue. Then set the name of your VM and save.
  7. Launch your new VM by clicking the play button and select ‘Try or Install Ubuntu Server’
  1. Select your preferred language, then continue without updating

  2. Until you reach profile configuration, select done for all the next steps(you will have to wait on the ‘Ubuntu archive mirror configuration’ step) and confirm destructive action on the storage configuration

  3. On profile configuration, setup the machine to your liking(as if you were setting up an entirely new computer)

  4. Continue to select Done and do not setup anything with ssh configuration and skip the featured server snaps step(no server snaps are required)

  5. On the installation step, once finished, you will be prompted to reboot your machine. After selecting that option, close your VM and in UTM clear the iso

    Screenshot 2025-10-19 at 1 43 49 PM
  6. Launch the machine again and login.

  7. Run the following commands and restart your machine again

sudo systemctl set-default graphical.target
sudo systemctl start graphical.target
sudo apt update
sudo apt upgrade
sudo apt install ubuntu-desktop
  1. Run sudo reboot and sign into your VM.

  2. Now follow the Ubuntu ROS installation steps here