安装虚拟盒 5.2

安装虚拟盒 5.2

安装屏幕

它说需要 libqt5core5a 5.7.0,但我无法升级到它

$ sudo apt-get install libqt5core5a
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libqt5core5a is already the newest version (5.5.1+dfsg-16ubuntu7.5).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.

使用 dpkg -i 命令安装

$ sudo dpkg -i virtualbox-5.2_5.2.12-122591~Ubuntu~trusty_i386.deb 
dpkg: warning: downgrading virtualbox-5.2:i386 from 5.2.12-122591~Ubuntu~yakkety to 5.2.12-122591~Ubuntu~trusty
(Reading database ... 227029 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.12-122591~Ubuntu~trusty_i386.deb ...
Unpacking virtualbox-5.2:i386 (5.2.12-122591~Ubuntu~trusty) over (5.2.12-122591~Ubuntu~yakkety) ...
dpkg: dependency problems prevent configuration of virtualbox-5.2:i386:
 virtualbox-5.2:i386 depends on libc6 (>= 2.15).
 virtualbox-5.2:i386 depends on libcurl3 (>= 7.16.2).
 virtualbox-5.2:i386 depends on libdevmapper1.02.1 (>= 2:1.02.20).
 virtualbox-5.2:i386 depends on libfontconfig1 (>= 2.9.0).
 virtualbox-5.2:i386 depends on libfreetype6 (>= 2.2.1).
 virtualbox-5.2:i386 depends on libgcc1 (>= 1:4.1.1).
 virtualbox-5.2:i386 depends on libgl1-mesa-glx | libgl1.
 virtualbox-5.2:i386 depends on libglib2.0-0 (>= 2.12.0).
 virtualbox-5.2:i386 depends on libice6 (>= 1:1.0.0).
 virtualbox-5.2:i386 depends on libpng12-0 (>= 1.2.13-4).
 virtualbox-5.2:i386 depends on libsdl1.2debian (>= 1.2.11).
 virtualbox-5.2:i386 depends on libsm6.
 virtualbox-5.2:i386 depends on libssl1.0.0 (>= 1.0.0).
 virtualbox-5.2:i386 depends on libstdc++6 (>= 4.6).
 virtualbox-5.2:i386 depends on libvpx1 (>= 1.0.0).
 virtualbox-5.2:i386 depends on libx11-6.
 virtualbox-5.2:i386 depends on libx11-xcb1.
 virtualbox-5.2:i386 depends on libxcb1 
dpkg: error processing package virtualbox-5.2:i386 (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for hicolor-icon-theme (0.17-1~elementary0.4.1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1+elementary2~ubuntu0.4.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 virtualbox-5.2:i386

答案1

我不知道你从哪里得到你运行并截取屏幕截图的程序。但直接回答你的问题标题(安装 Virtual Box 5.2),安装最新版本的 Virtual Box(以及许多程序)就像访问您要安装的应用程序的官方网站一样简单。

在这种情况下,Virtualbox 的官方网站是http://www.virtualbox.org

在此网站上,左侧面板上有一个下载链接。单击下载链接将带您到可用的下载。列表中包含所有当前支持的 Ubuntu 版本。

单击正确的链接将下载 5.2 Virtual Box 版本(最新版本)。下载将是一个*.deb包,您可以通过双击下载或从终端运行以下命令来安装它:

$ dpkg -i [downloaded package name].deb

相关内容