5

I have installed VirtualBox from the official Ubuntu repository:

  • virtualbox
  • virtualbox-qt
  • virtualbox-ext-pack

After adding the official Oracle VirtualBox repository:

deb http://download.virtualbox.org/virtualbox/debian xenial contrib

And its key:

https://www.virtualbox.org/download/oracle_vbox_2016.asc

I can now install virtualbox-5.2. But it removes virtualbox-qt and virtualbox-ext-pack.

How can I install VirtualBox 5.2 and have the GUI and the extension pack?

Redsandro
  • 3,764

3 Answers3

3

you cant have 2 versions of virtualbox at the same time; you can install virtualbox from .deb package downloaded from

Linux_Downloads – Oracle VM VirtualBox

and extensions from

Downloads – Oracle VM VirtualBox - look for VirtualBox Extension Pack All supported platforms link

first purge old version

apt-get purge virtualbox

then download from links above required files and install

dpkg -i virtualbox.. #[downloaded file name] 
apt-get install -f  #[for fixing dependencies]
vboxmanage extpack install Oracle.. #[extension pack]

after this you should have virtualbox+GUI+ext pack

3

All binaries, and the guest additions will be included on installing from the Oracle repository. Previous versions of virtualbox may conflict and will have to be removed manually, or will automatically be removed during installation. Existing virtual machines will be kept.

There is no point to download and install a DEB package in addition.

An extension pack matchin the installed version of virtualbox will have to be manually downloaded and then installed from the virtualbox media manager

Takkat
  • 144,580
2

Have exactly same issue, turns out in virtualbox-5.2 or even earlier version, you don't need virtualbox-qt anymore for a GUI.

I still need download the Ext pack, from Virtualbox website, but it's now a plug-in, and are not OS depended anymore, so it is not necessary to be managed by Ubuntu's package manager.

pstar
  • 123