Link Search Menu Expand Document

Table of contents

  1. Install Ubuntu on macOS (For Apple Silicon)
    1. Download Multipass
    2. Install Multipass
    3. Start and Launch an Ubuntu Instance
    4. Enter your Ubuntu instance
    5. More Multipass Commands
  2. Install Ubuntu on Windows 10
    1. 1. Install Ubuntu LTS from Microsoft Store
    2. 2. Initialize your Ubuntu
  3. Install Ubuntu on macOS and Windows (Not for Apple Silicon and Windows 10)
    1. What you will need
    2. Get started
      1. Download Ubuntu ISO
      2. Open your VirtualBox in your machine
      3. Click the “New” button, and choose to install Ubuntu
      4. Choose Memory Size
      5. Create Hard Disk
      6. Choose Hard Disk File Type
      7. Choose Storage on Physical Hard Disk
      8. Choose File Location and Size
      9. Attach the ISO file
    3. Common errors of Ubuntu installation on Windows

Ubuntu is a complete Linux operating system, freely available with both community and professional support. This document will show you how to install Ubuntu on your machine (macOS and Windows).

Install Ubuntu on macOS (For Apple Silicon)

If you’re using Apple Silicon (Check if you’re using Apple Silicon), you need to install another tool like multipass to get Ubuntu on it.

Download Multipass

Go to the Multipass download page and download the latest version of Mutipass. When this page was written, the current released version was 1.8.1.

applem1_1

Install Multipass

applem1_2

Start and Launch an Ubuntu Instance

After you install multipass, you will get a multipass command in your machine. Execute the multipass launch command to start and launch a new Ubuntu instance.

applem1_3

Enter your Ubuntu instance

After launching a new Ubuntu instance, you can execute multipass shell {Your Instance Name} to enter Ubuntu.

applem1_4

More Multipass Commands

Multipass Home Page


Install Ubuntu on Windows 10

1. Install Ubuntu LTS from Microsoft Store

Open the Microsoft Store and search Ubuntu on the search bar. Some Ubuntu apps will come up. Click the latest version of Ubuntu. As of writing this page, the latest version was Ubuntu 20.04 LTS.

Ubuntu_windows10

Click the “Get” button to install it. It will take a few minutes depending on your Internet speed.

Ubuntu_windows10

2. Initialize your Ubuntu

After installing Ubuntu on your Windows 10 device, open it. It will do some initial work for the first time.

Note: If any of the below errors occur, follow the resolution at the bottom of the page. Ubuntu_windows10 Ubuntu_windows10

Continuing if no errors occur:

Ubuntu_windows10

After a few minutes, enter your Ubuntu OS username and password as you wish. For example, mark or mike.

Ubuntu_windows10

If you can see a similar window like this, you have installed the Ubuntu OS successfully.

Ubuntu_windows10


Install Ubuntu on macOS and Windows (Not for Apple Silicon and Windows 10)

If you’re using Windows 10, please see Install Ubuntu on Windows 10

What you will need

  1. VirtualBox (If you don’t have VirtualBox installed, please follow this link to install it.)
  2. Internet Connection
  3. Ubuntu ISO file

Get started

Download Ubuntu ISO

Go to the Download Ubuntu Desktop page and choose to download the latest version of the Ubuntu OS image.

Ubuntu_download

The file will be more than 3 GB which will take a while to download. You can download it to the ~/Downloads folder or anywhere you know. We will use it later.

Open your VirtualBox in your machine

virtualbox_installing

Click the “New” button, and choose to install Ubuntu

  • Input your Ubuntu OS name
  • Choose the Linux Type
  • Choose the Ubuntu_64 version

Ubuntu_new_1

Then, click “Continue”.

Choose Memory Size

The memory size will influence the performance of your Ubuntu. You can just use the recommended memory size - there’s no need to change it.

Ubuntu_new_2

Then click “Continue”.

Create Hard Disk

The hard disk is used for storing data inside your Ubuntu OS. Choose the “Create a virtual hard disk now” and click “Create”.

Ubuntu_new_3

Choose Hard Disk File Type

You don’t need to change this setting. Just use the defualt option “VDI (VirtualBox Disk Image)” and click “Continue”.

Ubuntu_new_4

Choose Storage on Physical Hard Disk

Use “Dynamically allocated” that will save the storage on your machine. Then click “Continue”.

Ubuntu_new_5

Choose File Location and Size

We will store all the data produced from Ubuntu to the ~/VirtualBox VMs/ directory. Just use the default path and then click “Create”.

Ubuntu_new_6

Attach the ISO file

If everything works, you should see that your Ubuntu OS has been installed. However, we still cannot boot the Ubuntu OS. We need to attach the ISO file that we downloaded before.

Ubuntu_new_7

Click the “Settings” button. Select Storage->Contorller: IDE -> Empty and click that blue button. Then click “choose a disk file”.

Ubuntu_new_8

After attching the ISO file to your Ubuntu, click the “OK” button. Then go back to the VitualBox dashboard and click “Start”.

Ubuntu_new_9

If there are no other problems, you have successfully installed Ubuntu on your machine.

Common errors of Ubuntu installation on Windows

If common errors like, ‘WSL has not been enabled’ or ‘WSL 2 requires an update’ occur follow these steps:

  1. Click on the Windows button and search ‘Turn Windows Features on or off’. Ubuntu_windows10

  2. Scroll down and make sure the options ‘Virtual Machine Platform’ and ‘Windows Subsystem for Linux’ are checked. Ubuntu_windows10

  3. Select OK and when prompted click ‘Restart Now’.

  4. After the restart, open the command line interface with Admin access. Ubuntu_windows10

  5. Run the command ‘wsl –set-default-version 2’. Restart Again. Ubuntu_windows10