ubuntu:virtual_machine:install_virtualbox
This is an old revision of the document!
Table of Contents
Ubuntu - Virtual Machine - Install VirtualBox
Import the GPG keys of the Oracle VirtualBox repository
sudo 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 -
Add the VirtualBox APT repository
sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
INFO: $(lsb_release -cs) prints the Ubuntu codename.
For example, if you have Ubuntu version 18.04 the command will print bionic.
sudo apt update && sudo apt install virtualbox-6.1
sudo apt install software-properties-common
sudo apt update && sudo apt install virtualbox-6.0
sudo apt update sudo apt upgrade
sudo apt install virtualbox-6.1 sudo apt install virtualbox-ext-pack
ubuntu/virtual_machine/install_virtualbox.1576325676.txt.gz · Last modified: 2020/07/15 09:30 (external edit)