= Download !VirtualBox for Linux Hosts = === VirtualBox 4.2.6 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: * Ubuntu 12.10 ("Quantal Quetzal") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~quantal_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~quantal_amd64.deb AMD64] * Ubuntu 12.04 LTS ("Precise Pangolin") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~precise_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~precise_amd64.deb AMD64] * Ubuntu 11.10 ("Oneiric Ocelot") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~oneiric_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~oneiric_amd64.deb AMD64] * Ubuntu 11.04 ("Natty Narwhal") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~natty_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~natty_amd64.deb AMD64] * Ubuntu 10.04 LTS ("Lucid Lynx") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~lucid_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~lucid_amd64.deb AMD64] * Ubuntu 8.04 LTS ("Hardy Heron") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~hardy_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~hardy_amd64.deb AMD64] * Debian 7.0 ("Wheezy") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Debian~wheezy_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Debian~wheezy_amd64.deb AMD64] * Debian 6.0 ("Squeeze") [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Debian~squeeze_i386.deb i386] | [http://download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Debian~squeeze_amd64.deb AMD64] * openSUSE 11.4 / 12.1 / 12.2 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_openSUSE114-1.i586.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_openSUSE114-1.x86_64.rpm AMD64] * SUSE Linux Enterprise Server 11 (SLES11) [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_sles11.0-1.i586.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_sles11.0-1.x86_64.rpm AMD64] * SUSE Linux Enterprise Server 10 (SLES10) [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_sles10.1-1.i586.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_sles10.1-1.x86_64.rpm AMD64] * Fedora 18 ("Spherical Cow") [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora18-1.i686.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora18-1.x86_64.rpm AMD64] * Fedora 17 ("Beefy Miracle") [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora17-1.i686.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora17-1.x86_64.rpm AMD64] * Fedora 16 ("Verne") [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora16-1.i686.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_fedora16-1.x86_64.rpm AMD64] * Mandriva 2011.0 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_mdv2011.0-1.i586.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_mdv2011.0-1.x86_64.rpm AMD64] * Mandriva 2010.0 / 2010.1 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_mdv2010.0-1.i586.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_mdv2010.0-1.x86_64.rpm AMD64] * Oracle Linux 6 ("OL6") / Red Hat Enterprise Linux 6 ("RHEL6") / CentOS 6 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_el6-1.i686.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_el6-1.x86_64.rpm AMD64] * Oracle Linux 5 ("OL5") / Red Hat Enterprise Linux 5 ("RHEL5") / CentOS 5 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_el5-1.i386.rpm i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_el5-1.x86_64.rpm AMD64] * Oracle Linux 4 ("OL4") / Red Hat Enterprise Linux 4 ("RHEL4") / CentOS 4 [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2-4.2.6_82870_el4-1.i386.rpm i386] * All distributions [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2.6-82870-Linux_x86.run i386] | [http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2.6-82870-Linux_amd64.run AMD64] You might want to compare the * [http://download.virtualbox.org/virtualbox/4.2.6/SHA256SUMS SHA256] checksum or the * [http://download.virtualbox.org/virtualbox/4.2.6/MD5SUMS MD5] checksum to verify the integrity of downloaded packages.[[BR]] ''The SHA256 checksums should be favored as the MD5 algorithm must be treated as insecure! '' === Oracle Linux === Users of Oracle Linux 5 and 6 can use the public yum [http://public-yum.oracle.com/ repository] and enable the el5_addons (OEL5) or the ol6_addons (OL6). After that, do {{{ yum install VirtualBox-4.2 }}} to the latest maintenance release of !VirtualBox 4.2.x. === Debian-based Linux distributions === '''Note:''' !VirtualBox has been moved from ''non-free'' to ''contrib'' with 4.0, so please adjust your repository settings. Add one of the following lines according to your distribution to your {{{/etc/apt/sources.list}}}: {{{ deb http://download.virtualbox.org/virtualbox/debian precise contrib deb http://download.virtualbox.org/virtualbox/debian oneiric contrib deb http://download.virtualbox.org/virtualbox/debian natty contrib deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free deb http://download.virtualbox.org/virtualbox/debian wheezy contrib deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free }}} ''(Up to version 3.2 the packages were located in the non-free section, starting with version 4.0 are located in the contrib section)'' The Oracle public key for apt-secure can be downloaded [http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc here]. You can add this key with {{{ sudo apt-key add oracle_vbox.asc }}} or combine downloading and registering: {{{ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - }}} The key fingerprint is {{{ 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 Oracle Corporation (VirtualBox archive signing key) }}} ''(As of !VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded [http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc here].)'' To install !VirtualBox, do {{{ sudo apt-get update sudo apt-get install virtualbox-4.2 }}} Replace `virtualbox-4.2` by * `virtualbox-4.1` to install !VirtualBox 4.1.22 * `virtualbox-4.0` to install !VirtualBox 4.0.16 * `virtualbox-3.2` to install !VirtualBox 3.2.14 * `virtualbox-3.1` to install !VirtualBox 3.1.8 * `virtualbox-3.0` to install !VirtualBox 3.0.14 * `virtualbox-2.2` to install !VirtualBox 2.2.4 * `virtualbox-2.1` to install !VirtualBox 2.1.4 * `virtualbox-2.0` to install !VirtualBox 2.0.12 * `virtualbox` to install !VirtualBox 1.6.6 '''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 }}} What to do when experiencing '''The following signatures were invalid: BADSIG ...''' when refreshing the packages from the repository? {{{ # sudo -s -H # apt-get clean # rm /var/lib/apt/lists/* # rm /var/lib/apt/lists/partial/* # apt-get clean # apt-get update }}} === RPM-based Linux distributions === Starting with !VirtualBox 3.0.12 we provide a yum-style repository for Oracle Linux/Fedora/RHEL/openSUSE. Note that '''3.0.x''' .rpm packages are named ''!VirtualBox-3.0.x'' while '''3.1.x''' .rpm packages are named ''!VirtualBox-3.1-3.1.x''. This naming scheme allows to use the older 3.0.x packages without changing the repository. Furthemore, all .rpm packages are signed. The Oracle public key for rpm can be downloaded [http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc here]. You can add this key ''(not necessary for yum users, see below!)'' with {{{ sudo rpm --import oracle_vbox.asc }}} or combine downloading and registering: {{{ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | rpm --import - }}} The key fingerprint is {{{ 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 Oracle Corporation (VirtualBox archive signing key) }}} After importing the public key, the package signature can be checked with {{{ rpm --checksig PACKAGE_NAME }}} ''Note that importing the key is not necessary for yum users (Oracle Linux/Fedora/RHEL/CentOS) when using one of the virtualbox.repo files from below as yum downloads and imports the public key automatically! '' The package signature is checked by yum/zypper as well: * Users of Oracle Linux / RHEL can add [http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo the Oracle Linux repo file] to ''/etc/yum.repos.d/''. * Users of Fedora can add [http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo the Fedora repo file] to ''/etc/yum.repos.d/''. * Users of openSUSE can add the proper repo file for [http://download.virtualbox.org/virtualbox/rpm/opensuse/10.3/virtualbox.repo 10.3] (!VirtualBox 3.0.x only), [http://download.virtualbox.org/virtualbox/rpm/opensuse/11.0/virtualbox.repo 11.0] (!VirtualBox 3.2.x only), [http://download.virtualbox.org/virtualbox/rpm/opensuse/11.1/virtualbox.repo 11.1], [http://download.virtualbox.org/virtualbox/rpm/opensuse/11.2/virtualbox.repo 11.2],[http://download.virtualbox.org/virtualbox/rpm/opensuse/11.3/virtualbox.repo 11.3] or [http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4/virtualbox.repo 11.4/12.1/12.2] to ''/etc/zypp/repos.d/''. '''Note:''' Users of Fedora/Mandriva might want to install the '''`dkms`''' package (not available on openSUSE) to ensure that the !VirtualBox host kernel modules (''vboxdrv'', ''vboxnetflt'' and ''vboxnetadp'') are properly updated if the linux kernel version changes during the next kernel update.