Updates:

You can now choose from a number of pre-installed themes

Install VirtualBox in 14.04 - Solved

Started by mikep, August 15, 2014, 12:19:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikep

Hello again,

I'm now using Ubuntu 14.04. I'm trying to install Virtualbox-4.3 in order to run XP in a vm, but I keep getting the error - "Failed to download package files Check your internet connection".

My internet connection seems fine - I can browse the web, etc.

Any suggestions gratefully accepted.

Thanks guys.
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...

chemicalfan

Are you trying to install it through the ubuntu software centre?


Mark Greaves (PCNetSpec)

#2
OK,let's remove any verions of virtualbox that might be installed or partially installed:
sudo apt purge virtualbox*
then
sudo apt clean

Make sure you have build-essential, linux-headers-generic, and dkms installed:
sudo apt install build-essential linux-headers-generic dkms

add the public key for the oracle virtualbox repo with:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

Now backup your sources.list:
sudo cp -v /etc/apt/sources.list /etc/apt/sources.list.bak

Now open sources.list for editing:
sudo gedit /etc/apt/sources.list

and add these 2 NEW LINES at the bottom:
###### Oracle VirtualBox repo
deb http://download.virtualbox.org/virtualbox/debian trusty contrib

SAVE the file and exit gedit.

Back in the terminal update the package cache:
sudo apt update

and install virtualbox-4.3 with
sudo apt install virtualbox-4.3

Check you're a member of the vboxusers group and add yourself if necessary.

One finished installing (and adding yourself to the vboxusers group if necessary) ..REBOOT.

Download the extensions pack for the correct version of virtualbox from here:
https://www.virtualbox.org/wiki/Downloads (https://www.virtualbox.org/wiki/Downloads)
here's a direct download llink for the current version (4.3.14):
http://download.virtualbox.org/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack (http://download.virtualbox.org/virtualbox/4.3.14/Oracle_VM_VirtualBox_Extension_Pack-4.3.14-95030.vbox-extpack)
and double click it to to install it .. virtualbox will start and offer to install it, click the "Install" button, then scroll to the bottom of the license and click the "I Agree" button, and enter your password when prompted.

Done.

--
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

mikep

Phew!

I'm beginning to realise how much I don't know about Linux.

I'll try this, but not at 21:43 after a long day. Maybe Sunday (working tomorrow).

I'll let you know how I get on.

Thanks,

M
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...

Mark Greaves (PCNetSpec)

Obviously this kinda thing isn't how you'd normally install stuff .. but Oracle's VirtualBox isn't open source so will never be in the repos.
(there is an open source version in there, but it's rubbish)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk


goldtopia

#5
Sorry for interrupting.  Is virtual box easier to install and use than wine, also would a virus killer be required to install windows programmes  and does it need windows like Windows XP to make it work
Bill.O

mikep

Just an update,

Still haven't tried this, but I appreciate the help.

I will try it as and when. Don't want to go into details, but my wife is not well, so everything else has gone on hold.

Thanks guys.
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...

chemicalfan

Quote from: goldtopia on August 25, 2014, 11:23:25 AM
Sorry for interrupting.  Is virtual box easier to install and use than wine, also would a virus killer be required to install windows programmes  and does it need windows like Windows XP to make it work

I'm a bit confused about the angle you're coming at with this one, but I'll try to help. Virtualbox will create a "virtual PC" which you can install any operating system on (Windows XP, if you wish). The physical USB ports, network card, and DVD drive will be "forwarded" from the hardware, through the "host OS", to the Virtualbox, to whatever OS you install. Certain things such as graphics card are a bit more complicated, as they don't get forwarded at present (instead, the Virtualbox creates an emulation - this is important, as 3D gaming etc. doesn't work). In terms of virus protection, it's just as vunerable as a proper hardware install, but with one big advantage - Virtualboxes can be cloned, and these can be used as a snapshot (so, if it's infected, you could just rollback to a previous snapshot in seconds).

Is is easier than Wine? This isn't really a valid question, as you can do things with Wine that you can't do with Virtualbox, and vice versa. Forget gaming in Virtualbox, but you might have a chance at Wine. You can use IE & other Windows desktop products such as Office (and I think iTunes) perfectly in Virtualbox, but they may not be 100% under Wine. It depends what you want to do, what applications you want.

mikep

Hello Mark,

Just going through your instructions. Everything seems fine (except sudo apt clean wasn't recognized, although the rest of the steps went ok).

I'm stuck on "Check you're a member of the vboxusers group and add yourself if necessary". How do I do that please?

Cheers,

M
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...


Mark Greaves (PCNetSpec)

Is "Users and Groups" available in Ubuntu 14.04 ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

mikep

It's not obvious. Bear in mind I'm a linux virgin and (as far as I can tell) I'm looking at the Unity desktop which I'm finding more baffling than it's precursors..
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...

Mark Greaves (PCNetSpec)

#11
Install gnome-system-tools:
sudo apt-get install gnome-system-tools
Now search for and start "Users and Groups" (click the top icon on the unity launcher bar left of screen .. then type Users and Groups in the search box .. then click the Users and Groups icon)

Click the "Manage Groups" button.

In the list of groups, scroll down and highlight the "vboxusers" group, then click the "Properties" button.

Make sure there's a tick next to your username, then click the "OK" button.

Close everything.

REBOOT  <-- IMPORTANT

Once you're back at the desktop, run:
groups
If vboxusers is in the returned list of groups, you're a member of it .. so carry on with the instructions for installing the extension pack for virtualbox.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

mikep

#12
Done that, and vboxusers is in the list.

Trouble is, I can't see how to check what version of Virtualbox I've installed in order to download the correct extensions. In fact, I can't even find out how to run Virtualbox!

I could just about cope with Gnome and KDE, but I'm really struggling with Unity. That's not a criticism, just an observation.

-------------------------------------

OK. Cracked it! I took a chance and downloaded the latest version (4.3.14) extensions and it seems to have worked. Now VB appears in the 'search your computer' icon.

Thank you Mark. Much appreciated. I'm liking Linux more and more.
ASUS ROG Strix B450-F Gaming ATX Motherboard, AMD Socket AM4, Ryzen 3000 Ready
AMD Ryzen 5 2600 Processor with Wraith Stealth Cooler
Corsair Vengeance LPX 8GB (2x4GB) DDR4 DRAM 2666MHz C16 Memory Kit - Black
Kingston 250GB NV1 NVMe PCIe SSD

Of all the things I've lost, I miss my mind the most...

Mark Greaves (PCNetSpec)

Not a big Unity fan myself, which is why I now use Peppermint.

You're welcome :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Mark Greaves (PCNetSpec)

Oh, nearly forgot .. if you now consider it so, can you please remember to mark the topic (SLOVED) by editing the FIRST posting in this topic and changing

Subject: Install VirtualBox in 14.04 (SOLVED)

TIA.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk