Skip to content

Instantly share code, notes, and snippets.

@linuxoracledev
Created January 13, 2020 12:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxoracledev/e5ee8fc6fd48b84ce665d48f7664599c to your computer and use it in GitHub Desktop.
Save linuxoracledev/e5ee8fc6fd48b84ce665d48f7664599c to your computer and use it in GitHub Desktop.
How to Install Oracle VirtualBox 6.0 on Kali Linux / Linux Mint
#Update your system
sudo apt update
sudo apt -y upgrade
sudo reboot
#Import apt repository
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 Repository
#Mint
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
#Kali
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian stretch contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
# Install VirtualBox & Extension pack
sudo apt update
sudo apt install linux-headers-$(uname -r) dkms
sudo apt-get install virtualbox-6.0
#Download Extension Pack
cd ~/
wget https://download.virtualbox.org/virtualbox/6.0.0/Oracle_VM_VirtualBox_Extension_Pack-6.0.0.vbox-extpack
# install the extension pack by clicking on the Downloaded file
#Launching VirtualBox 6.0
virtualbox
@akashmadhu04
Copy link

didn't work

E: Unable to locate package deb
E: Package 'virtualbox' has no installation candidate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment