Linux Administration (15 Blogs) Become a Certified Professional

How to Install Ubuntu: The Complete Guide

Last updated on Dec 17,2021 2.1K Views

Upasana
Research Analyst, Tech Enthusiast, Currently working on Azure IoT & Data Science... Research Analyst, Tech Enthusiast, Currently working on Azure IoT & Data Science with previous experience in Data Analytics & Business Intelligence.
4 / 7 Blog from Introduction to Linux

The Ubuntu desktop is a Linux Distribution includes everything you need to run an organization, enterprise, institution or home. It is easy to use, easy to install and is one of the first distributions you start out with when you learn Linux. It’s also open source, accessible, secure and best of all- free to download!

So, the following are the steps you need to follow to Install Ubuntu on your system or on your virtual machine.

Step 0: Prerequisites

So, you shall have to consider a few things before starting the installation:

  • Make sure your laptop is connected to a power source.

  • You have to have at least 25 GB of free storage space on your disk(5 GB in case of minimal installation).

  • You have to have access to either a DVD or a USB (8GB+) flash drive containing the version of Ubuntu you require.

Note: Make sure you have a recent backup of your data. While it’s highly unlikely for anything to go wrong, precaution is always better than cure.

Step 1: Downloading Ubuntu into your Flash Drive

You can burn the Ubuntu .iso image into the old USB stick. You can follow these steps to do the same.

  1. Download Ubuntu image from the Ubuntu release page. 
  2. Download UNetbootin. For Ubuntu, install it from the Software Center.
  3. Plug in the USB stick.
  4. You should now start UNetbootin, and burn the .iso image into your USB/ Flash drive.

Step 2: Boot from DVD/Flash Drive

Now you’re simply a few steps away to run your Commands on Linux. It’s actually quite easy to install Ubuntu using a DVD /USB. Basically, all you need to do is the following;

  • Put the Ubuntu DVD into your optical drive. If you’re using a Flash Drive, you can go ahead and plug it into the USB port.

  • Then, restart your computer. As soon as your computer boots you’ll be able to see a welcome window in the likes of what you see below.

Boot - How to Install Ubuntu - Edureka

Now, go ahead and select your preferred option from a barrage of languages enlisted on your left, followed by which, you can choose between either installing Ubuntu directly or trying the desktop first.

  • Now, you’ll be presented with either a large language pane which you can navigate through using your cursor keys/mouse/touch-pad or a simple installation menu. But this totally depends upon on your computer’s configuration.

Boot options - How to Install Ubuntu - Edureka

  • You’ll probably find an option called Install Ubuntu. Click on that option and press return to launch the desktop installer automatically.

  • Alternatively, you could also select the first option, Try Ubuntu without installing to give Ubuntu a test run.

A few seconds later, after the desktop has loaded, you’ll see a new window. This is the welcome window. At this point, you can select your language from a list on the left and choose between either installing Ubuntu directly or trying the desktop first.

Step 3: Preparations for Installing Ubuntu

  • Post the language selection, you shall be asked to select your keyboard layout. If the installer doesn’t guess the default layout correctly, you can use the Detect Keyboard Layout button to run through a brief configuration procedure and then select Continue.

  • Next, you shall be asked What apps would you like to install to start with? Two options will be available to you; Normal installation and Minimal installation.

    • The first option is the equivalent to the old default bundle of utilities, applications, games and media players. It’s a great launchpad for any Linux installation.

    • The second option takes considerably less storage space and allows you to only install what you require.

  • Beneath the installation-type question will be two check-boxes; I’d reckon you enable both Download and Install Third-Party Software.

Prepare to Install - How to Install Ubuntu - Edureka

Suppose, you aren’t connected to the internet, you will be asked to select a wireless network, if available. It’s always preferable to stay connected to the internet during the installation so your machine is updated.

Step 4: Allocate Drive Space

  • There will be a couple of checkboxes to choose from as you can see in the image below. So you can make a choice, if you’d like to install Ubuntu alongside another operating system, delete your existing operating system and replace it with Ubuntu, or Something else.

Drive Space Allocation - How to Install Ubuntu - Edureka

  • Click on Install Now

Step 5: Begin Installation

  • A small pane, in the likes of the image given, will appear before you which will have an overview of the storage options you’ve chosen, with the chance to go back if the details are incorrect.

  • Click Continue to fix those changes and start the installation process.

Begin to Install - How to Install Ubuntu - Edureka

Step 6: Select Location

  • Your location shall be detected automatically if you’re connected to the internet. Check if your location is accurate. If so, click on Forward to proceed.

