Skip to main content

When new users start using Nitrux, many think they can’t install many of their tools in the distribution, such as a hypervisor (specifically, type 2 hypervisors), because they’re accustomed to using a package manager to do that. As we describe in the tutorial about Software Management, several methods exist to manage (add, remove, upgrade) software in the distribution.

In today’s tutorial, we’ll see how to install various hypervisors in Nitrux.

Difficulty: ★☆☆☆☆

📜 Table of Contents

  1. VirtualBox (Oracle Installer)
  2. VMware Workstation Player/Pro (VMware Installer)
  3. Gnome Boxes (Flatpak)
  4. AQEMU (Distrobox)

VirtualBox (Oracle Installer)

Let’s kick this off with VirtualBox. VirtualBox is a type 2 hypervisor developed by Oracle for running a virtual operating system on your computer and is arguably one of the most popular hypervisors in Linux. Most users are familiar with the installation procedure in Debian-based distributions, like Debian, Ubuntu, Mint, etc., by obtaining a Debian package from the distribution’s repositories provided by the distribution maintainers or adding a repository.

However, installing VirtualBox without the package manager is also possible using an installer provided by Oracle. The VirtualBox installer (a shell script) will install the application in the root directory, specifically in /opt. Since the user can’t select where to install VirtualBox (whether the user uses this installer or a Debian package), we’ll need to enter the overlay and do the installation process. This installer targets all Linux distributions, not specifically Nitrux.

To install VirtualBox in Nitrux, do the following.

  1. To obtain the link to the installer, visit the official VirtualBox website, then click the big button “Download VirtualBox 7.0.”
  2. Now click on Linux distributions under VirtualBox 7.0.14 platform packages.
  3. Then right-click on All distributions under VirtualBox 7.0.14 for Linux and select “Copy link” or right-click this link.
    • 🔰 Information: VirtualBox 7.0.14 is the most recent version at the time of writing.

Oracle VirtualBox download page. Image for reference.

  • 🔰 Information: At the time of writing, the most recent filename is Replace the link accordingly if VirtualBox has been updated.
  • 🔰 Information: Once executed, the installer displays some “errors” about systemctl. However, we can safely ignore these. The installer targets distributions using systemd and wants to interact with services, possibly to add, start, or restart them, but systemctl doesn’t do anything in Nitrux. The installation will not fail because of these errors.
  • ⚠️ Important: As noted by the installer, the installation will put the files in the directory /opt; see XFS Features and Root Immutability in Nitrux.
sudo overlayroot-chroot

mount -t devtmpfs dev /dev

axel -a && chmod +x && ./ && rm -f /

umount /dev



Once the installation is successful, we need to reboot since we did the installation to the root, and the changes need to be loaded into the overlay.

  • ⚠️ Important: VirtualBox 7.0.14 has a problem where attempting to install the Extension Pack by launching the VirtualBox main window, going to Preferences→Tools→Extension Pack Manager, and clicking the button “Install” results in the application freezing. This is not a bug in Nitrux or caused by Nitrux since this issue was not present in previous versions of VirtualBox, like 7.0.12, running on the same distribution release. Close the application window, double-click the extension pack file, and the install dialog appears. Accept the license agreement, enter your password when prompted, and the extension pack will install successfully.

VMware Workstation Player/Pro (VMware installer)

Another well-known hypervisor is the Workstation product family developed by VMware. VMware Workstation is a type 2 hypervisor designed for Windows and Linux systems. It allows you to create and manage virtual machines in either Windows or Linux environments. VMware Workstation products are categorized into VMware Workstation Player and VMware Workstation Pro.

To install VMware Workstation Player/Pro in Nitrux, do the following.

VMware Workstation Player download page. Image for reference.

  1. To obtain the link to their respective installer, visit the official VMware Workstation Player or VMware Workstation Pro product page and download the respective installer file.
  2. As with VirtualBox, the installer for VMware Workstation products doesn’t allow the user to select the install location. Thus, we must install it once we switch from the overlay. To do this, run the following commands.
  3. Proceed to build the kernel modules for VMware Workstation and exit overlayroot.
sudo overlayroot-chroot

mount -t devtmpfs dev /dev


vmware-modconfig --console --install-all 

umount /dev 



GNOME Boxes (Flatpak)

GNOME Boxes is free and open-source software that is very easy to use and makes it simple to create and manage virtual machines by abstracting many options. GNOME Boxes, on the other hand, is targeted towards a typical desktop end-user who wants either a very safe and easy way to try out new operating systems or new (potentially unstable) versions of their favorite operating system(s), or needs to connect to a remote machine (home-office connection being a typical use-case). For this reason, GNOME Boxes does not provide many advanced options to tweak virtual machines virt-manager provides. Instead, GNOME Boxes focuses on getting things working out of the box with very little input from the user.

GNOME Boxes is available as a Flatpak and can be installed from Flathub.

To install GNOME Boxes in Nitrux, do the following.

  • 🔰 Information: As mentioned in the tutorial about Software Management, download Bauh from the NX Software Center and search for GNOME Boxes on Flathub.

GNOME Boxes window. Image for reference.

AQEMU (Distrobox)

AQEMU is a GUI for virtual machines using QEMU as the backend. Support for the KVM accelerator on Linux is provided. The application has a user-friendly interface and allows users to set many options. Since AQEMU is unavailable as an AppImage or a Flatpak, we can install it using Distrobox.

Let’s assume we use a container similar to the tutorial to use Distrobox. To install AQEMU in Nitrux, do the following.

distrobox enter -n debian12-distrobox -- sudo apt -y install aqemu qemu-system-x86

We can export the application using Distrobox to list it in the applications menu. To do this, run the following command.

distrobox-export -a aqemu

AQEMU in Distrobox. Image for reference.

That’s it; this concludes today’s tutorial.