SOHO : Small Office Home Office
Freeware - Opensource software tips, tricks, tweaks & fixes for managing, securing, improving the performance of SOHO Desktop, Laptop, Networks

Friday, November 13, 2009

How to install Vbox in ubuntu?

Debian-based Linux distributions

Add one of the following lines according to your distribution to your /etc/apt/sources.list:

deb karmic non-free
deb jaunty non-free
deb intrepid non-free
deb hardy non-free
deb gutsy non-free
deb dapper non-free
deb lenny non-free
deb etch non-free
deb sarge non-free
deb xandros4.0-xn non-free

The Sun public key for apt-secure can be downloaded here. You can add this key with

sudo apt-key add sun_vbox.asc

or combine downloading and registering:

wget -q -O- | sudo apt-key add -

The key fingerprint is

AF45 1228 01DA D613 29EF 9570 DCF9 F87B 6DFB CBAE
Sun Microsystems, Inc. (xVM VirtualBox archive signing key)

To install VirtualBox, do

apt-get update

apt-get install virtualbox-3.0

Replace virtualbox-3.0

* by virtualbox to install VirtualBox 1.6.6
* by virtualbox-2.0 to install VirtualBox 2.0.12
* by virtualbox-2.1 to install VirtualBox 2.1.4
* by virtualbox-2.2 to install VirtualBox 2.2.4

Note: Ubuntu users might want to install the dkms package (not available on Debian) 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.

installing dkms
sudo apt-get install dkms

No comments:

Post a Comment