Want to install the latest version of VirtualBox in Ubuntu 12.04? Well, this brief tutorial is going to show you how. If you’re reading this post, then you probably already know what VirtualBox is. So, I am going to skip the details and show you how to quickly install it in Ubuntu 12.04.

Without wasting anymore of your time, let’s get going.


  • Install the latest VirtualBox (4.1.14) in Ubuntu 12.04
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to add VirtualBox repository’s key.

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




Next, copy and paste the line below to add VirtualBox repository in Ubuntu 12.04

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




Finally, run the commands below to update your system and install VirtualBox.

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