Linux, Windows, Virtualization, OpenSource & Blogging

Installing VirtualBox 4.1 on Ubuntu 11.10 (“Oneiric Ocelot”) Desktop


In this tutorial i will show you how to install Oracle VirtualBox 4.1 on an Ubuntu 11.10 desktop. Using 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 and  from the sources code. This tutorial  shows you how to set up VirtualBox 4.1 from the precompiled binaries.

From the  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).

Step 1:  Open up the Terminal (Applications > Accessories > Terminal) or Right Click —> Terminal on desktop.

Step 2:  Open /etc/apt/sources.list file.

sudo vi /etc/apt/sources.list

add the following line in to that file.

deb oneiric contrib

Step 3: Import the Public key of the Oracle VirtualBox repository to your system.

wget -q  /oracle_vbox.asc -O- | sudo  apt-key add –

Step 4: Update the package database.

sudo apt-get update

Step 5: Install the VirtualBox 4.1. Command As follows.

sudo apt-get install virtualbox-4.1 dkms

Note: dkms package ensures 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.

Step 6: The above command invokes the text mode installation of VirtualBox. Select OK and then Press Enter.

Step 7:  Select Yes on the Kernel Module compilation Screen.

That’s All!. The VitualBox 4.1 successfully installed on your Ubuntu 11.10 (“Oneiric Ocelot”) system.

Step 8:  Start VirtualBox from the (Applications > System Tools > Sun VirtualBox) or from Unity Launcher.

Step 9: When you start the VirtualBox for first time, it will prompt you to accept the license agreement.  Just Accept License Agreement.

Next you will get the Home screen of the Oracle VirtualBox Manager, here you can create and Manage the Virtual Machines.

Why are you waiting for, go and install the VirtualBox 4.1 on Ubuntu 11.10 and Playwith VM’s.

You might also like