Loading

yum安装VirtualBox

参考官方文档:

    https://www.virtualbox.org/wiki/Linux_Downloads

 

配置yum源:

vim /etc/yum.repos.d/virtualbox.repo

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

 

然后用yum直接安装即可:

yum install VirtualBox-5.1

 

posted @ 2017-02-07 09:39  头痛不头痛  阅读(3432)  评论(1编辑  收藏  举报