X
This article was written by Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher.
This article has been viewed 18,752 times.
This wikiHow teaches you how to install and run Ubuntu Linux on your Windows computer's desktop. You'll use a free program called VirtualBox to do so; this will allow you to run Ubuntu without having to replace your current operating system. If you would rather run Linux alongside Windows rather than on your desktop, you can install Ubuntu alongside Windows instead.
Steps
Part 1
Part 1 of 5:Installing VirtualBox
Part 1
-
1Download the VirtualBox installation file. Go to https://www.virtualbox.org/ in your computer's web browser, then do the following:
- Click Downloads on the left side of the page.
- Click the Windows hosts link under the "VirtualBox 5.2.16 platform packages" heading.
-
2Double-click the VirtualBox setup file. Doing so will launch the VirtualBox installation window.Advertisement
-
3Click Next three times. The Next button is at the bottom of the window. After clicking it three times, you should arrive at a warning about networking.
-
4Click Yes. It's at the bottom of the window.
-
5Click Install. This option is at the bottom of the window.
-
6Click Yes when prompted. Doing so confirms your settings and allows VirtualBox to begin installing.
-
7Allow VirtualBox to install. It can take up to ten minutes to finish installing VirtualBox, so just allow the installer to run.
-
8Uncheck the "Launch VirtualBox" box. Once VirtualBox finishes installing, this will appear in the middle of the window.
-
9Click Finish when prompted. This option is at the bottom of the window. Clicking it completes the installation process.Advertisement
Part 2
Part 2 of 5:Downloading the Ubuntu Installation File
Part 2
-
1Open the Ubuntu website. Go to https://www.ubuntu.com/ in your computer's web browser. This is the official site for Ubuntu support and downloads.
-
2Select Downloads. It's a tab in the upper-right side of the window. Placing your mouse cursor on this tab prompts a drop-down menu.
-
3Click Desktop. You'll find this option in the Downloads drop-down menu.
-
4Click Download. This green button is to the right of the current version of Ubuntu. Doing so prompts the Ubuntu disk image (ISO) file to begin downloading onto your computer.
- You may have to click Save or select a download location before the Ubuntu ISO will download.
-
5Wait for the download to complete. The Ubuntu ISO file is close to 2 gigabytes in size, so it may take a while to finish downloading; once it does, you can proceed with creating a new virtual machine for your Ubuntu installation.Advertisement
Part 3
Part 3 of 5:Creating a New Virtual Machine
Part 3
-
1Open VirtualBox. Click or double-click the Oracle VM VirtualBox app icon, which resembles a 3D blue-and-white box.
-
2Click New. It's a blue icon in the upper-left side of the window. This prompts a pop-up window to open.
-
3Enter a name for your virtual machine. Type in whatever you want to name the Ubuntu installation.
-
4Click the "Type" drop-down box. It's below the "Name" text box. Clicking it prompts a drop-down menu.
-
5Click Linux. This option is in the "Type" drop-down box.
-
6Select Ubuntu if it isn't already selected. Upon selecting Linux, you should see "Ubuntu (64-bit)" appear in the "Version" section; if not, click the "Version" drop-down box and then click Ubuntu (64-bit) in the resulting drop-down menu.
- Since Ubuntu is the most common version of Linux, VirtualBox will usually default to Ubuntu when you select Linux as the operating system.
-
7Click Next. It's at the bottom of the window.
-
8Select an amount of RAM to use. Click and drag the slider left or right to decrease or increase the amount of RAM you want to allow Ubuntu to use.
- The Ubuntu support site recommends using at least 2 gigabytes (2048 megabytes) of RAM.[1]
-
9Click Next. It's at the bottom of the window.
-
10Create a virtual hard disk. This is just a folder which will act as Ubuntu's hard drive:
- Check the "Create a virtual hard disk now" box.
- Click Create.
- Click Next.
- Select a size for your virtual hard disk.
- When in doubt, use the recommended size that's set as the default on this page.
- Click Create.
Advertisement
Part 4
Part 4 of 5:Adding the Ubuntu ISO to VirtualBox
Part 4
-
1Select your virtual machine. Click the name of your Ubuntu machine on the left side of the window.
-
2Click Start. It's a green arrow-shaped icon at the top of the window. Doing so opens a pop-up menu.
-
3Click the "Browse" icon. This folder-shaped icon is to the right of the text box in the middle of the menu. Clicking it opens a File Explorer window.
-
4Select your Ubuntu ISO file. Go to the folder into which you downloaded the Ubuntu ISO from earlier, then click once the ISO file to select it.
-
5Click Open. It's in the bottom-right corner of the window. Doing so sets the ISO file as the virtual machine's target.
-
6Click Start. This is at the bottom of the menu. At this point, you're finally ready to begin installing Ubuntu.Advertisement
Part 5
Part 5 of 5:Installing Ubuntu
Part 5
-
1Select a language. Click the language you want to use in the left-hand sidebar.
-
2Click Install Ubuntu. It's a button on the far-right side of the window.
-
3Click Continue twice. This option will be at the bottom of the window.
-
4Click Install Now. It's in the bottom-right corner of the window.
-
5Click Continue when prompted. This confirms that you want to install Ubuntu without creating a separate partition for it (since you're using VirtualBox, this won't harm your computer).
-
6Select a time zone. Click a point near your current city, then click Continue.
-
7Create your user account. Type your name into the "Your name" text box, then enter a password into the "Choose a password" and "Confirm your password" text boxes.
-
8Click Continue. It's at the bottom of the window. Doing so prompts Ubuntu to begin installing to VirtualBox.
-
9Allow Ubuntu to install. Ubuntu may take anywhere from a few minutes to well over half an hour to install.
-
10Click Restart Now when prompted. Doing so will cause Ubuntu to restart inside of the VirtualBox window. Once it finishes restarting, you're free to use Ubuntu as you please.
- If prompted to "remove the installation media and press ENTER", just press ↵ Enter until Ubuntu restarts again.
Advertisement
Community Q&A
-
QuestionIs it compatible for a Lenovo G350 computer?
Community AnswerUbuntu is compatible with almost every computer. It is very likely to be compatible, but you can research the specifics in regards to your device to be sure. -
QuestionI have a total of 250GB SSD space. How much storage will be occupied by the installation?
SomoneCommunity AnswerIn all, you can expect anywhere from 700MB to 7GB, depending on what version of Ubuntu you have.
Warnings
- Unless you have both a large amount of RAM and a decent amount of storage allocated to Ubuntu, you may notice some slow-down when using Ubuntu programs.Thanks!
Advertisement
About This Article
Advertisement



























































