Install VM virtual BOX in your Debian / Ubuntu Machine


Today I’ll post how to configure / use the Oracle VM virtual box  on Ubuntu / debian distro , first we gonna need to do some actions to prepare our system , we gonna use the  oracle virtual box packaged version and add to the repo the sources , install the key , etc…

1. Download & Install Headers of your kernel 

sudo apt-get install linux-headers-$(uname -r)

2. This command adds virtual box repository and install vmvirtualbox

sudo sh -c “echo ‘deb ‘$(lsb_release -cs)’ contrib non-free’ > /etc/apt/sources.list.d/virtualbox.list” && wget -q -O- | sudo apt-key add – && sudo apt-get update && sudo apt-get install virtualbox-4.3 dkms

3.You’re done , if the process fails please read the info at the end of post



if this process doesn’t work please run before installing linux headers the following command , usually the error is

Kernel driver not installed (rc=-1908), please execute

sudo /etc/init.d/vboxdrv setup

This command rebuilds the virtual box kernel driver

See you all!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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