Skip to content

[SOLUTION] Modelio 5.4.1 on Mac silicon in VM #125

Open

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

Activity

  1. agilebotanist commented on Jul 25, 2025

    @agilebotanist
    Author

    Running ModelioSaaS on Mac/Ubuntu ARM64 (UTM + Rosetta)


    Prerequisites

    Make sure multiarch and Rosetta support are enabled as in the previous guide.


    Step: Install required packages for running the .run AppImage

    sudo apt update sudo apt install fuse libfuse2:amd64 qemu-user qemu-x86_64
    • fuse — kernel FUSE support

    • libfuse2:amd64 — 64-bit FUSE library for the AppImage

    • qemu-user, qemu-x86_64 — for running amd64 binaries on ARM64 with multiarch


    Step: Run ModelioSaaS .run installer with QEMU

    qemu-x86_64 ./ModelioSaaS_linux.run

    Optional: If you prefer to extract instead of running with FUSE:

    ./ModelioSaaS_linux.run --appimage-extract cd squashfs-root ./AppRun

    Notes

    • Installing libfuse2:amd64 is critical because the AppImage depends on it.

    • Running with qemu-x86_64 leverages Rosetta’s binary translation on your ARM64 Ubuntu VM.

  2. alebagnato commented on Aug 11, 2025

    @alebagnato

    Many thanks @agilebotanist !!

  3. changed the title [-]Here is the guide to install Modelio 5.4.1 on Mac silicon in VM[/-] [+][SOLUTION] Modelio 5.4.1 on Mac silicon in VM[/+] on Dec 31, 2025
  4. ankou29666 commented on Feb 17, 2026

    @ankou29666

    Unnecessarily complicated. publishing app in .jar format and manually install JVM would be much more simple and much more efficient.

  5. agilebotanist commented on Feb 17, 2026

    @agilebotanist
    Author

    The app is Eclipse RCP with all native dependencies. It is technically impossible to package that as a jar ;)

    Also, migration from one OS to another is technically difficult since RCP has tons of native dependencies.

    Blame (praise) Eclipse ;)

  6. ankou29666 commented on Feb 17, 2026

    @ankou29666

    doesn't look like a smart choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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