1、源安装
启用Oracle的VirtualBox存储库:
sudo dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
在撰写本文时,VirtualBox的最新稳定版本为6.0.x。运行以下命令以安装VirtualBox-6.0软件包:
sudo yum install VirtualBox-6.1
2、RPM安装
https://www.virtualbox.org/wiki/Linux_Downloads
1.1、下载rpm包:
wget https://download.virtualbox.org/virtualbox/6.1.34/VirtualBox-6.1-6.1.34_150636_el8-1.x86_64.rpm
1.2、构建kennel模块:
yum install gcc make perl kernel-devel
1.3、安装
yum localinstall -y VirtualBox-6.1-6.1.16_140961_el7-1.x86_64.rpm
1.4、启动
/sbin/vboxconfig