In this tutorial, we will guide you through the steps to install VirtualBox on Manjaro operating system.
Before installing VirtualBox, it is recommended to update your Manjaro system to ensure that you have the latest software versions installed. Open the terminal and run the following command:
sudo pacman -Syu
To run VirtualBox on Manjaro, we need to install some dependencies. Run the following command to install them:
sudo pacman -S dkms linux$(uname -r | sed 's/\([^-]*-[^-]*-\).*/\1/')-headers
Now we can download and install VirtualBox from the official website. Go to https://www.virtualbox.org/wiki/Linux_Downloads and download the appropriate package for your Manjaro version. For this tutorial, we will assume that you are using Manjaro 64-bit.
wget https://download.virtualbox.org/virtualbox/6.1.28/virtualbox-6.1_6.1.28-147628~Manjaro4~21.1-x86_64.pkg.tar.zst
Note: Make sure to replace the package name with the latest version available.
Navigate to the directory where you downloaded the package and use the following command to install it:
sudo pacman -U virtualbox-6.1_6.1.28-147628~Manjaro4~21.1-x86_64.pkg.tar.zst
Note: Again, make sure to replace the package name with the latest version available.
After installing VirtualBox, we need to enable kernel modules for it. Run the following command:
sudo modprobe vboxdrv
Now you can start using VirtualBox on Manjaro. You can launch it from the applications menu or by running the following command in the terminal:
virtualbox
That's it! You now have VirtualBox installed on your Manjaro system.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!