VirtualBox version 4.1.20 was just released. This quick tutorial is going to show you how to install or upgrade your current version to the latest.

To view a complete changelog on this release, click here.

There were many bug fixes and enhancements, and if you wish to upgrade to the latest version in Ubuntu, then continue below.

Objectives:

  • Install / Upgrade VirtualBox in Ubuntu 12.04 (Precise Pangolin)
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, copy and paste the commands below and press Enter to add its repository’s key.

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

 

virtualbox_4-1-20

 

Next, copy and paste the line below in the terminal and press Enter to add its repository.

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list'

 

virtualbox_4-1-20_1

 

Finally, run the commands below to install / upgrade VirtualBox.

sudo apt-get update && sudo apt-get install virtualbox-4.1

 

virtualbox_4-1-20_2

 

Enjoy!

 

virtualbox_4-1-20_3