Install VirtualBox 5.1 on Debian 8

This post is based on the latest Linux image for Debian (from Jessie-backports).

Upgrade to latest kernel image

Create the file /etc/apt/sources.list.d/backports.list with the content

deb jessie-backports main contrib non-free

Then run

apt update
apt install -y -t jessie-backports linux-image-amd64 linux-headers-amd64

If you have a laptop

apt install -y -t jessie-backports firmware-iwlwifi

Reboot your computer.

Install VirtualBox

Create the file /etc/apt/sources.list.d/oracle.list with the content

deb jessie contrib

And run

apt install -y gcc make virtualbox-5.1
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.