Install VB Extensions on Ubuntu 18.04

Discussions related to using VirtualBox on Linux hosts.

Install VB Extensions on Ubuntu 18.04

Postby jgossage » 8. Mar 2020, 22:23

I am using Ubuntu 18.04 desktop and have installed VirtualBox 6.1.4 without problems. However, when I attempt to install VirtualBox extensions 6.1.4, the program tries to authenticate to Ubuntu as a superuser and fails. The dialog box presented works properly in all other instances and attempts to use sudo in a terminal command line always work. It is not clear to me whether this is a VirtualBox problem or an Ubuntu problem. Could I please have some advice? The net result is that I am unable to install VirtualBox Extensions.
Posts: 2
Joined: 23. Nov 2009, 08:21
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 10.10 Server

Re: Install VB Extensions on Ubuntu 18.04

Postby scottgus1 » 9. Mar 2020, 00:29

On Windows hosts it is necessary to run Virtualbox as Administrator to install the Extension Pack, since the EP goes in the Virtualbox installation folder, by default "C:\Program Files", which requires Admin privileges to write into. If Linux has a similar arrangement, you might need to open the main Virtualbox window via 'sudo', if such a thing is possible, whatever the Linux equivalent of Windows' "Run As Administrator".

Alternatively, the Extension Pack is an extension-renamed gzip file. With the main Virtualbox window and all guests or other Virtualbox processes closed, you can open the gzip, unzip the folder called "." into the Virtualbox installation folder's "ExtensionPacks" subfolder, then rename "." to "Oracle_VM_VirtualBox_Extension_Pack":

Gzip extractor, "." folder into {linux-install-path}/Virtualbox/ExtensionPacks
{linux-install-path}/Virtualbox/ExtensionPacks/. <- rename "."

Start the main Virtualbox window, and you'll have the EP installed.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
Posts: 7020
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 23 guests