Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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:

I am new to Ubuntu and I want to install VirtualBox in Ubuntu through terminal. Can you guys please provide me the command to install it?

share|improve this question

marked as duplicate by blade19899, Florian Diesch, guntbert, Braiam, Radu Rădeanu Dec 30 '13 at 21:44

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.

For the closed source version see:… – Takkat Jan 11 '13 at 9:37

Virtualbox is in the official repository.

Just open a terminal and enter:

sudo apt-get install virtualbox

After installing you should add the user, you want to use VirtualBox with to the vboxusers group by:

sudo adduser $USER vboxusers 

If you prefer a more recent version, take a look at Download VirtualBox.

share|improve this answer

Help page from the Oracle VM virtualbox website.

It has a list of deb packages you can download.

You can run it with

sudo dpkg Path/To/File
share|improve this answer

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