Last active
December 23, 2015 04:09
-
-
Save acook/6578313 to your computer and use it in GitHub Desktop.
Install VirtualBox Additions on Debian / Ubuntu / Crunchbang / ElementaryOS / etc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If DKMS isn't installed then VBox will erroneously complain about missing headers. | |
sudo apt-get install build-essential dkms libglib2.0-0 linux-headers-$(uname -r) | |
# Only needed if the system doesn't automount the image: | |
#sudo mount /dev/cdrom /media/cdrom | |
# Some systems automount on `/media`, others on `/media/cdrom*` which is symlinked to `/media/cdrom`. | |
# Don't `cd` into these directories until you're sure the image is mounted. | |
cd /media ; cd cdrom | |
# Need root privs in order to place and activate kernel modules. | |
sudo sh VBoxLinuxAdditions.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment