Debian10:VitrualBox6.1安装

VitrualBox官网:https://www.virtualbox.org/
在线用户手册:https://www.virtualbox.org/manual/
在线安装说明:https://www.virtualbox.org/wiki/Linux_Downloads

本文安装步骤参考VitrualBox官网安装说明,软件当前版本为6.1。安装VirtualBox需要用到的命令:sudo, wget, apt-key, apt-get。

第一步:添加virtualbox deb源:
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib

markul@server:~# sudo vi /etc/apt/sources.list
markul@server:~# sudo cat /etc/apt/sources.list
deb http://mirrors.163.com/debian/ buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://mirrors.163.com/debian/ buster-updates main contrib non-free
deb-src http://mirrors.163.com/debian/ buster main non-free contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://mirrors.163.com/debian/ buster-updates main contrib non-free

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib

第二步:下载和添加 Oracle的apt-secure公钥文件:

markul@server:~# wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
markul@server:~# wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

第三步:安装virtualbox6.1版本:

#更新源
markul@server:~# sudo apt-get update

#安装virtualbox-6.1版本
markul@server:~# sudo apt-get install virtualbox-6.1
......时间有点长,开局游戏再回

#查看已经安装的virtualbox版本号
markul@server:~# sudo VBoxManage -v          
6.1.4r136177

第四步:安装扩展包:

#下载扩展支持包, 需注意:不同版本的扩展支持包不兼容,必须下载安装对应版本的。
markul@server:~# sudo wget http://download.virtualbox.org/virtualbox/6.1.4/Oracle_VM_VirtualBox_Extension_Pack-6.1.4-136177.vbox-extpack

#安装扩展支持包
markul@server:~# sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.4-136177.vbox-extpack

 

你可能感兴趣的:(Linux,debian,virtualbox)