Changes

Jump to: navigation, search

Installing VirtualBox 2 on a Linux Host

2,675 bytes added, 15:29, 6 March 2009
Installing VirtualBox on Ubuntu
== Installing VirtualBox on Ubuntu ==
 
When the download link for the Ubuntu VirtualBox installation archive is clicked, the browser will provide the option to open the archive in the ''Package Installer''. If this option is selected, the installer will appear as illustrated in the following figure:
 
 
[[Image:virtualbox_ubuntu_package_installer.jpg|Installing VirtualBox with the Ubuntu Package Installer]]
 
 
To begin the installation process, click on the ''Install Package'' button and enter your password when prompted to do so. After a short period of time, the DebConf Configuration process for VirtualBox will begin. The first screen warns that any users of VirtualBox will need to be added to the ''vboxusers'' group. The next screen asks whether the kernel modules should be built and installed on the host system. Accept the default option (compile kernel module) and click the ''Forward'' button to continue the installation. Once the installation has completed successfully, the installer will display an ''Installation Finished''. If any errors occurred during the installation, details can be found in the ''/var/log/vbox-install.log'' file.
 
An alternative to installing VirtualBox using the Package Installer is to perform the installation from the command line. Once the installation archive has been save to disk, the installation may be invoked as follows:
 
<pre>
sudo dpkg -i virtualbox-2.1_2.1.4-42893_Ubuntu_intrepid_i386.deb
</pre>
 
Before launching VirtualBox, any user which require access must be added to the ''vboxusers'' group. This can be performed by using the graphical ''Users and Groups'' tool (accessed via the ''System->Administration->Users and Groups menu option). Once invoked, click ''Unlock'', enter your password and then click on the ''Manage Groups'' button. In the ''Manage Groups'' screen, select ''vboxusers'' from the list of groups, click on ''Properties'' and in the resulting dialog select the users which are to be added to the group.
 
Alternatively, users may be added to a group from the command line by issuing the following command:
 
<pre>
sudo usermod -a -G vboxusers <username>
</pre>
 
where ''<username>'' represents the name of the user to be added to the ''vboxusers'' group.
 
== Uninstalling VirtualBox from an Ubuntu Host ==
 
An instance of VirtualBox installed from a .deb package file may be uninstalled at any time by issuing the following command in a terminal window (Applications->Accessories->Terminal):
 
<pre>
$ sudo dpkg -r virtualbox-2.1
 
(Reading database ... 210619 files and directories currently installed.)
Removing virtualbox-2.1 ...
* Stopping VirtualBox kernel module * done.
</pre>
1,798
edits

Navigation menu