In this tutorial, we will show you how to install VirtualBox on Manjaro 20. For those of you who didn’t know, VirtualBox is open-source cross-platform virtualization software for x86 architecture and this software allows you to create and run guest operating systems (“virtual machines”) such as Linux and Windows on top of the host operating system.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you through the step-by-step installation of VirtualBox on a Manjaro 20 (Nibia).
Prerequisites
- A server running one of the following operating systems: Manjaro 20.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install VirtualBox on Manjaro 20 Nibia
Step 1. Before running the tutorial below, make sure that our system is up to date:
sudo pacman -Syu
Step 2. Installing VirtualBox on Manjaro 20.
Now we run the following command to install VirtualBox packages and VirtualBox Host Module:
sudo pacman -S virtualbox sudo pacman -S virtualbox-host-modules-arch
Once successfully installed of VirtualBox and VirtualBox host module, enter the following command to add the VirtualBox module to the kernel:
sudo modprobe vboxdrv
Next, we add the user account to the VirtualBox User Group to access all the features provided by VirtualBox, Make sure to mention your username instead of username
field.
sudo gpasswd -a [username] vboxusers
Step 3. Launching VirtualBox.
Launch VirtualBox. If you don’t have an icon on your desktop, your Panel, or the MX Linux Application Menu under Accessories, open a terminal window and launch the Oracle VM VirtualBox Manager window. Use the command below:
virtualbox
Congratulations! You have successfully installed VirtualBox. Thanks for using this tutorial for installing the latest version of Oracle VirtualBox on the Manjaro system. For additional help or useful information, we recommend you check the official VirtualBox website.