Location - How to Install Ubuntu - Edureka

Step 7: Login

  • The installer shall suggest a computer name, automatically and also the username, once you enter your name. These are pretty simple to change according to your preference. The computer name is how your computer will appear on the network, while your username will be your login and account name.

  • Next, go ahead set a strong password. It could include uppercase alphabets, lowercase alphabets, numeric and special characters.

Login Details - How to Install Ubuntu - Edureka

  • You could also choose to enable automatic login and home folder encryption.  This prevents people from accessing your personal files just in case the machine is lost or stolen.

But if you enable home folder encryption and you happen to forget your password, you won’t be able to retrieve any personal data stored in your home folder, that’s a con. I am not trying to scare you, I promise!

Step 8: Background Installation 

  • The installer begins by telling you a little bit about how awesome is Ubuntu, while it completes in the background. This should only take a few moments.

Welcome to Ubuntu - How to Install Ubuntu - Edureka

Step 9: Installation Complete!

  • Now your Distribution has been installed and configured. A small window will appear before you, asking you to restart your machine. Click on Restart Now and when the prompt is displayed, remove either the DVD or flash drive you’ve plugged in.

Restart Now - How to Install Ubuntu - Edureka

Kudos! You have now successfully installed the World’s most popular Linux OS!

Alternate Method: Download Ubuntu on your Virtual Machine

There are several ways to install Ubuntu. If you want to use Ubuntu without making any changes in your Windows system, you can go the virtual machine way. Basically, you install and use this distribution like any regular Windows application. When you just want to try a Linux distro (Ubuntu in this case) for limited use, virtual machines provide a more comfortable option.

1. Download and install Virtual Box

  • Go to the official website of Oracle Virtual Box and get the latest stable version.

Virtual Box Website - How to Install Ubuntu - Edureka

  • Installing Virtual Box is no rocket science. Just double-click on the downloaded .exe file to run it and follow the instructions on the screen. It is like installing regular software on Windows.

2. Download Linux ISO

  • Next, you need to download the ISO file of the Linux distribution,i.e, Ubuntu. You can get this image from this link.Ubuntu 18.04 - How to Install Ubuntu - Edureka

3. Install Ubuntu using Virtual Box

Now, you have installed Virtual Box and downloaded the ISO for Linux. You are now all set to install Linux in Virtual Box.

  • Start Virtual Box, and click on the New Symbol( it looks like a blue star). Give the virtual OS a relevant name, I’d reckon you give the name of the distro you’re going to install – Ubuntu.

New Machine - How to Install Ubuntu - Edureka

  • Allocate RAM to the virtual OS. My system has 8 GB of RAM and I decided to allocate 4 GB of RAM to it. You can use extra RAM if your system has more RAM.

    Memory Allocation - How to Install Ubuntu - Edureka

  • Create a virtual disk. This works like the hard disk of the virtual Linux system. This is where the virtual system will store its files. I, personally, would go for the VDI type file, here.VDI - How to Install Ubuntu - Edureka

  • You can choose either to Dynamically allocate or a Fixed size option for creating the virtual hard disk. The recommended size is 10 GB.

File location and Size - How to Install Ubuntu - Edureka

  • Once everything is in place, it’s time to boot that ISO and install Ubuntu as a virtual operating system. If Virtual Box doesn’t detect the Linux ISO, browse to its location by clicking the folder icon as shown in the picture.Ubuntu Virtual Disk - How to Install Ubuntu - Edureka

  • Soon you’ll find yourself inside Linux. You’ll end up with the option to install it. 

Boot - How to Install Ubuntu - Edureka

Things from here are Ubuntu specific. From here you can continue with Step 2

I hope you found this guide helpful. If not you can look for Edureka’s linux certification course which is live and instructor-led. If you need, you can change the boot order easily to make Ubuntu your default OS. But that’s a story for another day. For now, you can go ahead, experiment and enjoy this beautiful, beginner-friendly Linux distribution.

Upcoming Batches For Linux Administration Certification Training Course
Course NameDate
Linux Administration Certification Training Course

Class Starts on 18th February,2023

18th February

SAT&SUN (Weekend Batch)
View Details
Linux Administration Certification Training Course

Class Starts on 29th April,2023

29th April

SAT&SUN (Weekend Batch)
View Details
Comments
0 Comments

Join the discussion

Browse Categories

webinar REGISTER FOR FREE WEBINAR
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP

Subscribe to our Newsletter, and get personalized recommendations.

image not found!
image not found!

How to Install Ubuntu: The Complete Guide

edureka.co