archlinux install virtualbox

1. Install the basic package

sudo pacman -S virtualbox 


Select the virtualbox-host-modules-arch module

sudo pacman -S virtualbox-guest-iso


2. Load the VirtualBox kernel module

sudo modprobe vboxdrv vboxnetadp vboxnetflt

vboxdrvDriver module
vboxnetadp bridge network
vboxnetflthost-only network
vboxpci: If you want the virtual machine to use the PCI device of the main machine, then this module is required.

3. Install the extension pack

yay -S virtualbox-ext-oracle


4. Add the current user group to vboxusers

sudo usermod -G vboxusers -a 用户名

Guess you like

Origin blog.csdn.net/love906897406/article/details/125810149