How to Install VirtualBox in Ubuntu 22.04 LTS (Jammy Jellyfish)
VirtualBox is a free and open-source virtualization tool for desktop and servers. It allows the users to run multiple virtual machines of different operating system at the same time. It is a type 2 hypervisor for x86 virtualization.
Some of basic terminology used in Virtualization world are:
- Host Operating System (Host OS) – It is an operating system of the physical machine on which VirtualBox is installed or will be installed. Host OS for virtual box can be Windows, UNIX and Mac OS X.
- Guest operating system (Guest OS) – It is an operating system which is running inside the virtual machine.
- Virtual machine (VM) – This is the special environment that VirtualBox creates for our Guest OS while it is running. In other words, we can say that we run guest OS in a VM.
In this guide, we will cover how to install VirtualBox in Ubuntu 22.04 LTS (Jammy Jellyfish) system step by step.
Minimum System Requirement for VirtualBox
- Minimal Ubuntu 22.04 LTS system installed
- Sudo User with admin privileges
- 4GB RAM or more
- Multi Core Processor ( 4 Core CPUs or more)
Without any further delay, let’s deep dive into the installation steps
1) Update System Package Cache
To make the system package cache up to date, run
$ sudo apt update
2) Install VirtualBox with apt command
Latest version of VirtualBox and its dependencies are available in default package repositories of Ubuntu 22.04 LTS. To view the available VirtualBox version, run
$ sudo apt-cache policy virtualbox
To Install VirtualBox along with its dependencies, run the following apt command
$ sudo apt install -y virtualbox
Once the VirtualBox is installed successfully, try to access it.
3) Access VirtualBox
To access the VirtualBox, type virtualbox in search dash.
Click on VirtualBox icon, we will get following window.
This confirms that VirtualBox has been started successfully. Before start creating virtual machines inside the virtualbox, let’s first install extension pack in the next step.
4) Install VirtualBox Extension Pack
VirtualBox Extension pack provides additional functionality to virtualbox like support for USB 2.0 & USB 3.0, PXE boot for Intel Cards, disk encryption and VirtualBox RDP.
To Install extension pack, let’s first download its file using beneath wget command.
$ wget https://download.virtualbox.org/virtualbox/6.1.32/Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack
To install extension pack, run following command
$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack
You will be prompted to accept the License agreement, press ‘Y’ to accept it.
Above screen confirms that extension has been installed successfully.
Now head back to VirtualBox GUI. From the File menu choose Preferences and then click on Extensions
Above window also confirms that extension is installed and active. Now, we are ready to create virtual machines inside the VirtualBox.
Note: Please make sure VirtualBox version and extension pack version must match otherwise additional functionality will not work properly.
That’s all from this guide. I hope you have found it informative and insightful. Please don’t hesitate to post your queries and feedback in below comments section.
The post How to Install VirtualBox in Ubuntu 22.04 LTS (Jammy Jellyfish) first appeared on LinuxTechi.