2 Installation
sudo ./VirtualBox.run uninstall
or as root
./VirtualBox.run uninstall
. Starting with version 2.2.2, you can uninstall the .run package by invoking
/opt/VirtualBox/uninstall.sh
Tomanually uninstall VirtualBox, simply undo the steps in the manual installation in
reverse order.
2.3.4.5 Automatic installation of Debian packages
TheDebian packages will request some user feedback when installed forthe first time.
Thedebconf system is used to perform this task. Toprevent any user interaction during
installation, default values can be defined. A file vboxconf can contain the following
debconf settings:
virtualbox virtualbox/module-compilation-allowed boolean true
virtualbox virtualbox/delete-old-modules boolean true
Thefirst line allows compilation of the vboxdrv kernel module if no module was found
for the current kernel. The second line allows the package to delete any old vboxdrv
kernel modules compiled by previous installations.
These default settings can be applied with
debconf-set-selections vboxconf
prior to the installation of the VirtualBoxDebian package.
2.3.4.6 Automatic installation of .rpm packages
The .rpm format does not provide a configuration system comparable to the deb-
conf system. To configure the installation process of our .rpm packages, a file
/etc/default/virtualbox is interpreted. The automatic generation of the udev
rule can be prevented by the following setting:
INSTALL_NO_UDEV=1
The creation of the group vboxusers can be prevented by
INSTALL_NO_GROUP=1
If the line
INSTALL_NO_VBOXDRV=1
is specified, the package installer will not try to build the vboxdrv kernel module if
no module according to the current kernel was found.
27