How to Install VirtualBox on Ubuntu 17.10 / 18.10

In this article, we will examine how to install Oracle VM VirtualBox, which allows you to install virtual machines on Ubuntu 17.10 / 18.10.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

How to Install VirtualBox on Ubuntu 17.10 / 18.10

Oracle VM VirtualBox allows you to set up and run virtual machines on the operating system you are using.

Once you have installed VBox and installed a new machine, you can start installing the operating system by integrating the ISO files of operating systems such as Windows, Linux or MacOS into this VM.

The greatest advantage of the Oracle VM VirtualBox virtualization program is that it is open source and completely free. In our previous article, we discussed How to Install VirtualBox on Windows 10. In this article, we will provide the steps to install and configure VBox on Linux based Ubuntu 17.10 / 17.04 / 18.10 / 18.04.

After installing VirtualBox on Ubuntu 17.10, we will install the Guest Additions required for this software. And finally, we’ll take steps to set up the VM on Ubuntu.

NOTE: You can also install Oracle VM VirtualBox 6.0.4 on your Ubuntu system by following the steps in this article.

How to Install VirtualBox 5.0.x / 6.0.x on Ubuntu

Follow the steps below to install Oracle VM VBox software on Ubuntu 17.10 / 17.04 / 18.04 / 18.10.

   Step 1

First, click on https://www.virtualbox.org/wiki/Linux_Downloads to download the VBox program for Ubuntu. And you will see the following image. Click on Linux distributions as shown below.

Linux distributions

   Step 2

Linux distributions will be listed as below and download the appropriate version according to the hardware specifications of your computer.

Download VBox Software for Ubuntu

   Step 3

Download the required file for installing the Ubuntu VBox Guest Additions by clicking All supported platforms.

Ubuntu VBox Guest Additions

   Step 4

After downloading the VM program for Ubuntu to your computer, open the Terminal on the Ubuntu desktop. Use the cd Desktop command to switch to the desktop from the terminal, and then execute the following command to start the installation on Ubuntu.

[email protected]:~$ sudo dpkg -i virtualbox-5.1_5.1.28-117968-Ubuntu-zesty_amd64.deb

 
Ubuntu Terminal Screen

   Step 5

After creating the installation files, clean the Terminal screen by pressing Ctrl + L.

Clear Terminal Console in Linux using Ctrl + L

   Step 6

Now, use the following command to install Oracle VM software.

[email protected]:~$ sudo apt-get -f install

 
sudo apt-get -f install

   Step 7

The installation started as you see in the image below. It reported that new packages will download and install it. Press Y (Yes) button to start the installation.

sudo apt-get -f install

   Step 8

After the required packages have been downloaded and installed, press Ctrl + L to clear the terminal console.

Clear Terminal Console in Linux using Ctrl + L

   Step 9

To start it in Linux/Ubuntu, type virtualbox in the Terminal and press Enter.

Running VirtualBox in Ubuntu System

   Step 10

Installation of Oracle VM VBox in Ubuntu has been completed. You can check the program version from Help/About.

Installation of Oracle VM VBox in Ubuntu 17.10

How to Install Guest Additions

We downloaded Guest Additions via our official site. Now let’s add it to the VBox program.

   Step 1

Double-click on the package to start installing the guest additions.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 2

Click the Install button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 3

Accept the license agreement by clicking on the I Agree button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 4

Type in the Root password for your Ubuntu operating system and click on the Authenticate button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 5

VBox guest additions installation has completed. Click the OK button to close the information window.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

How to Create New Virtual Machine in VirtualBox

After installing VirtualBox on Ubuntu 17.10, we finished installing guest additions. And last but not least, let’s create a new virtual machine in VirtualBox.

   Step 1

Open the VirtualBox program and click the New button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 2

Type in your operating system name you will install and select the operating system version from the version section.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 3

Specify the amount of RAM for the virtual machine and click on the Next button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 4

To add a hard disk to the virtual machine, select Create a virtual hard disk now and click the Create button.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 5

Continue by selecting the VDI option as the virtual machine hard disk type.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 6

Continue by selecting the Dynamically allocated option on the Storage on physical hard disk window.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 7

If you want to change the virtual machine hard disk location, you can change it in the File location and size window.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

   Step 8

We have completed the steps to create a new virtual machine in VirtualBox. From this step, you can start the Windows 7 operating system installation by integrating the ISO file.

How to Install VirtualBox on Ubuntu 17.10 / 18.10

How to Setup VirtualBox on Ubuntu 17.10 / 18.10  ⇒ Video

You can watch the VirtualBox installation on Linux/Ubuntu 17.04 / 17.10 and subscribe our YouTube channel to support us!

   Final Word

In this article, we’ve discussed how to set up Oracle VM VBox virtualization software in Linux systems. Thanks for following us!

If this article is helpful, please send us feedback by commenting…

   Related Articles


How to Create a New VM in Oracle VM VirtualBox
♦ How to Install Windows 10 in Oracle VM VirtualBox
♦ What is VirtualBox Virtualization Software
How to Install Windows 95 in VirtualBox on Windows 10
♦ How to Install Windows 98 in VirtualBox on Windows 10

Add a Comment

Your email address will not be published. Required fields are marked *

five × 4 =