Virtualization means creation of a virtual (rather than actual) version of something, such as an operating system, a server, a storage device or network resources.
VirtualBox is a free virtualisation software. VirtualBox is a software that lets you run multiple operation systems ie. Windows, Linux, Mac from a host computer which can be windows or linux. In comparison of vmware I still prefer VirtualBox.
Recently VirtualBox version has been updated to 4.2.2. This is a maintenance release that brings full support to X.Org Server 1.13 and Linux Kernel 3.7 RC1. This tutorial is about installing the latest version of VirtualBox on Ubuntu. We are going to install VirtualBox 4.2.2 on Ubuntu 12.10. Note that this tutorial will also work for Ubuntu 12.04 and 11.10.
Step 1 Press Ctrl + Alt + T to open a terminal. If you have an older version (4.1, 4.0, 3.2, 3.1, etc.) of VirtualBox, it is recommended that you uninstall it by running following command
sudo apt-get purge virtualbox-4.1
Step 2 To install VirtualBox 4.2.2 in Ubuntu 12.10, 12.04, 11.10 run following commands
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - sudo apt-get update sudo apt-get install dkms virtualbox-4.2
Step 3 For users having problems enabling “Guest Additions” with Ubuntu 12.10 running as guest OS, you can simply install these packages manually via the terminal:
sudo apt-get install virtualbox-guest-additions sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11 virtualbox-guest-utils