Table of Contents
If you’ve ever wanted to run macOS on Ubuntu, you’re in the right place. In this step-by-step guide, I’ll show you the fastest and easiest way to install macOS on Ubuntu using VMware Workstation Pro. Specifically, we’ll be installing macOS Ventura (macOS 13) on the latest version of Ubuntu. Whether you’re a developer, designer, or just a tech enthusiast, this tutorial will help you get a fully functional macOS virtual machine running on your Ubuntu system.
Why Run macOS on Ubuntu?
Running macOS on Ubuntu allows you to test apps, use macOS-exclusive software, or explore Apple’s operating system without buying a Mac. With VMware Workstation Pro, you get excellent performance, hardware acceleration, and the ability to run macOS alongside your primary Ubuntu OS seamlessly.
What You’ll Need Before Installing macOS on Ubuntu
Before we begin installing macOS on Ubuntu, make sure you have the following files ready:
- VMware Workstation Pro – Download Here
- macOS Unlocker – Download Here
- macOS Ventura ISO (13.7.8) – Download Here
- Darwin.iso (VMware Tools) – Download from Broadcom
📥 Complete Download Links & Commands:
Click here for the Google Docs reference
Step 1: Update Ubuntu System and Headers
Before installing macOS on Ubuntu, open a terminal and update your system:
sudo apt update
sudo apt install build-essential linux-headers-generic
This ensures your system is ready for VMware and virtual machine operations.

Step 2: Install VMware Workstation Pro on Ubuntu
- Navigate to your Downloads folder where the VMware bundle file is saved.
- Right-click the folder, then select Open in Terminal.
- Make the bundle executable:
chmod +x VMware-Workstation-Full-*.bundle
- Run the installer:
sudo ./VMware-Workstation-Full-*.bundle
Once completed, close the terminal. VMware Workstation Pro is now installed on your Ubuntu system.

Step 3: Unlock macOS Guest Operating System
To enable macOS on Ubuntu as a guest OS, you need to run the macOS Unlocker.
- Extract the macOS Unlocker ZIP file you downloaded.
- Open the extracted folder, right-click inside, and select Open in Terminal.
- Run the following command:
sudo bash lnx-install.sh
You’ll see a series of codes running. Once done, close the terminal.

Step 4: Create a New Virtual Machine for macOS on Ubuntu
- Launch VMware Workstation Pro from the Ubuntu app drawer.
- Accept the license terms and click Next until you reach the dashboard.

- Click Create a New Virtual Machine.
- Select Typical → Next.

- Choose Use ISO image → Browse and attach the macOS Ventura ISO.
- Ignore the error warning and click Next.

- Under the Guest operating system, select Apple macOS.
- Under Version, select macOS 13, then click Next.

- Name your VM and choose a location → Next.
- Select Store virtual disk as a single file → Next.

- Click Finish.
Your VM will boot automatically.

Step 5: Install macOS Ventura on Ubuntu
- At the Apple logo, wait for the language selection screen to appear.
- Choose your language → Next.

- Select Disk Utility → Continue.

- Select VMware Virtual SATA Hard Drive, then click Erase.
- Name your drive, set Format: APFS, Partition: GUID → Erase.

- Close Disk Utility.
- Click Install macOS Ventura and follow the on-screen steps.

The installation takes about 15 minutes. Once done, you’ll see the macOS Ventura welcome screen.

🎉 Congratulations! You have successfully installed macOS on Ubuntu using VMware Workstation Pro.

Step 6: Install VMware Tools (Fix Resolution)
After installing macOS on Ubuntu, the screen resolution may be too small. Here’s how to fix it:
- Download darwin.iso from the link above.

- In VMware, go to VM → Removable Devices → CD/DVD → Settings.

- Click Add → CD/DVD → Finish.
- Under Use ISO image, browse and attach darwin.iso.
- Click Save and restart your VM.

- On the macOS desktop, double-click the VMware Tools disk image.
- Run Install VMware Tools.

- If you see a “System Extension Blocked” warning, go to System Settings → Allow VMware services.

- Restart your VM.
Now your resolution will be perfect!
Step 7: Sign in to Apple Account (Optional)
- Open System Settings on your macOS VM.
- Click Sign In and enter your Apple ID credentials.

You’re all set!
Troubleshooting: Fix MOK Keys Error for VMware on Ubuntu
If you see the error "Cannot open /dev/vmmon: No such file or directory", run these commands:
cd /tmp
wget https://raw.githubusercontent.com/rune1979/ubuntu-vmmon-vmware-bash/master/wm_autoupdate_key.sh
chmod +x wm_autoupdate_key.sh
./wm_autoupdate_key.sh
This updates the MOK keys and resolves the issue.
Conclusion
Installing macOS on Ubuntu is easier than ever with VMware Workstation Pro and the right tools. In this guide, we successfully installed macOS Ventura, unlocked the macOS guest OS, installed VMware Tools, and fixed common errors. Now you can enjoy a fully functional macOS environment right inside your Ubuntu system without needing a separate Mac.
If you found this tutorial helpful, share it with others who want to run macOS on Ubuntu. Have questions or run into issues? Drop a comment below — I’ll be happy to help.
Happy virtualizing! 🚀
Frequently Asked Questions (FAQ)
1. Is it legal to install macOS on Ubuntu?
macOS is licensed to run only on Apple hardware. However, installing it on a virtual machine for personal or educational use is a common practice.
2. Can I run macOS on Ubuntu without VMware?
Yes, but VMware Workstation Pro offers the easiest and most stable way to run macOS on Ubuntu.
3. Will macOS run smoothly on Ubuntu?
With proper hardware (at least 8GB RAM and a modern CPU), macOS Ventura runs very smoothly inside VMware on Ubuntu.
4. Do I need a Mac to download macOS Ventura ISO?
No. You can download the ISO from the links provided in this guide.
