How to Install Virtualbox 6.0.4 on Ubuntu 18.10?

As you all know Oracle Virtualbox is the most commonly used virtualization tool at the desktop level, in another face it is the most powerful and cross-platform virtualization software which is used to create and manage Virtual Machines (VMs) on Windows, MacOS, Linux. so, in this article, I will guide you about how to install Virtualbox 6.0.4 on Ubuntu 18.10 step by step. therefore if you are looking to install Virtualbox on Ubuntu then you are in a good place, here you will get everything that you will need during installation.  install Virtualbox ubuntu, how to install Virtualbox ubuntu
Recently Oracle released the latest version of Virtualbox 6.0.4. this release has some useful and new features. so I recommend you to download the latest version of Oracle Virtualbox. due to that, I will show you the latest version of Virtualbox installation on Ubuntu. how to install Virtualbox on ubuntu

First of all, I will show you how to install Virtualbox through software and in the second step I will guide you on how to install Virtualbox through Command. then afterward I am going to show you how to install the Virtualbox extension pack because the Virtualbox extension pack is necessary. how to install Virtualbox 6.0.4 on Ubuntu 18.10

How to install Oracle Virtualbox 6.0 on Windows 7/8/10 How to Install Kali Linux in Virtualbox How to Install MacOS High Sierra on Virtualbox How to Install MacOS Mojave on Virtualbox on Windows How to Install Ubuntu 18.10 on Virtualbox on Windows

Step 1. Download Oracle Virtualbox On Ubuntu 18.10

First of all, you will need to download Virtualbox from this url Download Virtualbox for Linuxthen click on the first link. how to install Virtualbox on Ubuntu.

Download Virtualbox for Linux
Download Virtualbox for Linux

After that, choose the second option to save the file on Ubuntu then click on the Ok button.

save file on ubuntu
Save Fileow to install Virtualbox on Ubuntu

Step 2. Install Virtualbox on Ubuntu Through Software

Ok, in this step I will show you how to install Virtualbox 6.0.4 on Ubuntu 18.10, so before installing Virtualbox Guest Additions Tool, you need to run the command below on the Ubuntu Guest Machine to update Virtual Guest Machine. therefore right-click on the Ubuntu window and click on the open terminal then run the code.

$ sudo apt update && sudo apt dist-upgrade && sudo apt autoremove

#1. When you’re done, then after that, run the below command to install the latest kernel header and dkms package.

$ sudo apt install virtualbox-guest-dkms linux-headers-virtual

#2. After installing the package, restart and continue installing Virtualbox on Ubuntu.

Insert Guest Additions CD Image

#3. To install Virtualbox Guest Additions software on Ubuntu Virtual Machine Operating System, go to Device and click on the last option Insert Guest Additions CD image…

Insert Guest Addition CD Image
Insert Guest Addition CD Image

#4. After that, you will see a pop-up menu then it will ask you to run Virtualbox on Ubuntu so click on the run button. how to install Virtualbox on ubuntu

Run Virtualbox on ubuntu
Run Virtualbox on ubuntu

#5. For installing Virtualbox on Ubuntu it will ask you to provide your user password and click on the authenticate. how to install Virtualbox on Ubuntu

Ubuntu Authenticate
Ubuntu Authenticate

#6. while you typed your password and clicked on authenticate then after that, you will see the code which is installing Virtualbox on Ubuntu. it will take some minutes to install Virtualbox 6.0.4 on Ubuntu 18.10.

Installing Virtualbox on Ubuntu
Installing Virtualbox on Ubuntu

#7. Hereafter some lines of code, it will tell you to press enter, so press enters and search for Virtualbox then click on Virtualbox and click on the install button to install Virtualbox on Ubuntu.

ok, friends congratulation Virtualbox has been successfully installed on Ubuntu 18.10. so enjoy Virtualbox on Ubuntu. how to install Virtualbox on Ubuntu

besides that, if you want to remove Virtualbox from Ubuntu then simply click on the remove button, and type your password to uninstall Virtualbox. How to install Virtualbox ubuntu

Remove Virtualbox
Remove Virtualbox

Step 3. Install Virtualbox Through Command Line

In step two you have learned how to install Virtualbox through software install and you’ve done it successfully. so in this step, I will show you how to install Virtualbox through the command line, it is so easy and simple. you can do it with 4 lines of code so if you don’t know, here I will show you deeply. just follow my steps.

#1. right-click on the Ubuntu window and open terminal. 

#2. then run the command line below and press the enter button. it will ask you to provide your password so, type user password and press enter. remember both codes should give the OK result.

$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

#3.  Next, add the Virtualbox repository with the command add-apt-repository command as shown below.

$ sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib

#4. Once the Virtualbox repository is enabled, then update the apt package list and install the latest version of Virtualbox with:

$ sudo apt update
$ sudo apt install virtualbox-6.0

Again Congratulations friends you’ve installed Virtualbox on ubuntu through command lines successfully. so now our Virtualbox Guest Machine is available on Ubuntu 18.10 Guest Operating System. after that, you will need to install the Virtualbox extension pack.

Step 4. Download Virtualbox Extension Pack

In this step, I will guide you about how to download Virtualbox Extension Pack through the command line. installing Virtualbox Extension pack provide several useful functionalities for a guest machine such as virtual USB 2.0 and 3.0 device. support for RDP, image encryption and many more.

#1. first of all, you will need to download the Virtualbox extension pack by tying the below command line.

$ wget https://download.virtualbox.org/virtualbox/6.0.0/Oracle_VM_VirtualBox_Extension_Pack-6.0.0.vbox-extpack

#2. When the download is completed then import extension pack using the following command line.

$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.0.vbox-extpack

#3. then it will ask you to agree on the terms and conditions so just type Y and press enter.

output
Do you agree to these license terms and conditions (y/n)?

#4. Once the installation is completed then you will see the following output:

output
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

Step 5. Install Virtualbox Extension Pack

In the last step, you will learn the installation of Virtualbox extension pack. while you download Virtualbox Extension pack then afterward you will need to install it through a command line. so for installing the Virtualbox Extension pack follow my steps.

Installing Extension Pack is so simple just you will need to run two lines of code which Shown below.

$ sudo apt update
 $ sudo apt install virtualbox virtualbox-ext-pack
Virtualbox Extension Pack
Virtualbox Extension Pack

Step 6. Launch Virtualbox

if you are new with Virtualbox then you can start VirtualBox by typing Virtualbox in the terminal and another face click on Virtualbox icon  (Activities -> Oracle VM VirtualBox). then you will see the below screenshot.

Virtualbox Starting Window
Virtualbox Starting Window

In Conclusion

In this article, you learn about how to install Virtualbox On Ubuntu 18.10, and you have seen that we have successfully installed Virtualbox on Ubuntu. so now you can install your first virtual machine using Virtualbox on Ubuntu 18.10. to top it off, if you have any questions then feel free to ask me in a comment.

Leave A Reply

Your email address will not be published.