Installing Linux

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Installing Linux can vary depending on the distribution you choose, but here’s a general guide

that covers the steps for most popular Linux distributions like Ubuntu, Fedora, or Linux Mint.

1. Prepare for Installation

 Backup Data: Make sure to back up any important data.


 Choose a Distribution: Decide which Linux distribution (distro) you want to install.
Common choices include Ubuntu, Fedora, and Linux Mint.
 USB Drive: You’ll need a USB drive (at least 4GB) to create a bootable installation
media.

2. Download the Linux ISO

 Visit the Official Website:


o Go to the official website of the Linux distribution you chose (e.g., Ubuntu,
Fedora, Linux Mint).
 Download the ISO:
o Download the ISO file for the latest version of the distribution.

3. Create a Bootable USB Drive

 Using Rufus (Windows):


o Download and open Rufus.
o Insert your USB drive.
o Select the Linux ISO file in Rufus.
o Choose "GPT" for UEFI or "MBR" for BIOS systems under "Partition scheme."
o Click "Start" to create the bootable USB.
 Using balenaEtcher (Windows/Mac/Linux):
o Download and open balenaEtcher.
o Select the Linux ISO file.
o Choose your USB drive.
o Click "Flash!" to create the bootable USB.

4. Boot from the USB Drive

 Insert the USB Drive: Plug the bootable USB into the computer where you want to
install Linux.
 Access BIOS/UEFI: Restart your PC and press the key (usually F2, F10, F12, or Delete)
to enter BIOS/UEFI settings.
 Set USB as Boot Device:
o In BIOS/UEFI, navigate to the boot menu.
o Set the USB drive as the first boot device.
 Save and Exit: Save the changes and exit BIOS/UEFI.

5. Install Linux
 Live Session: Your PC will boot into a live session of the Linux distribution, allowing
you to try it out before installing.
 Start Installation: Look for an “Install” icon on the desktop or in the menu, and click it
to start the installation process.
 Choose Language and Keyboard Layout: Select your preferred language and keyboard
layout.
 Connect to Wi-Fi (if not already connected): Follow the prompts to connect to your Wi-
Fi network.
 Installation Type:
o Install alongside Windows (dual-boot): If you want to keep Windows and Linux
on the same computer, choose this option.
o Erase Disk and Install Linux: This will delete everything on the disk and install
Linux.
o Something Else: Advanced users can manually partition the disk.
 Partitioning:
o If choosing "Something Else," you will need to create partitions:
 Root (/): At least 20GB, ext4 format.
 Swap: Equal to your RAM size (e.g., 4GB, 8GB).
 Home (/home): Rest of the space for personal files.
 Install: After selecting your installation method, click "Install Now."
 Time Zone: Choose your time zone.
 Create User Account: Enter your name, computer name, username, and password.

6. Complete Installation

 Wait for Installation: The installation process will take some time, depending on your
system.
 Restart: Once the installation is complete, you’ll be prompted to restart your computer.
Remove the USB drive when prompted.
 First Boot: After restarting, your system should boot into your new Linux installation.

7. Post-Installation Setup

 Update System: Open the terminal and run the following command to update your
system:

bash

You might also like