Easy way to install virtualbox on Ubuntu

root:~# sudo dpkg-reconfigure virtualbox-dkms dpkg-query

dpkg-query: package ‘virtualbox-dkms’ is not installed and no information is available
Use dpkg –info (= dpkg-deb –info) to examine archive files,
and dpkg –contents (= dpkg-deb –contents) to list their contents.
/usr/sbin/dpkg-reconfigure: virtualbox-dkms is not installed

root:~# apt-get install virtualbox-dkms

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
linux-headers-3.5.0-17
Use ‘apt-get autoremove’ to remove it.
The following NEW packages will be installed:
virtualbox-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 480 kB of archives.
After this operation, 3,899 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ quantal-updates/universe virtualbox-dkms all 4.1.18-dfsg-1ubuntu1.1 [480 kB]
Fetched 480 kB in 0s (526 kB/s)
Selecting previously unselected package virtualbox-dkms.
(Reading database … 231479 files and directories currently installed.)
Unpacking virtualbox-dkms (from …/virtualbox-dkms_4.1.18-dfsg-1ubuntu1.1_all.deb) …
Setting up virtualbox-dkms (4.1.18-dfsg-1ubuntu1.1) …
Loading new virtualbox-4.1.18 DKMS files…
First Installation: checking all kernels…
Building only for 3.5.0-25-generic
Building initial module for 3.5.0-25-generic
Done.

vboxdrv:
Running module version sanity check.
– Original module
– No original module exists within this kernel
– Installation
– Installing to /lib/modules/3.5.0-25-generic/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
– Original module
– No original module exists within this kernel
– Installation
– Installing to /lib/modules/3.5.0-25-generic/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
– Original module
– No original module exists within this kernel
– Installation
– Installing to /lib/modules/3.5.0-25-generic/updates/dkms/

vboxpci.ko:
Running module version sanity check.
– Original module
– No original module exists within this kernel
– Installation
– Installing to /lib/modules/3.5.0-25-generic/updates/dkms/

depmod……..

DKMS: install completed.
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules [ OK ]

root:~# apt-get install virtualbox

Reading package lists… Done
Building dependency tree
Reading state information… Done
virtualbox is already the newest version.
The following package was automatically installed and is no longer required:
linux-headers-3.5.0-17
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

That’s it…

Loading

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.