Download VirtualBox for Linux Hosts

来源:互联网 发布:linux cut 编辑:程序博客网 时间:2024/04/29 01:46

Download VirtualBox for Linux Hosts

VirtualBox 4.3.14 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 13.04 ("Raring Ringtail") / 13.10 ("Saucy Salamander") / 14.04 ("Trusty Tahr") i386 |  AMD64
  • Ubuntu 12.10 ("Quantal Quetzal")  i386 |  AMD64
  • Ubuntu 12.04 LTS ("Precise Pangolin")  i386 |  AMD64
  • Ubuntu 10.04 LTS ("Lucid Lynx")  i386 |  AMD64
  • Debian 7.0 ("Wheezy")  i386 |  AMD64
  • Debian 6.0 ("Squeeze")  i386 |  AMD64
  • openSUSE 12.3 / 13.1  i386 |  AMD64
  • openSUSE 11.4 / 12.1 / 12.2  i386 |  AMD64
  • SUSE Linux Enterprise Server 11 (SLES11)  i386 |  AMD64
  • SUSE Linux Enterprise Server 10 (SLES10)  i386 |  AMD64
  • Fedora 18 ("Spherical Cow") / 19 ("Schrödingers Cat")  i386 |  AMD64
  • Fedora 17 ("Beefy Miracle")  i386 |  AMD64
  • Mandriva 2011.0  i386 |  AMD64
  • Oracle Linux 7 ("OL7") / Red Hat Enterprise Linux 7 ("RHEL6") / CentOS 7  AMD64
  • Oracle Linux 6 ("OL6") / Red Hat Enterprise Linux 6 ("RHEL6") / CentOS 6  i386 |  AMD64
  • Oracle Linux 5 ("OL5") / Red Hat Enterprise Linux 5 ("RHEL5") / CentOS 5  i386 |  AMD64
  • All distributions  i386 |  AMD64

提示:我下载的是

  • Debian 6.0 ("Squeeze")  i386 |  AMD64
中的AMD64.

You might want to compare the

  • SHA256 checksum or the
  • MD5 checksum

to verify the integrity of downloaded packages.
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  repository and enable the el5_addons (OEL5) or the ol6_addons (OL6). After that, do

yum install VirtualBox-4.3

to the latest maintenance release of VirtualBox 4.3.x.

Debian-based Linux distributions  // 主机为 Debian

Add one of the following lines according to your distribution to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian trusty contribdeb http://download.virtualbox.org/virtualbox/debian saucy contribdeb http://download.virtualbox.org/virtualbox/debian raring contribdeb http://download.virtualbox.org/virtualbox/debian quantal contribdeb http://download.virtualbox.org/virtualbox/debian precise contribdeb http://download.virtualbox.org/virtualbox/debian lucid contrib non-freedeb http://download.virtualbox.org/virtualbox/debian wheezy contribdeb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

提示: 我的主机是在 /etc/apt/sources.list 中添加  

deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

(Up to version 3.2 the packages were located in the non-free section. Starting with version 4.0 they are located in the contrib section.)

The Oracle public key for apt-secure can be downloaded 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 5139Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>

(As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded here.)

1、root@zctech-chengjb:/home/zczhangjx/My_Program# dpkg -i virtualbox-4.3_4.3.14-95030~Debian~squeeze_amd64.deb
选中了曾被取消选择的软件包 virtualbox-4.3。
(正在读取数据库 ... 系统当前共安装有 171062 个文件和目录。)
正在解压缩 virtualbox-4.3 (从 virtualbox-4.3_4.3.14-95030~Debian~squeeze_amd64.deb) ...
正在设置 virtualbox-4.3 (4.3.14-95030~Debian~squeeze) ...
正在添加组"vboxusers" (GID 126)...
完成。
insserv: warning: script 'K01zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-server' missing LSB tags and overrides
insserv: warning: script 'zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'file2sock' missing LSB tags and overrides
insserv: warning: script 'zabbix-server' missing LSB tags and overrides
Starting VirtualBox kernel modules ...done.
insserv: warning: script 'K01zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-server' missing LSB tags and overrides
insserv: warning: script 'zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'file2sock' missing LSB tags and overrides
insserv: warning: script 'zabbix-server' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-server' missing LSB tags and overrides
insserv: warning: script 'zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'file2sock' missing LSB tags and overrides
insserv: warning: script 'zabbix-server' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'K01zabbix-server' missing LSB tags and overrides
insserv: warning: script 'zabbix-agent' missing LSB tags and overrides
insserv: warning: script 'file2sock' missing LSB tags and overrides
insserv: warning: script 'zabbix-server' missing LSB tags and overrides
正在处理用于 shared-mime-info 的触发器...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 gnome-menus 的触发器...
正在处理用于 hicolor-icon-theme 的触发器...
zczhangjx@zctech-chengjb:~/My_Program$ virtualbox   // 使用virtualbox

2、另一种:

To install VirtualBox, do

sudo apt-get updatesudo apt-get install virtualbox-4.3

Replace virtualbox-4.3 by

  • virtualbox-4.2 to install VirtualBox 4.2.18
  • virtualbox-4.1 to install VirtualBox 4.1.28
  • virtualbox-4.0 to install VirtualBox 4.0.20
  • virtualbox-3.2 to install VirtualBox 3.2.22

Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv,vboxnetflt andvboxnetadp) are properly updated if the linux kernel version changes during the nextapt-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 that3.0.x .rpm packages are namedVirtualBox-3.0.x while3.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 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 5139Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>

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  the Oracle Linux repo file to /etc/yum.repos.d/.
  • Users of Fedora can add  the Fedora 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 (VirtualBox 3.2.x only),  11.1,  11.2, 11.3, 11.4/12.1/12.2 or  12.3/13.1 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 andvboxnetadp) are properly updated if the linux kernel version changes during the next kernel update.

www.oracle.com
Contact –Privacy policy –Terms of Use

0 0
原创粉丝点击