How to Install VirtualBox (with Pictures)

Table of contents:

How to Install VirtualBox (with Pictures)
How to Install VirtualBox (with Pictures)

Video: How to Install VirtualBox (with Pictures)

Video: How to Install VirtualBox (with Pictures)
Video: 3 HABITS that will INSTANTLY make you a better player 2024, September
Anonim

This wikiHow teaches you how to install and use VirtualBox on a Windows, Linux, or Mac computer. VirtualBox is a program that imitates (mimics) a second computer so that you can install and use an operating system (such as Windows 8) in VirtualBox without having to change the operating system on the actual computer.

Step

Part 1 of 4: On Windows Computer

Install VirtualBox Step 1
Install VirtualBox Step 1

Step 1. Visit the VirtualBox site

Run a web browser on your computer and visit https://www.virtualbox.org/. You can download the VirtualBox setup file at this site.

Install VirtualBox Step 2
Install VirtualBox Step 2

Step 2. Click Download VirtualBox

It's a blue button in the middle of the page. The download page will open.

Install VirtualBox Step 3
Install VirtualBox Step 3

Step 3. Click Windows hosts

This link is under the "VirtualBox 5.2.8 platform packages" heading. The computer will start downloading the VirtualBox EXE file.

Install VirtualBox Step 4
Install VirtualBox Step 4

Step 4. Run the VirtualBox EXE file

Open the folder where you saved the EXE file you downloaded and double-click the file. The VirtualBox installation window will open.

Install VirtualBox Step 5
Install VirtualBox Step 5

Step 5. Follow the installation guide

Do the following things:

  • Click Next on the first three pages.
  • Click Yes when requested.
  • Click Install.
  • Click Yes when requested.
Install VirtualBox Step 6
Install VirtualBox Step 6

Step 6. Click Install when prompted

VirtualBox will begin to install on the computer.

Install VirtualBox Step 7
Install VirtualBox Step 7

Step 7. Click Finish when prompted

It's in the lower right of the window. The installation window will close and VirtualBox will run. After installing and running VirtualBox, you can now create a virtual machine to run the desired operating system on your PC.

Don't uncheck the "Start" box before you do this

Part 2 of 4: On a Mac

Install VirtualBox Step 8
Install VirtualBox Step 8

Step 1. Visit the VirtualBox site

Run a web browser on your computer and visit https://www.virtualbox.org/. You can download the VirtualBox DMG file at this site.

Install VirtualBox Step 9
Install VirtualBox Step 9

Step 2. Click Download VirtualBox

It's a blue button in the middle of the page. The download page will open.

Install VirtualBox Step 10
Install VirtualBox Step 10

Step 3. Click the OS X hosts link

This option is in the middle of the download page. The VirtualBox DMG file will download to your Mac.

Install VirtualBox Step 11
Install VirtualBox Step 11

Step 4. Run the "VirtualBox" DMG file

Once the VirtualBox DMG has been downloaded, double-click the file to open it.

Install VirtualBox Step 12
Install VirtualBox Step 12

Step 5. Double click the "VirtualBox.pkg" icon

It's a brown square icon in the top-left corner. The VirtualBox installation window will open.

Install VirtualBox Step 13
Install VirtualBox Step 13

Step 6. Follow the given installation instructions

Click Continue when prompted, then do the following:

  • Click Continue which is located in the lower right corner.
  • Click Install in the lower right corner.
  • Type in the Mac user's password when prompted.
  • Click Install Software.
Install VirtualBox Step 14
Install VirtualBox Step 14

Step 7. Wait for the installation to complete

If you are prompted to click Close in the lower right corner, means that you have successfully installed VirtualBox on your Mac.

Install VirtualBox Step 15
Install VirtualBox Step 15

Step 8. Run VirtualBox

Click Spotlight

Macspotlight
Macspotlight

type virtualbox, then double click VirtualBox in the drop-down menu that appears. After installing and running VirtualBox, you can now create a virtual machine to run the desired operating system on your Mac.

Part 3 of 4: On a Linux Computer

Install VirtualBox Step 16
Install VirtualBox Step 16

Step 1. Launch Terminal

The steps will vary depending on the version of Linux you're using, but you can usually launch Terminal by selecting Terminal

Macterminal
Macterminal

from Menus. This will bring up a Terminal window.

You can also launch Terminal by pressing Alt+Ctrl+T

Install VirtualBox Step 17
Install VirtualBox Step 17

Step 2. Enter the installation command

Type sudo apt-get install virtualbox, then press Enter.

Install VirtualBox Step 18
Install VirtualBox Step 18

Step 3. Type in the password when prompted

Type in the password you use to log into your computer, then press Enter.

Install VirtualBox Step 19
Install VirtualBox Step 19

Step 4. Confirm the installation

Type y when prompted, then press Enter.

Install VirtualBox Step 20
Install VirtualBox Step 20

Step 5. Wait for VirtualBox to finish installing

This can take a few minutes. If the computer account username appears on the left side of the command line, it means that Terminal has successfully installed VirtualBox and is waiting for further commands.

Install VirtualBox Step 21
Install VirtualBox Step 21

Step 6. Run VirtualBox

Do this by typing virtualbox, and pressing Enter. The main VirtualBox window will open. After installing and running VirtualBox, you can now create a virtual machine to run the desired operating system on your computer.

