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.


  • 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 -O- | sudo apt-key add -




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

sudo sh -c 'echo "deb precise contrib" >> /etc/apt/sources.list'




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

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