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

Downloading Files using Python (Simple Examples)

In this tutorial, you will learn how to download files from the web using different Python modules. You will download…

5 days ago

Possible Security Risks When Creating a New Web page

The number of websites on the web is increasing as we speak as anybody can create a simple website. Thanks…

5 days ago

Create your first Python web crawler using Scrapy

In this tutorial, the focus will be on one of the best frameworks for web crawling called Scrapy. You will…

2 weeks ago

Python NumPy array tutorial

NumPy is a Python Library/ module which is used for scientific calculations in Python programming. In this tutorial, you will…

2 weeks ago

Simple Do’s and Don’ts When Creating an App Trailer

Creating an app trailer is essential both to acquire more exposure and increase the number of downloads. You can use…

2 weeks ago

Through Cisco CCNP certification to excellent career of network engineer

The value of IT certifications has always been high, as these credentials testify that you are competent and skillful enough…

2 weeks ago