
Click it to view the contents of the inserted image. If you're using Ubuntu, you'll notice a disk icon appear in the dock. Next, click Devices from the VirtualBox menu and select Insert Guest Additions CD image. Then, run the following command to install some necessary packages: sudo apt install build-essential dkms linux-headers-$(uname -r) Update and upgrade the existing packages on your system by typing: sudo apt update & sudo apt upgrade Let it boot and wait for the desktop to load. Launch VirtualBox and start the Ubuntu or Debian virtual machine. Note that this method will also work for other Debian-based distributions, including Kali Linux and Linux Mint. Make sure to install the operating system as you won't be able to install Guest Additions on a live operating system. Before you can install Guest Additions, you need to create at least one virtual machine using VirtualBox. Installing Guest Additions is one of the many ways to supercharge your virtual machines. For the moment, if you have any tips, suggestions or questions, feel free to leave a comment below.Install VirtualBox Guest Additions on Linux I’ll also write about using it effectively in another article. I’d also advise installing VirtualBox Guest Additions on Ubuntu or whatever guest system you’re using in your VM to get a better and smoother experience. I hope you were able to use one of these methods to install VirtualBox.

That’s not an entirely bad thing, because you may want to keep them safe and use them later or in some other system. Note that this will not remove the virtual machines and the files associated with the operating systems you installed using VirtualBox. You just have to find it in the list of installed applications and click the Remove button.Īnother ways is to use the command line.

If you installed it from the Software Center, the easiest way to remove the application is from the Software Center itself. Now that you’ve learned to install VirtualBox, I should also mention the steps for removing it.

sudo apt update & sudo apt install virtualbox-6.0 Now that you have the correct repository added, refresh the list of packages available through these repositories and install VirtualBox. Note: If you see an add-apt-repository command not found error, you’ll have to install the software-properties-common package. If you’ve read my article on checking your Ubuntu version, you probably know that ‘lsb_release -cs’ will print the codename of your Ubuntu system. Now add the Oracle VirtualBox repository to the list of repositories using this command: sudo add-apt-repository "deb $(lsb_release -cs) contrib" Sudo add-apt-repository “deb bionic contrib“ For example, Linux Mint 19 series users should use bionic and Mint 18 series users should use xenial. If you’re using Linux Mint or some other distribution based on Ubuntu, replace $(lsb_release -cs) in the command with the Ubuntu version your current version is based on.
