How to install Ubuntu Linux Step by Step Explained

This tutorial explains how to install Ubuntu Linux step by step in detail with examples. Installing Ubuntu Linux involves several steps. Understanding these steps is the essential requirement to perform an error free Ubuntu Linux installation. Learn each installation step and its options in detail.


In this tutorial, we will learn Ubuntu installation process from the first screen which user interact just after the booting system with Ubuntu installation disk or image.

First screen is divided in two panes; left pane and right pane. Left pane allows us to localize the language. Right pane allows us to try Ubuntu without installation or install Ubuntu in hard disk.

To install Ubuntu in hard disk, click Install Ubuntu option

install ubuntu

In next screen, we have to select whether we want to use third-party software or not.

Several add-on features are available to enhance the existing functionality of Ubuntu. Some of them are essential and recommended. If system is connected with internet, Ubuntu can download and install them for us.

Select the “Install third-party software for graphics and Wi-Fi hardware, MP3 and other media” and click Continue button.

Although it’s not recommended, but if you do not want to use the third-party software, keep this box unchecked and click Continue button.

enable thrid party software

Now installation wizard will scan all attached hard disks for existing operating system and partitions layout. If wizard finds any, it will list them in next screen along with partition options.


Wizard offers two partition schemes: -

  1. Erase disk and install Ubuntu: - In this option everything is handled by wizard itself. Wizard will create all necessary partitions automatically. This option has two sub-options: -
    1. Encrypt the new Ubuntu installation for security: - If this option is checked, wizard will encrypt the installation data with security key. To use this feature, we must have to type the security key in next step.
    2. Use LVM with the new Ubuntu installation: - If this option is selected, LVM partition scheme will be used instead of standard partition scheme. To learn what is LVM and how LVM is used in Linux see this tutorial.
      How to configure LVM in Linux
  2. Something else: - In this option, we have to do everything manually.

To understand partition scheme in detail, let’s select the second option and click Continue button.

ubuntu installation type

Partition Meta data is stored in partition table. Before we create partitions, partition table must exist. If partition table does not exist, disk will display as a blank disk in next screen.

To create partition table, select the disk and click New Partition Table button

ubuntu installation new partition table

Click Continue to confirm the action

ubuntu installation confirm new partition table

Once partition table is created, we have to create necessary partitions.


Although we can complete Ubuntu installation with single / (root) partition, but it is highly recommended to create at least following partitions

/ Main and compulsory partition of Linux. If no other partition is specified, entire Linux will be installed under this partition.
/boot This partition is used to store booting files.
/home This partition is used to store user data.
swap This partition is used as the part of RAM. It does not contain any user specific data.

Let’s create all recommended partitions step by step starting from / partition.

  • Select the free space
  • Click + (Add) button
  • Specify the size of partition
  • Select file system type
  • Select mount point
  • Click OK to save the partition information

ubuntu installation create root parition

Repeat same steps to create the /boot partition

ubuntu installation create boot partition

Now create the /home partition

ubuntu installation create home parition

Finally create swap partition

ubuntu installation create swap partition

Swap area/space/partition is used as a temporary memory. Since it does not store any system or user specific data, it does not require any mount point. To learn more about swap space, check this tutorial

How to creae swap partition in Linux

It explains swap space basic concepts and management in Linux step by step with examples.

Whatever change we made in disk layout so far, will not written into the disk until we confirm the changes. Wizard keeps all change in memory and writes them in disk only after getting confirmation from user.

Click Install Now button

ubuntu final layout

Click Continue to confirm the action

ubuntu confirm partition layout

On next screen, select your time zone

ubuntu installation select timezone

At next screen select your keyboard layout

ubuntu installation select keyboard layout

Linux cannot be accessed without login. On next screen, we have to create an initial user account.

This initial account is required to access and manage the Ubuntu just after the installation.

Fill user information and click Continue

ubuntu installation create user account

Now wizard will copy all necessary files from installation disk to hard disk and install the Ubuntu with customized options. Depending on system resources, installation process may take 10 to 30 minutes.

ubuntu installation running

A system restart is required to apply the new installation.

Once installation is finished, wizard will display an information message to restart the computer.

Remove the installation media which was used in this installation process and click Restart Now button.

ubuntu installation finish restart message

After restart, use initial user account (the account which we created in installation process) to access the Ubuntu.

ubuntu login screen

Once logged in, Ubuntu is ready to ride.

ubuntu installed version number

That’s all for this tutorial.


ComputerNetworkingNotes Ubuntu Linux Tutorials How to install Ubuntu Linux Step by Step Explained