Difference between revisions of "Vagrant and VirtualBox install on Ubuntu 18"
From MyWiki
Line 10: | Line 10: | ||
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list' | sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list' | ||
</source> | </source> | ||
− | 3. Install some required packages | + | 3. Install some required packages and then install VirtualBox |
<source lang="text"> | <source lang="text"> | ||
sudo apt update | sudo apt update | ||
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms | sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms | ||
+ | sudo apt-get install virtualbox-5.2 | ||
</source> | </source> |
Revision as of 13:48, 28 July 2018
https://websiteforstudents.com/install-the-latest-virtualbox-on-ubuntu-18-04-lts/
https://stegard.net/2016/10/virtualbox-secure-boot-ubuntu-fail/
1. Add the VirtualBox repository key:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
2. Add the VirtualBox repository
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
3. Install some required packages and then install VirtualBox
sudo apt update sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms sudo apt-get install virtualbox-5.2