Skip to content

Here is the guide to install Modelio 5.4.1 on Mac silicon in VM #125

@agilebotanist

Description

@agilebotanist

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

  1. Install UTM and create a VM for Ubuntu ARM64.

  2. Enable Rosetta for amd64 binary translation in UTM.

  3. Install Ubuntu Desktop (GUI).

  4. Enable multiarch for amd64 support.

  5. Fix repositories and install dependencies.

  6. Download and install Modelio 5.4.1.

  7. Run Modelio.


✅ Step-by-Step Instructions

1. Install UTM


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.list

Ensure 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 to amd64 via ports.ubuntu.com — that won't work!

Then:

sudo apt update

If needed:

sudo apt --fix-broken install

5. 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/rosetta

Mounting 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.deb

7. Run Modelio

/usr/lib/modelio-open-source5.4/modelio

Or 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions