Table of Contents
Motivation
For my Udacity Nanodegree I need to use an installation of ROS.
The recommended version of ROS Noetic Ninjemys is only supported up to Ubuntu 20 Focal Fossa.
This poses a problem on modern machines like my Macbook Pro with the M3 chip.
But after some fiddling I got a working installation the following way:
UTM
I bought the UTM App https://mac.getutm.app/ and installed it
VM Image
You need to download the Ubuntu 20 Server Release for arm64:
https://cdimage.ubuntu.com/releases/focal/release/ubuntu-20.04.5-live-server-arm64.iso
Install Image
- Open the UTM app and click the “+” button.
- Select “Virtualize”.
- Select “Linux”.
- Click “Browse” and select the Ubuntu Server ISO.
- Press “Continue”
- Pick the amount of RAM and CPU cores you wish to give access to the VM. I used 8192 and 8 cores
- Press “Continue”
- Specify the maximum amount of drive space to allocate. I used 64GB
- Press “Continue” to continue.
- Press “Save” to create the VM and press the Run button to start the VM.
- Go through the Ubuntu installer.
If the machine is not rebooting you have to open the Edit menu of the VM image and remove the USB drive.
Install Desktop
After installing the blank server VM we need to install the desktop.
Start the VM and log in. Now we can do:
* $ sudo apt update
* $ sudo apt install ubuntu-desktop
* $ sudo reboot