版本 98 (由 15 年 前) ( 差異 ) | 修改,於
---|
Download VirtualBox for Linux Hosts
VirtualBox 3.1.8 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 10.04 ("Lucid Lynx") i386 | AMD64
- Ubuntu 9.10 ("Karmic Koala") i386 | AMD64
- Ubuntu 9.04 ("Jaunty Jackalope") i386 | AMD64
- Ubuntu 8.10 ("Intrepid Ibex") i386 | AMD64
- Ubuntu 8.04 LTS ("Hardy Heron") i386 | AMD64
- Debian 5.0 ("Lenny") i386 | AMD64
- Debian 4.0 ("Etch") i386 | AMD64
- openSUSE 11.1 / 11.2 i386 | AMD64
- openSUSE 11.0 i386 | AMD64
- SUSE Linux Enterprise Server 11 (SLES11) i386 | AMD64
- SUSE Linux Enterprise Server 10 (SLES10) i386 | AMD64
- Fedora 12 ("Constantine") i386 | AMD64
- Fedora 11 ("Leonidas") i386 | AMD64
- Fedora 9 ("Sulphur") / 10 ("Cambridge") i386 | AMD64
- Mandriva 2009.1 / 2010.0 i386 | AMD64
- Mandriva 2008.0 i386
- Red Hat Enterprise Linux 5 ("RHEL5") / Oracle Enterprise Linux 5 ("OEL5") / CentOS 5 i386 | AMD64
- Red Hat Enterprise Linux 4 ("RHEL4") / Oracle Enterprise Linux 4 ("OEL4") / CentOS 4 i386
- Turbolinux 11 i386 | AMD64
- PCLinuxOS 2007 i386
- All distributions i386 | AMD64
You might want to compare the MD5 sum to verify the integrity of downloaded packages.
Debian-based Linux distributions
Add one of the following lines according to your distribution to your /etc/apt/sources.list
:
deb http://download.virtualbox.org/virtualbox/debian lucid non-free deb http://download.virtualbox.org/virtualbox/debian karmic non-free deb http://download.virtualbox.org/virtualbox/debian jaunty non-free deb http://download.virtualbox.org/virtualbox/debian intrepid non-free deb http://download.virtualbox.org/virtualbox/debian hardy non-free deb http://download.virtualbox.org/virtualbox/debian lenny non-free deb http://download.virtualbox.org/virtualbox/debian etch 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 http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -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) <[email protected]>
To install VirtualBox, do
sudo apt-get update sudo apt-get install virtualbox-3.1
Replace virtualbox-3.1
by
virtualbox-3.0
to install VirtualBox 3.0.14virtualbox-2.2
to install VirtualBox 2.2.4virtualbox-2.1
to install VirtualBox 2.1.4virtualbox-2.0
to install VirtualBox 2.0.12virtualbox
to install VirtualBox 1.6.6
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
. The dkms package can be installed through the Synaptic Package manager or through the following command:
sudo apt-get install dkms
RPM-based Linux distributions
Starting with VirtualBox 3.0.12 we provide a yum-style repository for 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 Sun public key for rpm can be downloaded here. You can add this key (not necessary for yum users, see below!) with
sudo rpm --import sun_vbox.asc
or combine downloading and registering:
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | rpm --import -
The key fingerprint is
AF45 1228 01DA D613 29EF 9570 DCF9 F87B 6DFB CBAE Sun Microsystems, Inc. (xVM VirtualBox archive signing key) <[email protected]>
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 (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 Fedora can add the Fedora repo file to /etc/yum.repos.d/.
- Users of RHEL can add the RHEL repo file to /etc/yum.repos.d/.
- Users of openSUSE can add the proper repo file for 10.3 (VirtualBox 3.0.x only), 11.0, 11.1 or 11.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.