HowtoForge

Install Virtualbox 4.3.8 On a Debian 6 (Squeeze) Desktop

Install Virtualbox 4.3.8 On a Debian 6 (Squeeze) Desktop

In this tutorial I will show you to install the latest Virtualbox version in Debian 6 (Squeeze).

Open the terminal & login in the root terminal

root@debian:/home/myuser#

when you are not logged in as root, run:

su -

to become the root user.

Then I will install wget to download the Virtualbox debian package on the shell.

apt-get -y install wget

and go to the /tmp folder

cd /tmp

The current Virtualbox version is 4.3.8. At the time you follow this guide, there might be a newer version available. In that case, use the latest version that is available as debian package on virtualbox.org. Follow this link to find the right download https://www.virtualbox.org/wiki/Linux_Downloads

Select the correct architecture of the virtualbox debian package, for 64Bit Linux, choose amd64, for 32Bit Linux, choose i386. In my case I have AMD64 for squeeze. Now download the package:

wget http://download.virtualbox.org/virtualbox/4.3.8/virtualbox-4.3_4.3.8-92456~Debian~squeeze_amd64.deb

Further Virtualbox requires the Linux kernel headers to be installed so that it can compile kernel drivers, if nescessary:

apt-get -y install linux-headers-`uname -r`

Next install Virtualbox 4.3.8:

dpkg -i virtualbox-4.3_4.3.8-92456~Debian~squeeze_amd64.deb

and the extension package which contains drivers and extensions that speedup the virtual machines and integrates them better into the Linux desktop enviroment. Again I will use the wget for the download.

wget http://download.virtualbox.org/virtualbox/4.3.8/Oracle_VM_VirtualBox_Extension_Pack-4.3.8-92456.vbox-extpack

Then install the extension pack with the VBoxManage command

VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.8-92456.vbox-extpack

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

As last step, add the present user to the vboxusers group. replace "myuser" with the username that you use to login to your desktop.

adduser myuser vboxusers

root@debian:/home/myuser# adduser myuser vboxusers
Adding user `myuser' to group `vboxusers' ...
Adding user myuser to group vboxusers
Done.

Now the virtualbox installation is finished.

Install Virtualbox 4.3.8 On a Debian 6 (Squeeze) Desktop