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

I downloaded VirtualBox OSE from the Ubuntu Software Center but it seems that that version is limited. I prefer to have the complete version and don't really care if it's closed source or not.

Can I install it via a terminal or do I have to download something from a website?

I don't know how to install software I download from the web. So far I've only used the Software Center.

share|improve this question
up vote 8 down vote accepted

Prior to version 4.0, there were two versions of VirtualBox -- one was open source, and the one that most Linux distributions shipped with was not. At this point, there should no longer be two separate editions, so I'm not quite sure why Ubuntu still labels theirs 'OSE' unless they're shipping a modified version.

As far as downloading software from the Internet, you'll want to find .deb files whenever possible. .tar.gz is simply a compressed folder (like .zip), so it can contain all sorts of files. .deb files will install onto your computer, and Oracle provides debs for Ubuntu for both the official VirtualBox as well as the extension pack.

share|improve this answer
and even better than a deb is a deb repository where you can get updates without having to remember to look for them – Jeremy Bicha May 9 '11 at 12:48

The recommended way to install and maintain the Open Source (GPL v2) Virtual Box >= 4.0 in Ubuntu would be to

Add the Oracle repository to your sources

sudo add-apt-repository "deb <ubuntu-release> contrib"

Replace <ubuntu-release by your Ubuntu version, e.g. trusty, or by $(lsb_release -cs).

You may also read notes on how a repository or a PPA works.

Download and install the signature key

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

Udate your sources cache

sudo apt-get update

Install Virtual Box via the Software Center or command line

sudo apt-get install virtual-box-5.0

Replace -5.0 by the current Virtual Box release.

If you don't want to compile the kernel driver every time your kernel updates it is also recommended to install dkms by:

sudo apt-get install dkms

Download and install the Extension Pack

To gain extended functionality such as USB 2.0 or USB 3.0 support or support for Remote Desktop Protocol (RDP) you can make your Virtual Box installation closed source (see the Personal Use and Evaluation License) by downloading the Oracle Virtual Box Extension Pack.


You have to visit the Oracle Virtual Box Download page to obtain the present download link with Virtual Box <version> and the current <filename> of the extension pack available for download.

Note: Extension packs always need to be for the same Virtual Box version.

Install is done by double click or with the Virtual Box Manager GUI under File -> Preferences -> Extensions:

enter image description here

To install an extension pack from command line we run the following command

VBoxManage extpack install [--replace] <filename>

Replace <filename> with the path to your downloaded extension pack and use the option --replace in case you have an older version of the extension pack already installed.

Note: On upgrading Virtual Box to a newer version we also have to manually upgrade the extension pack. This will not be done automatically from the repository.

3D support (to run Unity), better desktop integration, changing the virtual screen geometry, and more can be achieved by installing the Guest Additions.

share|improve this answer
Before version 4.0, there were two editions of VirtualBox: 
a full binary containing all features and an "Open Source Edition" (OSE)
 with source code. With version 4.0, there is only one version any more, 
which is open source, and the closed-source components have been moved 
to a separate extension pack. 

From virtualbox

So you will need to find a version prior to 4.0 or find the extension pack (I'll edit it in when I find it ;) )

edit: Here we go: Extension pack how to and download

From the 2nd link: You can install the Extension Pack from the command line using VBoxManage.

VBoxManage extpack install  |
                   uninstall [--force]  |
share|improve this answer
Where exactly can we find the extension pack? – Oxwivi May 9 '11 at 11:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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