

Now, check what version of VirtualBox is available in the repository: $ apt search "virtualbox-"įinally, go ahead and install the latest VirtualBox, which is version 6.0 in this example. Next, add the GPG key of this repository:įor Debian 8 and Ubuntu 16.04 or later: $ wget -q -O- | sudo apt-key add -įor older Debian/Ubuntu: $ wget -q -O- | sudo apt-key add. $ sudo sh -c "echo 'deb '$(lsb_release -cs)' contrib non-free' > /etc/apt//virtualbox.list" This command will automatically determine the release version of your Ubuntu or Debian, and update /etc/apt/sources.list file accordingly.

Install VirtualBox on Ubuntu or Debianįirst, use the following command to add the official repository of VirtualBox to your Linux system. disk image conversion and support (e.g., VMware's VMDK, Microsoft's VHD, Apple's DMG), guest machine cloning, etc. A nice thing about VirtualBox is that it has several quite useful features, not available on other similar software such as VMware Player, which include: virtual machine snapshots. VirtualBox is a cross-platform virtualization software package for x86 architecture. How to install or upgrade VirtualBox on Ubuntu or Debian
