

⇒ Download Rocky Linux 8 ISO to install on VirtualBox ⇒ Installing Virtualbox App on Debian 11 Bullseye ⇒ How to install Ubuntu 22.04 Server on VirtualBox sudo rm /etc/apt//virtualbox.list /usr/share/keyrings/virtualbox.gpg However, if you plan to install this virtualization platform again in the future then don’t do it. To remove the GPG and Repo as well use the given command. sudo apt autoremove -purge virtualbox-7.0 Well, if you think you don’t want it then we have a command to completely remove the VirtualBox from Ubuntu Linux. How to uninstall VirtualBox from Ubuntu 22.04 or 20.04 Then to update to its latest available version, we just need to run the system update and upgrade command, given here.

If you are using any Debian-based system and have added its repository manually as we did here in this tutorial. For that go to the application launcher and there you can search for VirtualBox.įrom Application launcher 6. Once the installation is completed, then to start it, we can either use the command terminal or the application launcher. Let’s run the installation command using the APT. Installing VirtualBox 7.0 on Ubuntu 22.04 or 20.04įinally, we have the repository to install the latest available version of VirtualBox on our Linux system. Run the system update command again to refresh the APT package index cache.

curl -fSsL | gpg -dearmor | sudo tee /usr/share/keyrings/virtualbox.gpg > /dev/null It will be the same for both Ubuntu 22.04 and Ubuntu 20.04. Therefore, for that, run the below command. Import the GPG KeyĪfter adding the repository, the system needs the GPG key that has been used to sign the packages available to download through it. Therefore, we add manually the repository of Virtualbox provided by their team.įor Ubuntu 22.04 LTS echo deb jammy contrib | sudo tee /etc/apt//virtualbox.listįor Ubuntu 20.04 LTS echo deb focal contrib | sudo tee /etc/apt//virtualbox.listb 3. We already have the VirtualBox to install using the system repository of both Ubuntu 22.04 and 20.04, however, the version is old. sudo apt update & sudo apt upgrade -y & sudo apt install dirmngr ca-certificates software-properties-common apt-transport-https curl 2.

Apart from that, we will also install a few other tools. Let’s start with the update command to get the latest available versions of system packages. How to uninstall VirtualBox from Ubuntu 22.04 or 20.04 Steps to install VirtualBox 7.0 on Ubuntu 22.04 or 20.04 1.
