How to install virtualbox 4.x on ubuntu 11.04(Natty)

Sponsored Link
Oracle VM VirtualBox, formerly Sun xVM VirtualBox and innotek VirtualBox, is a family of x86 virtualization products for enterprise and home use.VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.

Install virtualbox 4.x on ubuntu 11.04

You need to edit /etc/apt/sources.list

gksudo gedit /etc/apt/sources.list

Add the following line

deb natty contrib

Save and exit the file

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

Update source list

sudo apt-get update

Install virtualbox

sudo apt-get install virtualbox-4.0

Note: Ubuntu/Debian users might want to install the dkms package 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. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:

sudo apt-get install dkms

Sponsored Link

You may also like...

9 Responses

  1. Marius Dalacu says:

    You should have posted how to install GA also.

  2. asd says:

    just download deb package and double click lol

  3. Aaron says:

    Just ran through the install. Had to boot up aptitude gui and run a dependency fix.

    A few packages (Qt 4 lib) had to be downgraded in order to satisfy the VB package requirements.

  4. BIlly says:

    Nice guide, fairly simple and useful, thank you very much.

  5. Jeremy says:

    I installed it but i got some error messages like
    virtualbox is not supported in Xen environnement

  6. Abou says:

    Excellent guide, thanks

  7. tummie says:

    great work to the point …thanks

  8. pooja jain says:

    hi…i want to know how to install Ubuntu virtual box 11.04 in window 7 when laptop is shut down in mid.

  9. lokesh says:

    root@lokesh-PC:/home/lokesh/Downloads# sudo apt-get install virtualbox-4.1
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package virtualbox-4.1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘virtualbox-4.1’ has no installation candidate

Leave a Reply

Your email address will not be published. Required fields are marked *