2011-04-22 17:23:05
转自http://www.virtualbox.org/wiki/Linux_Downloads
Add one of the following lines according to your distribution to your /etc/apt/sources.list
一 蓝色字体 为 ubuntu10.04 版本添加,其他根据具体版本添加(加入/etc/apt/sources.list
文件)
- deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free
- deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
- deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free
- deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free
- deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
- deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free
二 添加 oracle public key
- sudo apt-key add oracle_vbox.asc
或者
- wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
三 安装
- sudo apt-get update
- sudo apt-get install virtualbox-4.0
The key fingerprint is :
- 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139
- Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
- http://kitzk.blog.51cto.com/1258882/551481