Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Can someone help me install Virtual box on my Ubuntu machine? (12.10). I know you can install it from the software centre but I read somewhere that their are more files to add or something? Can someone help me please? All help will be greatly appreciated! Thank you so very much! Have a wonderful day!

  • Cody.
share|improve this question

marked as duplicate by karel, Rinzwind, David Foerster, Eric Carvalho, Ravan Dec 29 '15 at 3:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

7  
Do you want the Ubuntu packaged version (see How to install VirtualBox?) or the virtualbox.org more updated version (see How do I install the closed source version of VirtualBox?)? What have you tried? And "I read somewhere" - be more specific, please. – gertvdijk Mar 19 '13 at 22:35
    
I don't know which one. I installed it from Ubuntu software centre I think. And I seen this site and it was saying that if I get an error do this and I found myself putting a bunch of random things and installing things from my Terminal. I don't know what I installed but hopefully it wont take up space. I know I may seem computer illiterate but i'm not. So sorry for asking this simple question, but i'd rather make sure than have to do it a third time. :$ Thank you! – cody Moores Mar 19 '13 at 22:39

Installing the package using the Software Centre provides you with the VirtualBox program itself. You will be able to make new VM's, or add existing ones, and run them with the interface it provides.

There are some hardware features, like USB 2.0, that need additional files in order to be usable. Highly recommended are the VirtualBox Guest Additions, which provide the guest operating system with drivers that help it run better. Also, you can get the VirtualBox Extension Pack, which enables features like USB 2.0.

share|improve this answer

First, open a terminal using Ctrl+Alt+T and type in the terminal to update repositories and stuff:

sudo apt-get update

We want to really install VirtualBox now, so when sudo apt-get update finishes with no errors, run this command in the terminal (again):

sudo apt-get install virtualbox-4.2

If you have issues, it most likely is beacuse of the VirtualBox kernel. Type in the terminal:

sudo apt-get install dkms

And again:

sudo apt-get upgrade

The package "dkms" helps if you are having issues with the Virtualbox kernel.

Now you have successfully installed VirtualBox 4.2. Enjoy your virtual operating systems!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.