ubuntu 10.04 安装virtualbox 4.0
来源:互联网 发布:原始点 淘宝 编辑:程序博客网 时间:2024/06/01 10:02
以前安装过virtualbox,
现在再安装一遍。
直接装,源里头没有:
root@zhangbin-laptop:/home/zhangbin# apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package virtualbox has no installation candidate
http://www.virtualbox.org/wiki/Linux_Downloads
这里有官方安装说法:
Debian-based Linux distributions
Note: VirtualBox has been moved from non-free to contrib with 4.0, so please adjust your repository settings.
Add one of the following lines according to your distribution to your /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian maverick contribdeb http://download.virtualbox.org/virtualbox/debian lucid contribdeb http://download.virtualbox.org/virtualbox/debian karmic contribdeb http://download.virtualbox.org/virtualbox/debian jaunty contribdeb http://download.virtualbox.org/virtualbox/debian intrepid contribdeb http://download.virtualbox.org/virtualbox/debian hardy contribdeb http://download.virtualbox.org/virtualbox/debian squeeze contribdeb http://download.virtualbox.org/virtualbox/debian lenny contribdeb http://download.virtualbox.org/virtualbox/debian etch contrib
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 downloadedhere.)
To install VirtualBox, do
sudo apt-get updatesudo apt-get install virtualbox-4.0
Replace virtualbox-4.0 by
- virtualbox-3.2 to install VirtualBox 3.2.12
- virtualbox-3.1 to install VirtualBox 3.1.8
- virtualbox-3.0 to install VirtualBox 3.0.14
- virtualbox-2.2 to install VirtualBox 2.2.4
- virtualbox-2.1 to install VirtualBox 2.1.4
- virtualbox-2.0 to install VirtualBox 2.0.12
- virtualbox to install VirtualBox 1.6.6
Note: Ubuntu/Debian users might want to install the dkms package 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. 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
========================================================
更新了sources.list之后,
apt-get update 之后。
root@zhangbin-laptop:/home/zhangbin# apt-get install virtualboxReading package lists... DoneBuilding dependency tree Reading state information... DoneNote, selecting virtualbox-4.0 instead of virtualboxSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: virtualbox-4.0: Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.6.2-0ubuntu5.1 is to be installed Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.6.2-0ubuntu5.1 is to be installed Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8k-7ubuntu8.6 is to be installedE: Broken packages
看上去依赖的是qt4 的库。
- ubuntu 10.04 安装virtualbox 4.0
- VirtualBox 4 Ubuntu 10.04安装增强功能
- 在ubuntu 10.04下安装virtualbox
- virtualbox 安装ubuntu
- virtualbox ubuntu安装图解
- Ubuntu 下安装VirtualBox
- virtualbox安装ubuntu server
- VirtualBox 安装 Ubuntu
- Ubuntu 安装 VirtualBox
- ubuntu virtualbox 安装xp
- Ubuntu Linux 安装 VirtualBox
- ubuntu virtualbox安装 笔记
- ubuntu 下安装virtualbox
- Ubuntu安装Virtualbox虚拟机
- ubuntu安装virtualbox
- Ubuntu安装VirtualBox虚拟机
- ubuntu virtualbox 安装
- Ubuntu 安装VirtualBox
- 有序链表插入新结点的改进
- Java中把Date类型转换成Long类型
- Java中List接口用法简介
- Struts2第1天-显示This is my first Struts Application
- C/C++求模求余运算符
- ubuntu 10.04 安装virtualbox 4.0
- 区分HTML控件、HTML服务器控件和web服务器控件
- asterisk 队列 坐席 状态 机制分析
- CreateSemaphore与ReleaseSemaphore
- 我的程序员男友
- 实习日记->第一天
- extjs 日程管理
- 织梦dedecms站点内容如何同步更新到站长微博
- Struts2 + Spring3 + Hibernate3.6(JPA2) + Proxool9 集成环境搭建