
iso -P /tmpĮxample on downloading latest release: sudo dnf -y install wget curl You can pull the ISO file using wget to the /tmp directory: wget /VBoxGuestAdditions_. Check out the latest release from the VirtualBox downloads page.

These are:įirst, identify the Virtualbox version on the host system: $ VBoxManage -versionĦ.1.36r152435 Option 1 – Using the Command-lineįrom the VM’s command line, download the guest additions. There are two ways how you can mount the VirtualBox Guest Additions CD. Now you are set to install VirtualBox Guest Additions on the Rocky /AlmaLinux 9 VM. Now the two should be of the same version. Now reboot the system for the changes to apply sudo reboot now

If they do not match, update Kernel: sudo dnf update -y Sudo dnf install dkms kernel-devel kernel-headers gcc make bzip2 perl elfutils-libelf-develĮnsure that both the kernel-devel versions and the kernel versions are the same: $ rpm -q kernel-devel Install Build Tools and Kernel HeadersĪfter installing the Rocky /AlmaLinux 9 as the guest operating system, install the following build tools and kernel headers. Once installed, proceed as shown below #2.

This tool was first developed in 2007 and from that time onwards, it has gained high popularity dues to its high performance and rich feature set. It can be used for home and enterprise purposes to create virtual machines that share the host’s resources. Virtualbox is an open-source Type 2 hypervisor developed by Oracle.
