Easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia

In this post we will learn easy and quick installation of VirtualBox 4.2.10 in Linux Mint Olivia.
There are two ways to install any packages
(1) Command line
(2) Graphical (Using Software Manager)

We mostly prefer to work in command line because it is faster as well as if there is any error it is quick to troubleshoot as well.
VirtualBox is one the most awesome,popular,free and Open Source Virtualisation Software.In this practical we will use command line mode to install the VirtualBox.

Step 1: Open the terminal

linux mint

Step 2: Now login as superuser. Type the below given command to become superuser


sudo su -

Step 3: Install Virtualbox by using below given command

apt-get install virtualbox

Below given example is the reference from my laptop:

sharad@sharad-Lenovo-G570 ~ $ sudo su -
[sudo] password for sharad: 
sharad-Lenovo-G570 ~ # 
sharad-Lenovo-G570 ~ # 
sharad-Lenovo-G570 ~ # ls
sharad-Lenovo-G570 ~ # apt-get install virtualbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgsoap2 virtualbox-dkms virtualbox-qt
Suggested packages:
  virtualbox-guest-additions-iso vde2
The following NEW packages will be installed:
  libgsoap2 virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 4 newly installed, 0 to remove and 283 not upgraded.
Need to get 19.7 MB of archives.
After this operation, 76.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ raring/universe libgsoap2 amd64 2.8.7-2 [512 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse virtualbox amd64 4.2.10-dfsg-0ubuntu2.1 [14.1 MB]                                                   
Get:3 http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse virtualbox-dkms all 4.2.10-dfsg-0ubuntu2.1 [514 kB]                                                  
Err http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse virtualbox-dkms all 4.2.10-dfsg-0ubuntu2.1                                                             
  Connection failed [IP: 91.189.92.200 80]
Get:4 http://security.ubuntu.com/ubuntu/ raring-security/multiverse virtualbox-dkms all 4.2.10-dfsg-0ubuntu2.1 [514 kB]                                                
Get:5 http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse virtualbox-qt amd64 4.2.10-dfsg-0ubuntu2.1 [4,555 kB]                                                
Fetched 19.4 MB in 6min 30s (49.7 kB/s)                                                                                                                                
Selecting previously unselected package libgsoap2.
(Reading database ... 160301 files and directories currently installed.)
Unpacking libgsoap2 (from .../libgsoap2_2.8.7-2_amd64.deb) ...
Selecting previously unselected package virtualbox.
Unpacking virtualbox (from .../virtualbox_4.2.10-dfsg-0ubuntu2.1_amd64.deb) ...
Selecting previously unselected package virtualbox-dkms.
Unpacking virtualbox-dkms (from .../virtualbox-dkms_4.2.10-dfsg-0ubuntu2.1_all.deb) ...
Selecting previously unselected package virtualbox-qt.
Unpacking virtualbox-qt (from .../virtualbox-qt_4.2.10-dfsg-0ubuntu2.1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Processing triggers for hicolor-icon-theme ...
Setting up libgsoap2 (2.8.7-2) ...
Setting up virtualbox (4.2.10-dfsg-0ubuntu2.1) ...
 * Stopping VirtualBox kernel modules                                                                                                                            [ OK ] 
 * Starting VirtualBox kernel modules                                                                                                                                    * No suitable module for running kernel found
                                                                                                                                                                 [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Processing triggers for ureadahead ...
Setting up virtualbox-dkms (4.2.10-dfsg-0ubuntu2.1) ...
Loading new virtualbox-4.2.10 DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-19-generic
Building initial module for 3.8.0-19-generic
Done.

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

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

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

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

depmod........

DKMS: install completed.
 * Stopping VirtualBox kernel modules                                                                                                                            [ OK ] 
 * Starting VirtualBox kernel modules                                                                                                                            [ OK ] 
Setting up virtualbox-qt (4.2.10-dfsg-0ubuntu2.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
sharad-Lenovo-G570 ~ # 
sharad-Lenovo-G570 ~ # dpkg -l|grep virtualbox
ii  virtualbox                                  4.2.10-dfsg-0ubuntu2.1                 amd64        x86 virtualization solution - base binaries
ii  virtualbox-dkms                             4.2.10-dfsg-0ubuntu2.1                 all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-guest-dkms                       4.2.10-dfsg-0ubuntu2                   all          x86 virtualization solution - guest addition module source for dkms
ii  virtualbox-guest-utils                      4.2.10-dfsg-0ubuntu2                   amd64        x86 virtualization solution - non-X11 guest utilities
ii  virtualbox-guest-x11                        4.2.10-dfsg-0ubuntu2                   amd64        x86 virtualization solution - X11 guest utilities
ii  virtualbox-qt                               4.2.10-dfsg-0ubuntu2.1                 amd64        x86 virtualization solution - Qt based user interface
sharad-Lenovo-G570 ~ # 

Step 4: After successful installation ,open the VirtualBox from Menu

virtualbox

virtualbox

Leave a Comment

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