Install VirtualBox 4.2.2 in Ubuntu 12.10 (Quantal Quetzal)

Here’s a quick tutorial that shows you how to install the latest version of VirtualBox in Ubuntu 12.10.

If you don’t know what VirtualBox is, it is a software that lets you run multiple operating systems (Windows, Linux, Mac) from a host computer which can be either Windows or Linux.

This software has been updated to version 4.2.2 and this brief tutorial is going to show you how to install it.


  • Install VirtualBox 4.2.2 in Ubuntu 12.10
  • Enjoy!

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

wget -q -O- | sudo apt-key add -




Next, copy and paste the commands below to add its repository.

sudo sh -c 'echo "deb $(lsb_release -sc) 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.2







2 thoughts on “Install VirtualBox 4.2.2 in Ubuntu 12.10 (Quantal Quetzal)”

  1. Hi. I am getting the following error when I try to install vBox…

    addgroup: The group `vboxusers’ already exists as a system group. Exiting.
    * Stopping VirtualBox kernel modules [ OK ]
    * Uninstalling old VirtualBox DKMS kernel modules [ OK ]
    * Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 3.5.0-17-generic cannot be found.
    Please install the linux-headers-3.5.0-17-generic package,
    or use the –kernelsourcedir option to tell DKMS where it’s located

    * Failed, trying without DKMS
    * Recompiling VirtualBox kernel modules
    * Look at /var/log/vbox-install.log to find out what went wrong
    Processing triggers for libc-bin …
    ldconfig deferred processing now taking place
    Processing triggers for ureadahead …
    Processing triggers for python-central …

Leave a Reply

Your email address will not be published. Required fields are marked *