ArchLinux 2018.10.01: Install VirtualBox for virtualization

This article will describe installing VirtualBox.

1 Install VirtualBox

Install virtualbox package.

#!/bin/sh -e

# Install VirtualBox.
sudo pacman -Sy --noconfirm virtualbox virtualbox-host-modules-arch

# Create initramfs for vbox drivers.
sudo pacman -Sy --noconfirm linux

# Reboot system.
sudo reboot

2 Run VirtualBox

Run virtualbox command.

$ virtualbox

0001_VirtualBox.png