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.
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
For 32-bit system or when multiarch is not enabled:
The Oracle repository does not support multiarch. For 64-bit multiarch systems we add the repository with (source here)
You may also read notes on how a repository or a PPA works.
Download and install the signature key
Udate your sources cache
Install Virtual Box via the Software Center or command line
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:
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.Install is done by double click or with the Virtual Box Manager GUI under File -> Preferences -> Extensions:
To install an extension pack from command line we run the following command
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.3D support (to run Unity), better desktop integration, changing the virtual screen geometry, and more can be achieved by installing the Guest Additions.
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 and the "OSE" version is deprecated for versions of Ubuntu beyond 12.04.
However, the most recent version of VirtualBox is always available for the currently supported versions of Ubuntu, which is not always the case for the Ubuntu version. This will provide the latest bug fixes and features without having to wait for the packages to make their way downstream to Ubuntu.
Additionally, should you ever need support from Oracle themselves, they're more likely to give you the time of day if you're reporting from a version they released.
They provide a repository which you can add to your software sources. In other words, they build specifically with Ubuntu in mind. To add it, just follow the instructions:
One thing that's not included in the repositories, unlike it is in the Ubuntu repositories, is the Extension Pack. That means you have to manually download and install it. Since versions mismatch between the two repositories, you cannot use the Ubuntu one. Luckily, the process is to install the extension pack is fairly simple. You can find it on the normal downloads page and can be installed easily on the command line:
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.