
Install VirtualBox Guest Additions Using Terminal

To install the Guest additions, you need to mount the ISO image in your VM. VirtualBox guest additions are stored in an ISO file VBoxGuestAdditions.iso inside the VirtualBox installation directory. Sudo apt install -y build-essential linux-headers-$(uname -r) Install Guest Additions on Ubuntu 22.04 Prerequisitesīefore installing Guest additions, install the build tools and kernel headers for the current kernel. Here, we will see how to install VirtualBox guest additions on Ubuntu 22.04. Guest Addition provides seamless mouse support, file transfer between the host and the VM, VM screen resolution will match the size of the VirtualBox window, automated guest login using credentials from a master login system, and many more.

Installing Guest additions improve the guest operating system’s performance and extra features. VirtualBox guest additions are a collection of device drivers and software application packages shipped with Oracle VirtualBox. This tutorial helped you to install Virtualbox on Ubuntu 20.04 LTS Linux system.Install VirtualBox Guest Additions On Ubuntu 22.04 Search for the Virtualbox under the applications or simply run the following command from a terminal to launch the Virtualbox application. This will complete the installation of VirtualBox on Ubuntu systems. Press ‘Y’ for any confirmation prompted by the above command. sudo apt update sudo apt install virtualbox-6.1 If you have already installed an older version of VirtualBox, the Below command will update it automatically. Run the following commands to install VirtualBox. Now, your system is ready for the Virtualbox installation. Step 2 – Install VirtualBox on Ubuntu 20.04 This command will add an entry to the /etc/apt/sources.list at end of the file. sudo add-apt-repository "deb focal contrib" You can do this by running the below command on your system. Then, you need to add Oracle VirtualBox PPA to the Ubuntu system. Open a terminal (CTRL+ALT+T) on your system and execute: wget -q -O- | sudo apt-key add - wget -q -O- | sudo apt-key add. Import the public key to your system signed the packages. Oracle VirtualBox team provides an official package repository for Ubuntu & Debian-based systems. sudo apt update & sudo apt upgrade Step 1 – Configure Apt Repository Then run the following command to upgrade packages on your system to the latest version. Login to your Ubuntu desktop system using sudo privileged user.

Prerequisitesįirst of all, upgrade the current packages on your system. This tutorial described how to install VirtualBox on Ubuntu 20.04 LTS (Focal Fossa) Linux systems. You can read the ChangeLog to know more about changes in newer version’s of VirtualBox. At the time of updating this tutorial, VirtualBox 6.1.16 is the latest available version to install. The latest updates come from time to time. Oracle VirtualBox 6.1 is the latest major version launched by the Oracle team.
