It doesn't matter if your host OS is Linux, MacOS, or something else. Once you have VirtualBox installed on your host computer.
You need to install some system dependencies before installing the Guest Additions.
The VirtualBox Guest Additions contain drivers and system applications to optimize the performance and features of the virtual machine’s operating system. Once the system restarts, log in with the username and password you set in the installation wizard and you will be greeted with your new Ubuntu desktop: Step 5 - Install the VirtualBox Guest Additions for Ubuntu 18.04 Once the installation is complete, you will need to restart the system:
Once the wizard is complete, the full installation will start. The wizard has instructions for each step, so we won’t show each step here. The virtual machine will launch using the Ubuntu 18.04 disk image and you will be guided through the installation by the installation wizard. iso file you downloaded in step 1 and then click Start: Step 4 - Complete the Ubuntu 18.04 install wizard VirtualBox will prompt you to select a disk image from which to install Ubuntu.
These instructions will work for creating an Ubuntu 18.04 virtual machine on Windows, Linux and Mac OS host machines. In this guide you’ll see how you can install Ubuntu 18.04 on VirtualBox, a popular cross-platform software for running virtual machines. Ubuntu 18.04 (Bionic Beaver) is a long term support (LTS) release of the Ubuntu Linux distribution released in April of 2018 and supported until April of 2028.