What is virtualization?

From Wikipedia:

In computing, virtualization is the act of creating a virtual (rather than actual) version of something at the same abstraction level, including virtual computer hardware platforms, storage devices, and computer network resources.

A virtual machine is a simulated computer running inside another computer. The simulated computer is often called guest, while the real machine is called host.

Popular examples of virtualization client softwares includes Oracle VirtualBox, GNOME Boxes, VMware Workstation (Not FOSS) and QEMU.

While you're free to choose what client software you want to use, we recommend you to use GNOME Boxes.

GNOME Boxes

Boxes is an application that gives you access to virtual machines, running locally or remotely. It also allows you to connect to the display of a remote computer.

Installing Boxes

Installing Boxes on Parch is easy as alphabet. All you have to do is to run sudo pacman -S gnome-boxes in your terminal and reboot afterwards. You'll see Boxes after your computer boots up.

Oracle VirtualBox

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 3.

Installing VirtualBox

You can install the core package of VirtualBox by running sudo pacman -S virtualbox.

Next, you should run sudo pacman -S virtualbox-host-dkms

To compile the VirtualBox modules provided by virtualbox-host-dkms, you'll also need to to install the appropriate headers packages for your installed kernel, for example:

Don't forget to reboot after installing.

Enabling additional features of VirtualBox

The Oracle VirtualBox Extension Pack provides additional features and is released under a non-free license only available for personal use. To install it, the virtualbox-ext-oracleAUR package is available.

For some reasons, additional features on VirtualBox (e.g. mounting an external media device like an USB stick to the guest) are not included in the core package and you need to install the extension pack to use these features.

You can install this package and use these features by: 

  1. Running paru -S virtualbox-ext-oracle --noconfirm on your terminal. (paru comes included by default in Parch Linux, but you may want to use yay or aura instead.)
  2. Running sudo usermod -aG vboxusers YOUR-USERNAME on your terminal. (Put your username instead of YOUR-USERNAME in the command.)

At the end, don't forget to reboot, since it is necessary.