VirtualBox is one of the best virtualization software out there.

If you want to install Linux on Windows in a virtual machine using VirtualBox, the first step is to install the VirtualBox application itself.

We have covered a tutorial to install VirtualBox on Ubuntu. Let me highlight the steps for a Windows system.

The steps will be the same for the latest Windows 10 or 11 and older. Two easy ways to get Oracle VirtualBox installed on Windows:

  1. Download the installer for Windows and follow the on-screen instructions
  2. Use the winget tool

1. Using the Windows Installer

To get started, head to VirtualBox’s official download page. Click on “Windows hosts” option to download the .exe installer.

virtualbox download

Once you download the installer (.exe) file, here’s what is next after launching it:

virtualbox installation start

The installation instructions let you choose a location to get it installed to. You should stick with the defaults on the C: drive to ensure everything essential gets installed for VirtualBox to work as expected.

virtualbox installation storage location

The installation process includes setting up virtual network interfaces. So, your network might get reset at the moment. Ensure that you are not connected to anything important at the time of installing it.

virtualbox installation networking interfaces

While the networking feature gets sorted, there are also dependencies to take care of.

The Python core package needs to be installed for Python bindings to work. You do not necessarily need to install it if you would rather not control your virtual machine using Python scripts.

virtualbox installation dependencies

However, if you think you might need them in the future, you should install it along with it.

Now, the final installation process will begin as per your preferences above, and it will present you with the option to launch VirtualBox upon closing the installer.

virtualbox installation complete

Suggested Read 📖

10 Reasons to Run Linux in Virtual MachinesYou can run any operating system as a virtual machine to test things out or for a particular use case. When it comes to Linux, it is usually a better performer as a virtual machine when compared to other operating systems. Even if you hesitate to install Linux on bare

The winget command-line tool uses the Windows Package Manager to search, install, upgrade, remove, and configure applications on Windows 10 and 11.

If you prefer to use the command-line, this is the method for you.

First, you need to launch Command Prompt as an administrator.

command prompt

Next, you need to use the winget command to install VirtualBox.

Here’s the command to type in:

winget install Oracle.VirtualBox


If you are using winget for the first time, it will ask you to agree to the terms. You need to accept them to continue using it while some of your data like region gets sent to the Microsoft Store.

winget installing virtualbox

Enabling virtualization is the next step

As you can notice, both the methods install the latest VirtualBox package for Windows. So, you can get started using VirtualBox to create and manage virtual machines.

But installing VirtualBox is only the first step. You should ensure that your Windows system is virtualization ready by tweaking some settings. Here are more details.

How to Enable Virtualization on WindowsHere are the things you need to make sure that your Windows system is ready to run virtual machines.

💬 Did you face any issues with the process? What method do you prefer? Let me know in the comments below.

Similar Posts