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.
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 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.
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.
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:
sudo pacman -S linux-headers
for Linux kernelsudo pacman -S linux-lts-headers
for Linux-LTS kernelsudo pacman -S linux-zen-headers
for Linux-ZEN kernelsudo pacman -S linux-hardened-headers
for Linux-HARDENED kernelDon't forget to reboot after installing.
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:
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.)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.