Ubuntu安装virtualbox

Posted Avatarx

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu安装virtualbox相关的知识,希望对你有一定的参考价值。

 

1、下载virtualbox

地址:https://www.virtualbox.org/wiki/Downloads

2、安装

sudo dpkg -i virtualbox-4.3_4.3.28-100309~Ubuntu~raring_i386.deb

 

安装过程中问题记录

Selecting previously unselected package virtualbox-4.3.
(Reading database ... 170499 files and directories currently installed.)
Preparing to unpack virtualbox-4.3_4.3.28-100309~Ubuntu~raring_i386.deb ...
Unpacking virtualbox-4.3 (4.3.28-100309~Ubuntu~raring) ...
dpkg: dependency problems prevent configuration of virtualbox-4.3:
 virtualbox-4.3 depends on libsdl1.2debian (>= 1.2.11); however:
  Package libsdl1.2debian is not installed.


dpkg: error processing package virtualbox-4.3 (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 virtualbox-4.3

 

解决:sudo apt-get install libsdl1.2debian ,再重新执行安装命令





















以上是关于Ubuntu安装virtualbox的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu安装好vmtools怎么共享文件

ubuntu系统安装好后一些基本软件的安装

ubuntu 12.04 简单配置samba服务,实现主机与虚拟机互通(设置Windows虚拟盘)

树莓派安不了ubuntu

安装好ubuntu后 怎么给硬盘分区?

Ubuntu14.04下安装chromium浏览器,安装好后,却无法使用(报错),该如何解决呢?