Part 4 of 4: Creating a Virtual Machine

Install VirtualBox Step 22
Install VirtualBox Step 22

Step 1. Prepare the installation disc or files

If you want to create a virtual machine, you'll need to install the operating system as you normally would on a normal computer. This means that you will need an installation disc containing the operating system you want to install on the virtual machine.

You can also install an operating system using an ISO file

Install VirtualBox Step 23
Install VirtualBox Step 23

Step 2. Click New

This will open a wizard that will guide you on creating your first virtual machine.

Install VirtualBox Step 24
Install VirtualBox Step 24

Step 3. Determine the desired operating system

In the first wizard screen, you'll need to name the new virtual machine, and select the operating system you want to install. Specify the type of operating system in the "Type" menu, then select the version you want to install in the "Version" menu.

  • For example, if you want to install Windows 7, select "Microsoft Windows" in the Type menu, then select "Windows 7" in the Version menu.
  • If you have a 64-bit version of the operating system installed, select the 64-bit version from the Version menu.
Install VirtualBox Step 25
Install VirtualBox Step 25

Step 4. Click Next at the bottom of the window

Install VirtualBox Step 26
Install VirtualBox Step 26

Step 5. Set the amount of RAM

Specify the amount of computer RAM you want to allocate to the virtual machine. VirtualBox will automatically select the minimum recommended amount for the selected operating system, but you can reduce or increase the amount if you wish.

  • The specified amount of RAM must not exceed the capacity of the RAM installed in the computer.
  • Do not set the RAM to the maximum amount because there is no memory left for use by the regular operating system when the virtual machine is started.
Install VirtualBox Step 27
Install VirtualBox Step 27

Step 6. Click Next

Install VirtualBox Step 28
Install VirtualBox Step 28

Step 7. Create a virtual hard drive

Select virtual hard disk option, click Create, then click whatever is prompted and click Create return. The virtual machine requires a virtual hard disk to install the operating system and applications.

  • Make sure the virtual hard disk has sufficient space to install the operating system. Look at the specifications for the operating system you want to install to determine the minimum amount of space required on the hard disk.
  • Don't forget, all the programs that you want to install also take up space on the virtual hard disk. So, consider this too.
  • VDI (VirtualBox Disk Image) is a format commonly used on virtual hard drives.
Install VirtualBox Step 29
Install VirtualBox Step 29

Step 8. Start installing the operating system

If a virtual machine has been assigned, the wizard will close and the main VirtualBox window will be displayed again. Double-click the new machine in the left menu, and do one of the steps below:

  • If you are installing using a disc, insert the disc into your computer, click the " Host drive " drop-down box, and then click the appropriate drive letter in the drop-down menu.
  • If you're installing using an image file, browse your computer by clicking on the folder-shaped icon to locate the installation image file.
Install VirtualBox Step 30
Install VirtualBox Step 30

Step 9. Click Start at the bottom of the window

VirtualBox will start reading the installation disc or image file.

Install VirtualBox Step 31
Install VirtualBox Step 31

Step 10. Install the desired operating system

Once the installation media is selected, the operating system will begin to install. The installation will be done just like when you install the operating system on a normal computer. For instructions on how to install the selected operating system, refer to the guide below:

  • Windows 8
  • Windows 7
  • Windows Vista
  • Windows XP
  • Mac OS X
  • Linux Mint
  • Ubuntu Linux
Install VirtualBox Step 32
Install VirtualBox Step 32

Step 11. Boot (boot) the virtual machine

If the operating system is installed, the virtual machine is ready to use. You can run it by double-clicking the virtual machine name in the left menu on the VirtualBox main page. The virtual computer will boot and load the operating system you installed.

The virtual machine will run in a window. If you are in that virtual machine window, each keypress or mouse click affects the virtual machine, not the physical computer

Install VirtualBox Step 33
Install VirtualBox Step 33

Step 12. Shut down the virtual machine

You can use several ways to close a virtual machine, and each will produce a different effect. Several options will appear when you click the "X" in the top right corner:

  • Save the machine state - This option will save the virtual machine exactly as it was when you closed it. Any application that is run will be saved in its current state. Everything will be restored to the way it was when you restart the computer.
  • Send the shutdown signal - This option will send a signal to the virtual machine to shut down the computer. The virtual machine will shut down as if you were pressing the power button on a physical computer.
  • Power off the machine - The virtual machine will be turned off as if the electricity flowing to the computer was turned off. Nothing is saved.
Install VirtualBox Step 34
Install VirtualBox Step 34

Step 13. Take a snapshot of the virtual machine

VirtualBox allows you to copy the exact state of a virtual machine so that you can return to it at any time. This is especially useful if you want to test software or other configurations.

  • You can take a snapshot by clicking the menu Machine, then select Take a snapshot. The snapshot will be added to the list of virtual machines on the left of the VirtualBox menu.
  • If you want to restore a snapshot, right-click the desired snapshot and select Restore. Any changes made to the virtual hard drive since the snapshot was created will be lost when the snapshot is restored.

Tips

VirtualBox can be used to test programs that cannot run on the computer's default operating system. For example, if you are using a Mac and want to test a program built for Windows computers, you can use VirtualBox to do this

Recommended: