Categories: Linux

How To Install Linux Step-By-Step


How To Install Linux? By Video

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:

https://www.linuxmint.com/download.php

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:

https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

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 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 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:

https://www.virtualbox.org/wiki/Downloads

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.

Share
Published by
Mokhtar Ebrahim

Recent Posts

Selecting An Appropriate “App Stack” For Your Lab

Enabling Fullest Flourishment Of Study The purpose of a lab is to make discoveries which justify costs involved in running…

2 weeks ago

PyQt5 tutorial – Python GUI programming examples

In a previous tutorial, we talked about the Tkinter module and we saw how to build GUI apps using it.…

2 months ago

How to improve your website search ranking in seven easy ways

A website's performance on SERP is the primary reason why most website owners chase after SEO, especially because SEO is…

3 months ago

Docker Tutorial: Play with Containers (Simple Examples)

Docker has had a huge impact on software development life cycle, making the deployment of software at scale easy and…

4 months ago

Python GUI examples (Tkinter Tutorial)

In this tutorial, we will learn how to develop graphical user interfaces by writing some Python GUI examples using Tkinter…

10 months ago

NLP Tutorial Using Python NLTK (Simple Examples)

In this post, we will talk about natural language processing (NLP) using Python. This NLP tutorial will use Python NLTK…

1 year ago