-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Installing Modelio 5.4.1 on macOS Using UTM + Ubuntu ARM64
This guide explains how to run Modelio (x86_64/amd64-only) on an Apple Silicon (ARM64) Mac by using a UTM-based virtual machine with Ubuntu 22.04 ARM64, Rosetta 2, and multiarch support.
🔍 Summary of Steps
-
Install UTM and create a VM for Ubuntu ARM64.
-
Enable Rosetta for amd64 binary translation in UTM.
-
Install Ubuntu Desktop (GUI).
-
Enable multiarch for
amd64support. -
Fix repositories and install dependencies.
-
Download and install Modelio 5.4.1.
-
Run Modelio.
✅ Step-by-Step Instructions
1. Install UTM
-
Download UTM from https://mac.getutm.app/
-
Drag the
.appinto/Applications.
2. Create and Configure the Ubuntu ARM64 VM
-
In UTM:
-
Click "Create a New Virtual Machine"
-
Choose Virtualize → Linux
-
Select the Ubuntu 22.04 ARM64 server ISO
-
Enable:
- ✅ Rosetta (for x86_64 translation)
-
Allocate at least:
-
4 CPU cores
-
8 GB RAM
-
20+ GB disk
-
-
3. Install Ubuntu and Ubuntu Desktop
After booting the VM and installing Ubuntu Server:
# Update everything. Do not upgrade to 24+
sudo apt update
# Install GUI Desktop
sudo apt install ubuntu-desktop -y
# Reboot into desktop mode
sudo reboot
⚠️ Do not upgrade to 24+!
4. Enable Multiarch for amd64
# Enable amd64 architecture
sudo dpkg --add-architecture amd64📄 Edit /etc/apt/sources.list
sudo nano /etc/apt/sources.listEnsure you have both architectures, e.g.:
# arm64 ports
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse
# amd64 main archive
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
⚠️ Be sure to fix any lines pointing toamd64viaports.ubuntu.com— that won't work!
Then:
sudo apt updateIf needed:
sudo apt --fix-broken install5. Enable Rosetta in the Guest
Mount Rosetta and register the binary format handler:
# Mount Rosetta shared FS
sudo mkdir /media/rosetta
sudo mount -t virtiofs rosetta /media/rosettaMounting on Startup
In order to install the runtime, you need to have the share mounted at runtime. To do this, modify your /etc/fstab and add the following line:
rosetta /media/rosetta virtiofs ro,nofail 0 0
Install binfmt-support
binfmt-support is required to register and handle foreign architectures (e.g., amd64) on ARM systems:
sudo apt install binfmt-support# Register Rosetta binary format (for x86_64 ELF)
sudo /usr/sbin/update-binfmts --install rosetta /media/rosetta/rosetta \
--magic "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00" \
--mask "\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff" \
--credentials yes --preserve yes --fix-binary yes✅ Now the VM will transparently run amd64 binaries using Rosetta.
6. Download and Install Modelio 5.4.1
Go to: https://www.modelio.org/download-all.html
wget https://www.modelio.org/modelio-download/finish/2347-modelio-open-source-541-for-linux-debian-64-bit/0
mv 0 modelio-open-source-5.4.1_amd64.deb
# Install Modelio (ignore warnings about unmet deps — we manually satisfied them)
sudo dpkg -i --force-depends modelio-open-source-5.4.1_amd64.deb7. Run Modelio
/usr/lib/modelio-open-source5.4/modelioOr create a desktop shortcut using the .desktop file at:
/usr/share/applications/modelio-open-source5.4.desktop✅ Done!
You now have Modelio running on your macOS machine using UTM + Rosetta. If anything crashes, check:
-
~/.modelio/5.4/opensource-cache/conf/*.log -
That Rosetta is mounted and binfmt is correctly installed