
After that, install VirtualBox extension package and create a new Virtual Machine by using the installed VirtualBox application.

This command will directly install VirtualBox from Ubuntu 22.04 repository. To install VirtualBox on Ubuntu 22.04, you just need to execute the “ $ sudo apt install virtualbox” command on the terminal. That was all essential information related to installation and usage of VirtualBox on Ubuntu 22.04. Now, click on the “ Start” button, provide “ ISO” file and using the created Virtual Machine: However, we will use the default suggested location and allocate 10GB size to the virtual hard disk and press “ Create” button: In the next step, you have to set file location and size of the virtual hard disk according to your preferences. Select “Dynamically located” option and press the “ Next” button: The opened wizard will ask you to set the type of storage. Select “ VDI (VirtualBox Disk Image)” and press “ Next” button: Select “ Create a virtual hard disk now” option and hit the “ Create” button:

Select the size of RAM you want to allocate to the Virtual Machine: Next, enter the “ Name” of the operating system you want to set on the created Virtual Machine, specify the “ Machine Folder” and the “ Version” of operating system: To use VirtualBox on Ubuntu 22.04, search for it in the “ Activities” menu of Ubuntu 22.04 and open it from there:Īfter opening VirtualBox, click on the “ New” button for adding a new Virtual Machine: Once extension package is downloaded, install it using the below-mentioned command: $ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack How to use VirtualBox on Ubuntu 22.04 To get the extension package, we will utilize the following “ wget” command: $ wget To use VirtualBox, you need to configure VirtualBox and install its extension package. To launch VirtualBox on Ubuntu 22.04, use the command provided below: $ virtualboxĪfter running the above command, VirtualBox application will open up on your Ubuntu 22.04 system: Step 5: Download and install VirtualBox Extension Package The above-given output indicates that we have successfully installed VirtualBox on our Ubuntu 22.04 system.

Enter “y” to continue installation and that’s all:

Then, update and upgrade all packages on Ubuntu 22.04: $ sudo apt update & sudo apt upgrade Step 2: Install VirtualBoxįor now, we just need to run the following installation command to install VirtualBox on Ubuntu 22.04: $ sudo apt install virtualboxĪfter running above mention command, system will ask for taking additional disk space for installation. First, open up the terminal by pressing “ CTRL+ALT+T”.
