Download VirtualBox for Linux Hosts

VirtualBox 3.0.4 for Linux

Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package (it does not matter if you have an Intel or an AMD CPU). Mixed installations (e.g. Debian/Lenny ships an AMD64 kernel with 32-bit packages) are not supported. To install VirtualBox anyway you need to setup a 64-bit chroot environment.

Please choose the appropriate package for your Linux distribution:

  • Debian-based Linux distributions: Add one of the following lines according to your distribution to your /etc/apt/sources.list:
    deb jaunty non-free
    deb intrepid non-free
    deb hardy non-free
    deb gutsy non-free
    deb dapper non-free
    deb lenny non-free
    deb etch non-free
    deb sarge non-free
    deb xandros4.0-xn non-free

    The Sun public key for apt-secure can be downloaded here. You can add this key with

    sudo apt-key add sun_vbox.asc

    or combine downloading and registering:

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

    The key fingerprint is

    AF45 1228 01DA D613 29EF  9570 DCF9 F87B 6DFB CBAE
    Sun Microsystems, Inc. (xVM VirtualBox archive signing key) <>

    To install VirtualBox, do

    apt-get install virtualbox-3.0

    Replace virtualbox-3.0

    • by virtualbox to install VirtualBox 1.6.6
    • by virtualbox-2.0 to install VirtualBox 2.0.8
    • by virtualbox-2.1 to install VirtualBox 2.1.4
    • by virtualbox-2.2 to install VirtualBox 2.2.4

Note: Ubuntu users might want to install the dkms package (not available on Debian) 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.

You might want to compare the MD5 sum to verify the integrity of downloaded packages.