Install Virtualbox on Arch Linux

This section is for our team to post helpful articles. Let us know if you'd like to contribute!
Post Reply
arifur
Site Admin
Posts: 123
Joined: Tue Nov 15, 2011 5:12 pm

Install Virtualbox on Arch Linux

Post by arifur »

Code: Select all

[Install VirtualBox]
$ sudo pacman -S virtualbox

[Install VirtualBox Host Module on Arch Linux]
$ sudo pacman -S virtualbox-host-modules-arch

After successfully installation of virtualbox & virtualbox host module, enter the following command to add the VirtualBox module to the kernel

Code: Select all

[Load VirtualBox module to the kernel]
$ sudo modprobe vboxdrv
Arch Linux LTS

On linux-lts instead of installing virtualbox-host-modules-arch install virtualbox-host-dkms

Code: Select all

$ sudo pacman -S virtualbox-host-dkms
Make sure to have linux-lts-headers installed.

arifur
Site Admin
Posts: 123
Joined: Tue Nov 15, 2011 5:12 pm

Re: Install Virtualbox on Arch Linux

Post by arifur »

To enable USB device pass-through add your current user to vboxusers group

Code: Select all

sudo usermod -aG vboxusers YOUR_USER_NAME_HERE
Example: sudo usermod -aG vboxusers arifur

Post Reply

Return to “Linux Howtos”