How to install virtualbox on ubuntu 4.x on ubuntu 11.04(Natty) |
Install virtualbox 4.x on ubuntu 11.04
You need to edit /etc/apt/sources.list
gksudo gedit /etc/apt/sources.list
Add the following line
deb http://download.virtualbox.org/virtualbox/debian natty contrib
Save and exit the file
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Update source list
sudo apt-get update
Install virtualbox
sudo apt-get install virtualbox-4.0
Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:
sudo apt-get install dkms