Categories: Linux

How to install Linux step-by-step

How to install Linux?

After you’ve chosen the Best Linux Distro, now it’s the time to know how to install Linux.

If you want to install Linux, there are 2 ways to do that:

The first way is to download the Linux distribution you want and burn it into a DVD or USB stick and boot your machine with it and complete the installation process.

The second way is to install it virtually on a virtual machine like VirtualBox or VMware without touching your Windows or Mac system, so your Linux system will be contained in a window you can minimize and continue working on your real system.

For me, I prefer VirtualBox, it’s free and runs very fast on my PC than VMware, and support installing Windows, Linux and Mac OS with all versions.

Let’s choose any Linux distro and install it using both 2 ways.

I’m going to choose Linux mint, they call it the Mac OS of Linux. It is a good distro for personal use.

The version we are going to install is 18.1 “Serena” at the time of writing that article.

Go to this link and download it:

I prefer the Cinnamon desktop version it is promising and elegant.

Once you download the ISO file, you will have to burn it on DVD or the easy way, copying it on a USB stick using a program called universal USB installer, you can download this program from this link:

After downloading the program, open it and choose from the list the distro you want to install, in our case we will choose Linux mint.

Make sure that you put your memory stick on the computer and click next and wait till the copying process is finished.

how to install Linux using USB

Now Finally we click create to create bootable USB

And now you can boot with this memory stick.

Then Restart your PC and go to BIOS settings and select boot options and make sure that the USB is the first option, then save your BIOS settings and reboot.

Then it will show the installation screen, press Enter and it will load the live CD content.

Now the desktop should appear like that:

Click install Linux Mint

Then choose the language used for installation.

Then choose the installation type, and TAKE CARE if you are installing Linux on a disk that contains other operating systems, you MUST choose the option called something else.

If you are installing it on a new disk, choose the option Erase disk.

Linux requires 2 partitions to work, the root partition and the swap partition.

Now we will create them by clicking the plus button and choose about 12 GB or more as you need but not less than that for the root partition, and choose mount type as / which stands for root and of course format will be Ext4.

Now we create a swap partition, choose the remaining free space and click the plus button and choose the swap area as shown:

Then Create the swap area:

Then click install now and agree about writing changes to disk:

Now you choose the time zone and click continue the choose the language:

Now you write your username and password and click continue:

Finally, installation started:

After finishing the installation, it will prompt you to reboot the machine and remove the installation media whether it is a DVD or USB.

And yes, this is how to install Linux on Physical machine.

The second way it to install Linux is to install it on VirtualBox First download VirtualBox from here:

There are 2 ways to use Linux on VirtualBox:

The first way is easy, it like the normal installation process

Open VirtualBox and click new and choose Linux and Ubuntu 64:

Then choose the RAM required not less than 1 GB and choose the disk file type or leave it as VDI and dynamically allocated and the size not less than 12 GB and hit ok.

Then file location for disk to be used

So now the VirtualBox is created, we just need to make it boot from the DVD that we’ve downloaded.

Choose from settings > Storage and choose the ISO image and click OK.

Then choose the iso image
Then Click start

After loading the desktop, click install Linux mint and the rest of the steps are the same as the above mentioned without any change, And this is how to install Linux on a virtual machine.

Mokhtar Ebrahim

I'm working as a Linux system administrator since 2010. I'm responsible for maintaining, securing, and troubleshooting Linux servers for multiple clients around the world. I love writing shell and Python scripts to automate my work.

Published by
Mokhtar Ebrahim

Recent Posts

Website Maintenance Cost: How Much Should You Budget?

Website maintenance costs vary for different websites. If you operate a simple blog, you can expect to pay way less…

3 weeks ago

Free Data Recovery Software That’s Worth a Try

In this post, we will check one of the best free data recovery software. As a software company EaseUS, I…

1 month ago

Seaborn heatmap tutorial (Python Data Visualization)

In this tutorial, we will represent data in a heatmap form using a Python library called seaborn. This library is…

3 months ago

How To Treat Your Child’s Video Game Addiction

Not so long ago, playing video games was a fun and exciting way to spend the evening. Kids were so…

3 months ago

Python Image Processing Tutorial (Using OpenCV)

In this tutorial, you will learn how you can process images in Python using the OpenCV library. OpenCV is a…

3 months ago

How to Save Money On Tech Purchases

Whether you need a new smartphone, computer, tablet, or any other tech device—chances are whatever it is, it’s going to…

4 months ago