Oracle VirtualBox 5.2.4 has been released on Dec 19, 2017. Oracle VirtualBox 5.2 is the latest major release after launched by Oracle team. This version has the new feature to export VM to Oracle Cloud, Unattended guest installation, improved tools handling with more attractive icons. Oracle team also added an experimental feature for audio support for video recording. See the ChangeLog for more details. This article will help you to install VirtualBox on your Ubuntu 17.10, 16.04 LTS, 14.04 LTS and Debian 9/8/7 systems.
Step 1 – Setup Apt Repository
Firstly edit /etc/apt/sources.list file and add one of the following lines according to your distribution to your system. You can find your system distribution codename using “lsb_release -c” command from a terminal.
For Ubuntu 17.10 ("Artful")deb http://download.virtualbox.org/virtualbox/debian zesty contrib For Ubuntu 16.04 ("Xenial")deb http://download.virtualbox.org/virtualbox/debian xenial contrib For Ubuntu 14.04 ("Trusty")deb http://download.virtualbox.org/virtualbox/debian trusty contrib For Debian 9 ("Stretch")deb http://download.virtualbox.org/virtualbox/debian stretch contrib For Debian 8 ("Jessie")deb http://download.virtualbox.org/virtualbox/debian jessie contrib
Step 2 – Import VirtualBox Package Sign Key
After adding the required apt repository on your system, download and import the Oracle public key for apt-secure using following commands.
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 -
Step 3 – Install Oracle VirtualBox
After completing the above steps, let’s install VirtualBox using following commands. If you have already installed an older version of VirtualBox, Below command will update it automatically.
sudo apt-get update sudo apt-get install virtualbox-5.2
Step 4 – Launch VirtualBox
We can use dashboard shortcuts to start VirtualBox or simply run following command from a terminal.