Here is a guide to install VirtualBox 4.2.14 on Ubuntu 13.04.
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. See “About VirtualBox” for an introduction.
To install VirtualBox open a terminal window (press Ctrl+Alt+T) and copy+paste the following lines:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'
sudo apt-get update && sudo apt-get install virtualbox-4.2
When the installation is finished you can close the terminal window. To start VirtualBox press the SuperKey and type: virtualbox
When installed download and double click on the VirtualBox extension pack to install it using VirtualBox.
Download VirtualBox 4.2 Oracle VM VirtualBox Extension Pack.
The VirtualBox extension pack is for support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
To enable support for USB 2.0 devices you need to install the gnome system tools, to install the gnome system tools open a terminal window (press Ctrl+Alt+T) and copy+paste the following line:
sudo apt-get install gnome-system-tools
After installing the gnome system tools you need to log out and log back in. When logged in again you need to set up USB for VirtualBox manually, to do this open a terminal window (press Ctrl+Alt+T) and copy+paste the following line:
sudo gedit /etc/group
And search for the “vboxusers” group and add your username to that line, replace my username (tinuz) with your username and copy+paste the following line:
When done save the file, log out and back in again. To have an USB device available each time you start a VM, open VirtualBox, select a VM, click on “Settings” and on the USB tab (this will display a list of your USB devices which you can add to your VM), click the “+” icon on the right and add the USB device.