PDA

View Full Version : [ubuntu] VirtualBox question



Bapu
April 15th, 2009, 05:07 PM
In searching for the install instructions for VirtualBox on Ubuntu 8.10 I see there are only instructions for 8.04.

Does this mean:

a) I cannot install on 8.10
b) I use 8.04 instauctions for 8.10

Thanks for your input.

diwas
April 15th, 2009, 05:10 PM
b) is probably your answer.

stringkarma
April 15th, 2009, 05:10 PM
The documentation online sometimes doesn't get updated all that often.

Try using http://www.virtualbox.org/wiki/Linux_Downloads to add the repos and then install virtualbox-2.2 from synaptic or apt-get

techlive
April 15th, 2009, 05:25 PM
Its really very easy to install on Ubuntu 8.10

jbrown96
April 15th, 2009, 05:26 PM
Just add the repo as the last poster suggests. I think the only other thing you will need to do is add yourself to the vboxusers group.

It should be
sudo usermod -aG vboxusers $USER if I remember correctly.

stringkarma
April 15th, 2009, 05:27 PM
You can do this step graphically in the Users and Groups administration panel too

Bapu
April 15th, 2009, 06:28 PM
Just add the repo as the last poster suggests.

Please bear with me, I'm new to Ubuntu (and virtualization for that matter).

what is a repo and exactly how do I add it?

Thx.

jbrown96
April 15th, 2009, 06:43 PM
Repos are software repositories. They are websites that you can download software from. You will need to add the address of the repository and the key (optional but highly encouraged).

Go to this site (http://www.virtualbox.org/wiki/Linux_Downloads) for all the info you need. I'll walk you through doing this on the command line; I think it's easier.

Open a terminal (Apps--->Acc--->terminal), and do the following.


gksu gedit /etc/apt/sources.list A window will ask for your password and then open a text editor. Go to the bottom of this file. And paste in the appropriate address for your Ubuntu version. (If you are using Intrepid, then you would use this line: deb http://download.virtualbox.org/virtualbox/debian intrepid non-free). Save and exit. You may want to put in a comment so you know what this repo is for. I would put something like
# Virtualbox Repository You can put whatever you like, just make sure that there is a # at the beginning of the line.

Back in the terminal run
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add - then reload your software lists with
sudo apt-get update Then install virtualbox.
sudo apt-get install virtualbox-2.2 Once this finishes, run the usermod command from my earlier post. Reboot and you can use Virtualbox (Apps--->System Tools (??).).


There is an easier way to just download the package from that site, but you won't be able to get updates automatically for it.

Bapu
April 15th, 2009, 07:04 PM
Thanks,

That was very considerate to post the details of how to do this.

As was probably true one time for you, some of this is overwhelming. However, what you've provided seems to be the level of detail I need right now.

I'll give the whole VirtualBox install a whirl tonight when I get home.

ahbart
April 15th, 2009, 07:37 PM
You can do this all in the graphical application too:

gnome menu - system - administration - Synaptic package manager.
type your password to use it.
go to:

menu - settings - Repository
and choose the second tab: Third party Software
There click: add
copy this line as suggested above:

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
Leave synaptic open on the repository window.

Download this file and save it. sun_vbox.asc (http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc)
Probably you have to right click it to save it. (Save link as)

Go back to synaptic, still open and go to the tab: Authentication
Click the button: import key file.
and select the sun_vbox.asc
ok ok

Reload synaptic (button) and search for virtualbox-2.2 and click to install it.

There are always more ways to do something! :D No offence to the CLI though! ;)