

When that happens, you should get a prompt to run the software. This should mount a virtual CD/DVD drive inside the Ubuntu guest machine. To install VirtualBox Guest Additions software on Ubuntu virtual machine operating systems, select the Devices from VirtualBox host application menu and click Insert Guest Additions CD image. sudo apt install virtualbox-guest-dkms build-essential linux-headers-virtualĪfter installing the packages above, restart your machine and continue below. When you’re done, run the commands below to install the latest kernel header and dkms package to support VirtualBox. sudo apt update & sudo apt dist-upgrade & sudo apt autoremove When you’re ready to install VirtualBox guest addition, run the commands below to update Ubuntu. The tool provides tight integration between the host and virtual machine operating systems, improvement to the VM graphics performance, shared folder between the host and guest machines, copying and pasting of text, images and files between the host and guest machine as well as mouse improvement.


Then, open the Ubuntu terminal and mount the guest additions CD image by running the following command: sudo mount /dev/cdrom /mnt Execute nĪfter mounting the image, cd into the /mnt directory, and run the n script: cd /mnt/Īfter the installation is complete, reboot your Ubuntu Virtual Machine before the Guest Additions software takes effect.When operating the guest machine without the guest addition software, the guest machine will perform poorly and your experience with it will be limited. Sudo apt install build-essential dkms linux-headers-$(uname -r) Mount Guest Additions CD Imageįrom the Devices menu of your virtual machine’s window, select Devices | Insert guest additions CD image.Ĭlick on Cancel when asked, Would you like to run it? Login to your VM and Install the dependency packages before starting with the Guest Additions installation by running the following in a Terminal window: sudo apt update Update your APT database with sudo apt-get. How to Install VirtualBox Guest Additions on Ubuntu 20.04 LinuxĪfter installing Ubuntu 20.04 on VirtualBox, we need to install VirtualBox Guest Additions to enable additional features that VirtualBox provides for the Guest Operating system.įollowing are the steps to install VirtualBox Guest Additions on a Ubuntu 20.04 Virtual Machine: Login as ubuntu Click on Applications/System/Terminal (or on Applications/Terminal, if you are using the 6.06.
