
This applies if the modules for that version have never been compiled before. If we tried to run the installation without these prerequisites, we would be informed that the kernel modules for VirtualBox failed to be compiled. So that will need to be installed if it’s not there. It builds those modules using the GCC compiler. It requires the headers for your currently running kernel to build the necessary modules. Installation depends on several programs. # replace 'x' with version Installing Dependencies Use ‘chmod’ to enable the execute (‘x’) flag. The file will need to be given rights to execute it. Download Install Virtualbox in Arch Linux Make Virtualbox file executable It comes in the form of a self-extracting archive. Head to the VirtualBox Linux download page and select the “All distributions” version. VirtualBox was originally created by Sun Microsystems. Download Virtualbox It’s like having a separate computer running on top of your operating system. If not, it is a program from Oracle that allows you to create virtual machines on your computer. Since Arch Linux is the target platform, we will need to install certain dependencies if they’re not there already.Ĭhances are you already know what VirtualBox is. Numerous aspects of this guide can also apply to any other Linux distribution. For example, choose Ubuntu for an Ubuntu-based distro like Pop!_OS or Linux Mint.In this guide, I will show you how to install VirtualBox in Arch Linux. If your distro isn’t listed, choose the closest distro, or the one it’s based on.


RELATED: The Best Linux Distributions for BeginnersĮnter a name for your Virtual Machine, choose a location you want to save it in, change the type to “Linux”, and set the version to the distro you’re using. If you haven’t already, choose a distro and start downloading the ISO so that it’s ready by the time we reach the step where we load it into the VM. The steps for installing Linux in VirtualBox are pretty much the same on Windows, Linux, and macOS. Ubuntu Linux: Which Distro Should You Choose? Installing Linux in VirtualBox If you’re stuck, learn how to install a DEB file and an RPM file in Linux. Download the relevant package and double-click on it to install VirtualBox. Ubuntu and Debian use DEB files, whereas Fedora, OpenSUSE, RedHat Enterprise Linux, and CentOS use RPM files. You need to go to the Linux Downloads page and download the installer package for your distribution. Installing VirtualBox on various Linux distributions (distros) is also pretty easy.
