Add one of the following lines according to your distribution to your /etc/apt/sources.list:
http://download.virtualbox.org/virtualbox/debian natty contrib deb
http://download.virtualbox.org/virtualbox/debian maverick contrib non-free deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free deb
(Up to version 3.2 the packages were located in the non-free section, starting with version 4.0 are located in the contrib section)
Add the Oracle public key for apt-secure and register
The key fingerprint is
To install VirtualBox, do
sudo apt-get install virtualbox-4.0
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.
sudo apt-get install dkms
No comments:
Post a Comment