Sunday, March 07, 2010

VirtualBox on Karmic

Installed it yesterday, for testing some stuff on a Windows 2000 Pro host.
Tried using the stock one from the Ubuntu repos, but, it didn't work for me, maybe I was doing something wrong...

$ sudo aptitude install virtualbox-3.0
[sudo] password for esteban:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No candidate version found for virtualbox-3.0
No candidate version found for virtualbox-3.0
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

So I head for the source VirtualBox downloads, and followed the instructions provided, and in less than 30 minutes I got the whole thing up & working...
First off, added the entry to my repos list:

$ sudo emacs /etc/apt/sources.list

Added this at the very end of file:

deb http://download.virtualbox.org/virtualbox/debian karmic non-free

Then, downloaded and imported the key:

$ sudo apt-key add sun_vbox.asc

And, after all that, refreshed the list:

$ sudo aptitude update

After that, it was a simple installation:

$ sudo aptitude install virtualbox-3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
dkms{a} fakeroot{a} libqt4-network{a} libqt4-opengl{a} libsdl-ttf2.0-0{a} patch{a} virtualbox-3.1
0 packages upgraded, 7 newly installed, 0 to remove and 5 not upgraded.
Need to get 45.6MB of archives. After unpacking 91.4MB will be used.
Do you want to continue? [Y/n/?]

Processing triggers for ureadahead ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up libqt4-network (4.5.3really4.5.2-0ubuntu1) ...

Setting up libqt4-opengl (4.5.3really4.5.2-0ubuntu1) ...

Setting up virtualbox-3.1 (3.1.4-57640_Ubuntu_karmic) ...
Adding group `vboxusers' (GID 122) ...
Done.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
* Starting VirtualBox kernel module * done.

Setting up dkms (2.1.0.1-0ubuntu1) ...
* Running DKMS auto installation service for kernel 2.6.31-19-generic * vboxdrv (3.1.4)... [ OK ]
* vboxnetadp (3.1.4)... [ OK ]
* vboxnetflt (3.1.4)... [ OK ]

Setting up fakeroot (1.12.4ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.

Setting up libsdl-ttf2.0-0 (2.0.9-1build1) ...

Setting up patch (2.5.9-5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Labels: , , , , ,

0 Comments:

Post a Comment

<< Home