Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install VirtualBox Guest Additions on Ubuntu
# Install VirtualBox guest additions on Ubuntu
# https://www.vagrantup.com/docs/virtualbox/boxes.html
VB_VERSION='5.0.20'
wget "http://download.virtualbox.org/virtualbox/$VB_VERSION/VBoxGuestAdditions_$VB_VERSION.iso"
sudo mkdir /media/VBoxGuestAdditions
sudo mount -o loop,ro "VBoxGuestAdditions_$VB_VERSION.iso" /media/VBoxGuestAdditions
sudo sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run
rm "VBoxGuestAdditions_$VB_VERSION.iso"
sudo umount /media/VBoxGuestAdditions
sudo rmdir /media/VBoxGuestAdditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.