CentOS7安装 VirtualBox虚拟机

时间:2024-06-06 18:05:32

官方地址  : https://www.virtualbox.org/wiki/Linux_Downloads

1.导入 yum 源

Oracle Linux / RHEL

#cd /etc/yum.repos.d/
#wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo

Fedora

#cd /etc/yum.repos.d/
#wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

openSUSE

#cd /etc/zypp/repos.d/
#wget http://download.virtualbox.org/virtualbox/rpm/opensuse/13.2/virtualbox.repo

2.安装

#yum install VirtualBox-5.1