Upgrade VirtualBox 6.0 to 6.1 on Ubuntu Systems

0
964

With the release of VirtualBox 6.1 and its new major features, you should be planning to upgrade your VirtualBox 6.0. Well, in this guide, we are going to learn how to upgrade VirtualBox 6.0 to 6.1 on Ubuntu Systems.

VirtualBox 6.1 New Features

  • Implemented support for importing a virtual machine from Oracle Cloud Infrastructure
  • Extended support for exporting a virtual machine to Oracle Cloud Infrastructure, allowing the creation of multiple virtual machines without re-uploading. Also added option to export a VM to the cloud using the more efficient variant “paravirtualized”, and to specify free-form tags for cloud images
  • Virtualization core: Support for nested hardware-virtualization on Intel CPUs (starting with 5th generation Core i, codename Broadwell), so far tested only with guest running VirtualBox
  • Graphics: New style 3D support (with VBoxSVGA and VMSVGA) remains, old style 3D support (with VBoxVGA) has been completely removed
  • Shared Clipboard: Implemented experimental support for file transfers (Windows hosts/guests only at the moment). Needs to be enabled via VBoxManage (disabled by default). In addition, the following items were fixed and/or added:
  • Virtualization core: Drop recompiler, i.e. running VMs now needs a CPU supporting hardware virtualization
  • Runtime: Works now on hosts with many CPUs (limit now 1024)
  • Appliance and Cloud Import: Add field for defining firmware type (not part of OVF spec and thus manual in the Appliance case, for OCI it is automatically taken from the instance information)
  • GUI: Improved the VISO creation and file manager dialogs

The list is quite comprehensive. Read more on the Changelog.

Upgrade VirtualBox 6.0 to 6.1 on Ubuntu Systems

For the purposes of this demo, we are using Ubuntu 16.04 as our host system. Hence, follow through to learn how to upgrade VirtualBox to the latest release version.

Remove Old Versions of VirtualBox

To begin with, kill any VirtualBox process that is running;

ps aux | grep -i virtualbox | awk '{print$2}' | xargs -I {} sudo kill -9 {}

Next, remove any package related to the VirtualBox 6.0 on your system along with packages that are no longer required.

Note: When you remove VirtualBox, you existing VMs will remain intact under the installation directory, in my case, it is $HOME/VirtualBox VMs directory.

sudo apt purge virtualbox-6.0
sudo apt autoremove

Reboot your system to reload the kernel modules.

systemctl reboot

Install VirtualBox 6.1 on your Ubuntu System

VirtualBox 6.1 can be installed using the DEB binary package or from the APT repos.

To install VirtualBox using the .DEB binary package, simply download the binary from VirtualBox downloads page.

wget https://download.virtualbox.org/virtualbox/6.1.0/virtualbox-6.1_6.1.0-135406~Ubuntu~bionic_amd64.deb

Use either the dpkg tool or apt package manager to install VirtualBox

dpkg -i virtualbox-6.1_6.1.0-135406~Ubuntu~bionic_amd64.deb
apt install -f

or

apt install ./virtualbox-6.1_6.1.0-135406~Ubuntu~bionic_amd64.deb

To install VirtualBox from APT repos, simply install the VirtualBox APT sources list.

echo "deb https://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Install the repository signing keys.

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Update system packages and install VirtualBox

sudo apt update
sudo apt install virtualbox-6.1

Install VirtualBox 6.1 Extension Pack

Remove the old version of VirtualBox extension pack.

sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"

Download the latest VirtualBox 6.1 extension pack.

wget -P /tmp https://download.virtualbox.org/virtualbox/6.1.0/Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack

Install VirtualBox 6.1 Extension Pack

sudo VBoxManage extpack install /tmp/Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack

Accept the VirtualBox Extension Pack Personal Use and Evaluation License (PUEL) and proceed with installation.

Running VirtualBox 6.1

You can run your VirtualBox as you always would. To check confirm the installed version, on the VirtualBox menu bar, click Help > About VirtualBox.

Upgrade VirtualBox 6.0 to 6.1 on Ubuntu Systems

There you go. You have successfully upgraded your VirtualBox 6.0 to VirtualBox 6.1 on your Ubuntu System.

Related Tutorials

How to Upgrade VirtualBox 5.2 to VirtualBox 6.0 on Ubuntu 16.04

Install VirtualBox Guest Additions on Ubuntu 20.04

Install Ubuntu 20.04 on VirtualBox

Use VirtualBox VMs on KVM

LEAVE A REPLY

Please enter your comment!
Please enter your name here