Tuesday, December 8, 2009

Installing VirtualBox 3.0 On An Ubuntu 9.04 Desktop

This tutorial shows how you can install Sun VirtualBox 3.0 (released on June 30, 2009) on an Ubuntu 9.04 desktop. With VirtualBox you can create and run guest operating systems ("virtual machines") such as Linux and Windows under a host operating system. There are two ways of installing VirtualBox: from precompiled binaries that are available for some distributions and come under the PUEL license, and from the sources that are released under the GPL. This article will show how to set up VirtualBox 3.0 from the precompiled binaries.

As of version 2.0 VirtualBox supports 32 and 64bit host and guest operating systems (if you want to install 64bit guests your processor must support hardware virtualization and, of course, the host operating system must be 64bit as well).

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

Installing VirtualBox From Precompiled Binaries

Open /etc/apt/sources.list...

sudo gedit /etc/apt/sources.list

... and add the VirtualBox repository to it:

[...]
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free

Then add the public key of the VirtualBox repository to your system...

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

... and update the package database:

sudo aptitude update

Afterwards you can install VirtualBox 3.0 as follows:

sudo aptitude install virtualbox-3.0 dkms

In the Create Launcher window, please fill in the following details:

* Type: Application
* Name: VirtualBox
* Command: VirtualBox (please take care about upper/lower case - this is a command, if you don't write it right, the application won't start)
* Comment: You can fill in anything you like or leave it blank.

If you like, you can also select an icon for the new application, but this is no must.

good luck

No comments:

Post a Comment