

They comprise device drivers and system applications that optimize the guest operating system for better performance and usability. In this tutorial, we will install VirtualBox guest additions on Ubuntu 22.04 LTS.Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. To improve the guest operating system performance Oracle bundles necessary drivers and software packages as guest additions. To install the guest additions on Ubuntu 22.04 LTS please follow the steps: Step 1: Install build-essential and kernel headersįirst, we need to install the build-essentials and Linux kernel headers for the current kernel. Sudo apt install -y build-essential linux-headers-$(uname -r)Īfter running these commands successfully we can reboot the machine to complete the installation. sudo rebootįrom the VirtualBox Device menu -> Click Insert guest additions CD Step 3: Mount And Run Guest Additions InstallerĬreate a folder to mount the guest additions installation CD. Next, we can run the installation software( n) in the mount. cd /mnt/cdromĪfter the successful installation, restart the VM. Alternatively we can install the package virtualbox-guest-additions-iso in the host Ubuntu.

Install the VirtualBox guest additions in Ubuntu After Ubuntu mounted the guest additions CD, open up your terminal program. After mounting the GA iso (which is all 'Install Guest Additions' does on Linux,) you need to navigate to the drive containing the contents of the iso. That’s all, hope you installed the VirtualBox guest addition on Ubuntu 22.04 LTS by following this tutorial.

sudo apt-get install virtualbox-guest-additions-iso The. iso file with an image of the OSE edition of the guest additions CD will install in the host directory /usr/share/virtualbox/VBoxGuestAdditions.iso. Iso file as a CD in your virtual machine's settings.
