yum安裝VirtualBox

參考官方文檔:vim

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

 

配置yum源:url

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

[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直接安裝便可:code

yum install VirtualBox-5.1
相關文章
相關標籤/搜索