Can't install virtualbox in ubuntu 16.04

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ramwin
Posts: 3
Joined: 24. Apr 2016, 15:00

Can't install virtualbox in ubuntu 16.04

Post by ramwin »

I install the latest ubuntu 16.04 on my computer and download the virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb (md5sum is right: 85665eed0684c2f1cd33159d207bda47). But when I double click the file, it promts a window of software. I click the install button, nothing happened.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Can't install virtualbox in ubuntu 16.04

Post by mpack »

It would be useful to see a screenshot in support of "it prompts a window of software".

Have you read chapter 2.3 of the user manual?
ramwin
Posts: 3
Joined: 24. Apr 2016, 15:00

Re: Can't install virtualbox in ubuntu 16.04

Post by ramwin »

Sinc I can't posts urls right now. I will use the plain text. Sorry about that.

If I click the install button, it became installing and became install again immediately. And a icon will show on my left panel (sometimes not).

I read the docs. And the dkms version is 2.2.0.3. The problem still exists.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Can't install virtualbox in ubuntu 16.04

Post by mpack »

You don't need to post any URLs. Screenshots and files can be attached directly in the forum. See the "Upload attachment" tab when composing messages.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't install virtualbox in ubuntu 16.04

Post by Perryg »

Double click will by default try to use Ubuntu software center which is severely broken IMHO.

Use dpkg or at the very least use gdebi to install VirtualBox.
ramwin
Posts: 3
Joined: 24. Apr 2016, 15:00

Re: Can't install virtualbox in ubuntu 16.04

Post by ramwin »

$ sudo dpkg -i ./virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
dpkg: dependency problems prevent configuration of virtualbox-5.0:
virtualbox-5.0 depends on libqt4-opengl (>= 4:4.7.2); however:
Package libqt4-opengl is not installed.

Code: Select all

$ sudo apt install libqt4-opengl
$ sudo dpkg -i ./virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
Done. Thank you everyone. Special thanks to @Perryg
Post Reply