Skip to content

Instantly share code, notes, and snippets.

@nonohry
Created September 10, 2019 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nonohry/3bd8bb8e47f419e7586ce22b9a8e3c02 to your computer and use it in GitHub Desktop.
Save nonohry/3bd8bb8e47f419e7586ce22b9a8e3c02 to your computer and use it in GitHub Desktop.
Install Virtualbox on Manjaro Linux

To install VirtualBox, you need to install the packages virtualbox and linux*-virtualbox-host-modules. The latter must match the version of the kernel you are running. To install VirtualBox and automatically install the kernel modules for your installed kernels enter the following command in the terminal:

pamac install virtualbox $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-virtualbox-host-modules"}' ORS=' ') 

Once the installation has completed, it will then be necessary to add the VirtualBox Module to your kernel. The easy way is to simply reboot your system. Otherwise, to start using VirtualBox immediately, enter the following command:

sudo vboxreload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment