How to update Virtualbox?
I'm using Ubuntu 20.04 LTS and I'm trying to update virtualbox. The system is updated. The site of virtualbox says just to download the latest version and just run it normally, but when I do that, it only opens the ubuntu software and nothing more. So, how do I update virtualbox?
Solution 1:
To install latest VirtualBox 6.1.28 from the virtualbox.org site open terminal and execute the following commands:
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 -
sudo add-apt-repository "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian focal contrib"
sudo apt-get install virtualbox-6.1