This tutorial walks you through installing the latest Ubuntu 26.04 LTS on VirtualBox running on a Mac with macOS. The process is straightforward and suitable for beginners.
Prerequisites
- A Mac running macOS (any recent version)
- VirtualBox installed (download from virtualbox.org)
- Ubuntu 26.04 LTS ISO file (download from ubuntu.com)
Steps
- Launch VirtualBox and click New to create a new virtual machine.
- Name your VM (e.g., "Ubuntu 26.04 LTS"), select Linux as the type, and Ubuntu (64-bit) as the version.
- Allocate memory (RAM): At least 4 GB is recommended.
- Create a virtual hard disk: Choose VDI (VirtualBox Disk Image) and Dynamically allocated. Set the size to 25 GB or more.
- After creation, select the VM and click Settings. Go to Storage, click the empty optical drive, and choose the Ubuntu ISO file.
- Start the VM. It will boot from the ISO. Select Try or Install Ubuntu.
- Follow the on-screen installer: Choose your language, keyboard layout, and installation type (erase disk is fine for a VM).
- Create a user account and wait for the installation to complete.
- Once done, restart the VM. It will boot into your new Ubuntu 26.04 LTS.
Post-Installation Tips
- Install VirtualBox Guest Additions for better performance and screen resolution.
- Update the system:
sudo apt update && sudo apt upgrade.
With these steps, you'll have a fully functional Ubuntu 26.04 LTS running on your Mac via VirtualBox.