Skip to content

Instantly share code, notes, and snippets.

@dceoy
Last active June 3, 2018 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dceoy/9a884d11ef507b7395a0c927e288276d to your computer and use it in GitHub Desktop.
Save dceoy/9a884d11ef507b7395a0c927e288276d to your computer and use it in GitHub Desktop.
[Linux] Install the latest version of VirtualBox Guest Additions
#!/usr/bin/env bash
#
# # Mount vboxsf
# $ sudo mount -t vboxsf vbox ~/synced
set -uex
v=$(curl http://download.virtualbox.org/virtualbox/LATEST.TXT)
curl http://download.virtualbox.org/virtualbox/${v}/VBoxGuestAdditions_${v}.iso -o /tmp/vbga.iso
sudo mount -t iso9660 /tmp/vbga.iso /mnt/
sudo /mnt/VBoxLinuxAdditions.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment