wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'
apt update
apt install virtualbox-5.2
downloadoracle
wget -O ~/Downloads/Oracle_VM_VirtualBox_Extension_Pack-5.2.12.vbox-extpack https://download.virtualbox.org/virtualbox/5.2.12/Oracle_VM_VirtualBox_Extension_Pack-5.2.12.vbox-extpack
在下載下來的文件上單擊鼠標右鍵,用virtualbox打開便可啓動擴展包的安裝程序。code