Anyone looking to virtualize guest operating systems on an Ubuntu desktop really can’t go wrong with VirtualBox. For personal use you can either install the Open Source or the more fully featured Full edition. I will be installing the later as it has support for USB and some 3D acceleration (among its many other features).
Installation in Lucid is as follows:
Open the Terminal and edit your /etc/apt/sources.list adding this line:
deb http://download.virtualbox.org/virtualbox/debian lucid contrib
Download and register the public key:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update sudo apt-get install virtualbox-4.0
Click Applications, System Tools and Oracle VM VirtualBox to run the application.
Here you can see VirtualBox running with a Windows 7 virtual machine that I have already installed.