1. root@debian:/workbench/package# uname -a
Linux debian 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux
2. wget https://download.virtualbox.org/virtualbox/5.2.8/virtualbox-5.2_5.2.8-121009~Debian~stretch_i386.deb
Download VirtualBox for Linux Hosts
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.
The VirtualBox base package binaries are released under the terms of the GPL version 2.
Please choose the appropriate package for your Linux distribution.
VirtualBox 5.2.8 for Linux
- Ubuntu 18.04 ("Bionic") AMD64
- Ubuntu 17.04 ("Zesty") / 17.10 ("Artful") i386 | AMD64
- Ubuntu 16.10 ("Yakkety") i386 | AMD64
- Ubuntu 16.04 ("Xenial") i386 | AMD64
- Ubuntu 14.04 ("Trusty") i386 | AMD64
- Debian 9 ("Stretch") i386 | AMD64
- Debian 8 ("Jessie") i386 | AMD64
- Debian 7 ("Wheezy") i386 | AMD64
- openSUSE 13.2 ("Harlequin") / Leap 42.1 ("Malachite") i386 | AMD64
- Fedora 26 / 27 i386 | AMD64
- Fedora 25 i386 | AMD64
- Oracle Linux 7 ("OL7") / Red Hat Enterprise Linux 7 ("RHEL7") / CentOS7 AMD64
- Oracle Linux 6 ("OL6") / Red Hat Enterprise Linux 6 ("RHEL6") / CentOS6 i386 | AMD64
- Oracle Linux 5 ("OL5") / Red Hat Enterprise Linux 6 ("RHEL5") / CentOS5 i386 | AMD64
- All distributions (built on EL5 and therefore do not require recent system libraries) i386 AMD64
3.
root@debian:/home/light-zhang/下载# dpkg -i virtualbox-5.2_5.2.8-121009_Debian_stretch_i386.deb
正在选中未选择的软件包 virtualbox-5.2:i386。
(正在读取数据库 ... 系统当前共安装有 154466 个文件和目录。)
正准备解包 virtualbox-5.2_5.2.8-121009_Debian_stretch_i386.deb ...
正在解包 virtualbox-5.2:i386 (5.2.8-121009~Debian~stretch) ...
dpkg: 依赖关系问题使得 virtualbox-5.2:i386 的配置工作不能继续:
virtualbox-5.2:i386 依赖于 libcurl3-gnutls (>= 7.16.2).
virtualbox-5.2:i386 依赖于 libdevmapper1.02.1 (>= 2:1.02.97).
virtualbox-5.2:i386 依赖于 libqt5core5a (>= 5.7.0).
virtualbox-5.2:i386 依赖于 libqt5gui5 (>= 5.4.0).
virtualbox-5.2:i386 依赖于 libqt5opengl5 (>= 5.0.2).
virtualbox-5.2:i386 依赖于 libqt5printsupport5 (>= 5.0.2).
virtualbox-5.2:i386 依赖于 libqt5widgets5 (>= 5.7.0).
virtualbox-5.2:i386 依赖于 libqt5x11extras5 (>= 5.6.0).
virtualbox-5.2:i386 依赖于 libsdl1.2debian (>= 1.2.11).
virtualbox-5.2:i386 依赖于 libssl1.1 (>= 1.1.0).
virtualbox-5.2:i386 依赖于 libvpx4 (>= 1.6.0).
virtualbox-5.2:i386 依赖于 libxinerama1.
virtualbox-5.2:i386 依赖于 libxml2 (>= 2.7.4).
virtualbox-5.2:i386 依赖于 libxmu6.
virtualbox-5.2:i386 依赖于 libxt6.
dpkg: 处理软件包 virtualbox-5.2:i386 (--install)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 systemd (232-25+deb9u1) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-9) 的触发器 ...
正在处理用于 desktop-file-utils (0.23-1) 的触发器 ...
正在处理用于 mime-support (3.60) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.15-1) 的触发器 ...
正在处理用于 shared-mime-info (1.8-1) 的触发器 ...